Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ChaoticCircuits_ChaoticCircuits.Test.TestInductorReplacement.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00175/0.00175, allocations: 109.5 kB / 18.95 MB, free: 1.18 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002131/0.002131, allocations: 213.6 kB / 22.25 MB, free: 3.582 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.814/1.814, allocations: 230.6 MB / 256 MB, free: 9.594 MB / 202.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ChaoticCircuits 2.4.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ChaoticCircuits 2.4.0/package.mo): time 0.0508/0.0508, allocations: 9.556 MB / 322 MB, free: 8.473 MB / 250.7 MB " [Timeout remaining time 180] Using package ChaoticCircuits with version 2.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ChaoticCircuits 2.4.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ChaoticCircuits.Test.TestInductorReplacement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="ChaoticCircuits_ChaoticCircuits.Test.TestInductorReplacement") translateModel(ChaoticCircuits.Test.TestInductorReplacement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="ChaoticCircuits_ChaoticCircuits.Test.TestInductorReplacement") [Timeout 660] "Notification: ChaoticCircuits requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003856/0.003856, allocations: 67.91 kB / 449.1 MB, free: 37.22 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1174/0.1213, allocations: 55.79 MB / 0.4931 GB, free: 13.33 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.Test.TestInductorReplacement): time 0.008427/0.1297, allocations: 5.406 MB / 0.4983 GB, free: 7.898 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.004628/0.1344, allocations: 1.831 MB / 0.5001 GB, free: 6.062 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009222/0.1353, allocations: 35.75 kB / 0.5002 GB, free: 6.027 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005771/0.1359, allocations: 185.9 kB / 0.5003 GB, free: 5.844 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001037/0.1369, allocations: 341 kB / 0.5007 GB, free: 5.508 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001263/0.1382, allocations: 0.5383 MB / 0.5012 GB, free: 4.969 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0022/0.1404, allocations: 1.585 MB / 0.5027 GB, free: 3.371 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007838/0.1411, allocations: 403.2 kB / 0.5031 GB, free: 2.953 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001115/0.1422, allocations: 0.5993 MB / 0.5037 GB, free: 2.352 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001114/0.1434, allocations: 0.579 MB / 0.5043 GB, free: 1.77 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000329/0.1437, allocations: 164 kB / 0.5044 GB, free: 1.609 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004265/0.1441, allocations: 168 kB / 0.5046 GB, free: 1.445 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000478/0.1446, allocations: 346.8 kB / 0.5049 GB, free: 1.105 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008744/0.1455, allocations: 0.5675 MB / 0.5055 GB, free: 0.5352 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002963/0.1484, allocations: 1.739 MB / 0.5072 GB, free: 14.79 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.1484, allocations: 0 / 0.5072 GB, free: 14.79 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.274e-06/0.1484, allocations: 4 kB / 0.5072 GB, free: 14.79 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.14e-05/0.1485, allocations: 4 kB / 0.5072 GB, free: 14.78 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 262 * Number of variables: 262 Notification: Performance of Generate backend data structure: time 0.005626/0.1541, allocations: 2.375 MB / 0.5095 GB, free: 12.34 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.941e-05/0.1541, allocations: 11.97 kB / 0.5095 GB, free: 12.32 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001476/0.1556, allocations: 243.9 kB / 0.5097 GB, free: 12.09 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002381/0.158, allocations: 0.8148 MB / 0.5105 GB, free: 11.24 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001163/0.1581, allocations: 86.19 kB / 0.5106 GB, free: 11.16 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00027/0.1584, allocations: 119.9 kB / 0.5107 GB, free: 11.04 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003291/0.1617, allocations: 1.308 MB / 0.512 GB, free: 9.625 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.335e-05/0.1617, allocations: 0 / 0.512 GB, free: 9.625 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001563/0.1619, allocations: 48 kB / 0.5121 GB, free: 9.578 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.771e-05/0.1619, allocations: 24 kB / 0.5121 GB, free: 9.555 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002545/0.1645, allocations: 0.7772 MB / 0.5128 GB, free: 8.77 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00866/0.1731, allocations: 2.89 MB / 0.5157 GB, free: 5.773 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002002/0.1751, allocations: 0.6537 MB / 0.5163 GB, free: 5.105 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00128/0.1764, allocations: 385.9 kB / 0.5167 GB, free: 4.73 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.17e-05/0.1765, allocations: 16.59 kB / 0.5167 GB, free: 4.715 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001761/0.1782, allocations: 0.7227 MB / 0.5174 GB, free: 3.93 MB / 378.7 MB Notification: Performance of pre-optimization done (n=87): time 4.298e-06/0.1782, allocations: 0 / 0.5174 GB, free: 3.93 MB / 378.7 MB Notification: Performance of matching and sorting (n=87): time 0.004427/0.1827, allocations: 1.213 MB / 0.5186 GB, free: 2.699 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002932/0.183, allocations: 303.7 kB / 0.5189 GB, free: 2.336 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001583/0.1845, allocations: 0.7431 MB / 0.5196 GB, free: 1.586 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001235/0.1847, allocations: 49.7 kB / 0.5196 GB, free: 1.531 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007616/0.1854, allocations: 0.5553 MB / 0.5202 GB, free: 0.9688 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005329/0.186, allocations: 293.5 kB / 0.5205 GB, free: 0.6797 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004615/0.1864, allocations: 198.9 kB / 0.5206 GB, free: 492 kB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002625/0.1867, allocations: 345.9 kB / 0.521 GB, free: 140 kB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001034/0.1877, allocations: 310.5 kB / 0.5213 GB, free: 15.83 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001695/0.1894, allocations: 0.8929 MB / 0.5221 GB, free: 14.73 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002458/0.1919, allocations: 0.9496 MB / 0.5231 GB, free: 13.66 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.257e-05/0.1919, allocations: 8 kB / 0.5231 GB, free: 13.65 MB / 394.7 MB Notification: Performance of matching and sorting (n=133) (initialization): time 0.004424/0.1963, allocations: 1.279 MB / 0.5243 GB, free: 12.36 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.343e-05/0.1963, allocations: 14.19 kB / 0.5243 GB, free: 12.34 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.259e-05/0.1964, allocations: 8 kB / 0.5244 GB, free: 12.34 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00172/0.1981, allocations: 286.9 kB / 0.5246 GB, free: 12.05 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001141/0.1992, allocations: 203.6 kB / 0.5248 GB, free: 11.85 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01104/0.2103, allocations: 4.353 MB / 0.5291 GB, free: 7.289 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001297/0.2116, allocations: 143.5 kB / 0.5292 GB, free: 7.148 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000113/0.2117, allocations: 48 kB / 0.5293 GB, free: 7.102 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 28 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,harmonic_i2.mean2.y_last,$PRE.harmonic_i2.mean2.y_last,harmonic_i2.mean1.y_last,$PRE.harmonic_i2.mean1.y_last,harmonic_v2.mean2.y_last,$PRE.harmonic_v2.mean2.y_last,harmonic_v2.mean1.y_last,$PRE.harmonic_v2.mean1.y_last,harmonic_i1.mean2.y_last,$PRE.harmonic_i1.mean2.y_last,harmonic_i1.mean1.y_last,$PRE.harmonic_i1.mean1.y_last,harmonic_v1.mean2.y_last,$PRE.harmonic_v1.mean2.y_last,harmonic_v1.mean1.y_last,$PRE.harmonic_v1.mean1.y_last,improvedAntoniou.opAmp2.limiter.satNeg,improvedAntoniou.opAmp2.limiter.satPos,improvedAntoniou.opAmp1.limiter.satNeg,improvedAntoniou.opAmp1.limiter.satPos) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (118): * Single equations (assignments): 116 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,13)} Notification: Performance of prepare postOptimizeDAE: time 0.0007687/0.2125, allocations: 309.4 kB / 0.5295 GB, free: 6.789 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002349/0.2127, allocations: 107.3 kB / 0.5297 GB, free: 6.684 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002843/0.2155, allocations: 0.9243 MB / 0.5306 GB, free: 5.742 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.61e-05/0.2155, allocations: 8 kB / 0.5306 GB, free: 5.734 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.2156, allocations: 0 / 0.5306 GB, free: 5.734 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.329e-05/0.2156, allocations: 7.922 kB / 0.5306 GB, free: 5.727 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00479/0.2204, allocations: 1.765 MB / 0.5323 GB, free: 3.91 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.83e-06/0.2204, allocations: 0 / 0.5323 GB, free: 3.91 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007609/0.2211, allocations: 143.8 kB / 0.5324 GB, free: 3.77 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003309/0.2215, allocations: 94.59 kB / 0.5325 GB, free: 3.668 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.377e-05/0.2215, allocations: 23.97 kB / 0.5325 GB, free: 3.645 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00457/0.2261, allocations: 4.351 MB / 0.5368 GB, free: 14.98 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/0.2261, allocations: 4.031 kB / 0.5368 GB, free: 14.98 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002891/0.229, allocations: 1.394 MB / 0.5382 GB, free: 13.55 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002432/0.2292, allocations: 107.2 kB / 0.5383 GB, free: 13.45 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001298/0.2294, allocations: 23.94 kB / 0.5383 GB, free: 13.43 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005929/0.2299, allocations: 75.92 kB / 0.5384 GB, free: 13.35 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001921/0.2301, allocations: 72.88 kB / 0.5384 GB, free: 13.28 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.247e-05/0.2302, allocations: 32.09 kB / 0.5385 GB, free: 13.25 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0007917/0.231, allocations: 0.5029 MB / 0.5389 GB, free: 12.75 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.231, allocations: 3.938 kB / 0.539 GB, free: 12.75 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00118/0.2322, allocations: 315.3 kB / 0.5393 GB, free: 12.44 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 12 (analyticAntoniou.vc,harmonic_v1.mean1.x,harmonic_v1.mean2.x,harmonic_i1.mean1.x,harmonic_i1.mean2.x,improvedAntoniou.opAmp1.firstOrder.y,improvedAntoniou.opAmp2.firstOrder.y,improvedAntoniou.c.v,harmonic_v2.mean1.x,harmonic_v2.mean2.x,harmonic_i2.mean1.x,harmonic_i2.mean2.x) * Number of discrete variables: 20 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,harmonic_v1.mean1.y_last,harmonic_v1.mean2.y_last,harmonic_i1.mean1.y_last,harmonic_i1.mean2.y_last,improvedAntoniou.opAmp1.limiter.satPos,improvedAntoniou.opAmp1.limiter.satNeg,improvedAntoniou.opAmp2.limiter.satPos,improvedAntoniou.opAmp2.limiter.satNeg,harmonic_v2.mean1.y_last,harmonic_v2.mean2.y_last,harmonic_i2.mean1.y_last,harmonic_i2.mean2.y_last) * Number of discrete states: 8 (harmonic_v1.mean1.x,harmonic_v1.mean2.x,harmonic_i1.mean1.x,harmonic_i1.mean2.x,harmonic_v2.mean1.x,harmonic_v2.mean2.x,harmonic_i2.mean1.x,harmonic_i2.mean2.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (78): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,5,100.0%), (1,3,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000232/0.2324, allocations: 140.8 kB / 0.5394 GB, free: 12.29 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002435/0.2348, allocations: 1.086 MB / 0.5404 GB, free: 11.18 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.886e-06/0.2348, allocations: 4 kB / 0.5404 GB, free: 11.18 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001386/0.2362, allocations: 0.7258 MB / 0.5412 GB, free: 10.41 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008887/0.2371, allocations: 164.6 kB / 0.5413 GB, free: 10.25 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004126/0.2412, allocations: 2.155 MB / 0.5434 GB, free: 8.051 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006487/0.2419, allocations: 0.4956 MB / 0.5439 GB, free: 7.523 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005584/0.2425, allocations: 139 kB / 0.544 GB, free: 7.383 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002217/0.2427, allocations: 75.41 kB / 0.5441 GB, free: 7.309 MB / 410.7 MB Notification: Performance of SimCode: time 1.352e-06/0.2427, allocations: 0 / 0.5441 GB, free: 7.309 MB / 410.7 MB Notification: Performance of Templates: time 0.2728/0.5155, allocations: 13.35 MB / 0.5571 GB, free: 54.19 MB / 410.7 MB " [Timeout remaining time 659] make -j1 -f ChaoticCircuits_ChaoticCircuits.Test.TestInductorReplacement.makefile [Timeout 660] (rm -f ChaoticCircuits_ChaoticCircuits.Test.TestInductorReplacement.pipe ; mkfifo ChaoticCircuits_ChaoticCircuits.Test.TestInductorReplacement.pipe ; head -c 1048576 < ChaoticCircuits_ChaoticCircuits.Test.TestInductorReplacement.pipe >> ../files/ChaoticCircuits_ChaoticCircuits.Test.TestInductorReplacement.sim & ./ChaoticCircuits_ChaoticCircuits.Test.TestInductorReplacement -abortSlowSimulation -alarm=240 -lv LOG_STATS > ChaoticCircuits_ChaoticCircuits.Test.TestInductorReplacement.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.288560086861253]