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.000926/0.000926, allocations: 80.75 kB / 19.94 MB, free: 4.547 MB / 18.57 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.000971/0.000971, allocations: 181 kB / 23.36 MB, free: 1.133 MB / 18.57 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.162/1.162, allocations: 177.1 MB / 203.8 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] 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.02732/0.02732, allocations: 7.119 MB / 267.4 MB, free: 5.938 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: Performance of FrontEnd - loaded program: time 1.402e-06/1.402e-06, allocations: 0 / 286.3 MB, free: 2.992 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.422e-05/1.562e-05, allocations: 2.312 kB / 286.3 MB, free: 2.988 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.Test.TestInductorReplacement): time 0.1283/0.1284, allocations: 5.815 MB / 292.1 MB, free: 18.36 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004088/0.1324, allocations: 1.921 MB / 294 MB, free: 17.45 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005549/0.133, allocations: 35.62 kB / 294.1 MB, free: 17.44 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003986/0.1334, allocations: 190.8 kB / 294.3 MB, free: 17.31 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008024/0.1342, allocations: 361.4 kB / 294.6 MB, free: 17.04 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001142/0.1353, allocations: 0.5418 MB / 295.2 MB, free: 16.7 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001729/0.1371, allocations: 1.632 MB / 296.8 MB, free: 15.83 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000688/0.1378, allocations: 415 kB / 297.2 MB, free: 15.57 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001429/0.1392, allocations: 0.9118 MB / 298.1 MB, free: 15.12 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009672/0.1401, allocations: 0.4928 MB / 298.6 MB, free: 14.94 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003124/0.1405, allocations: 159.7 kB / 298.8 MB, free: 14.94 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003095/0.1408, allocations: 171.9 kB / 298.9 MB, free: 14.93 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00024/0.141, allocations: 348.4 kB / 299.3 MB, free: 14.69 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000574/0.1416, allocations: 487.1 kB / 299.7 MB, free: 14.44 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001231/0.1428, allocations: 1.06 MB / 300.8 MB, free: 13.85 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.1428, allocations: 2.734 kB / 300.8 MB, free: 13.85 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.71e-07/0.1428, allocations: 0 / 300.8 MB, free: 13.85 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.011e-05/0.1429, allocations: 0 / 300.8 MB, free: 13.85 MB / 266.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.002172/0.145, allocations: 1.57 MB / 302.4 MB, free: 12.86 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.4e-05/0.1451, allocations: 8.719 kB / 302.4 MB, free: 12.86 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008286/0.1459, allocations: 275.8 kB / 302.7 MB, free: 12.82 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00088/0.1468, allocations: 0.5795 MB / 303.2 MB, free: 12.46 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.848e-05/0.1468, allocations: 84.53 kB / 303.3 MB, free: 12.42 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001496/0.147, allocations: 123.1 kB / 303.4 MB, free: 12.38 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001039/0.148, allocations: 0.9783 MB / 304.4 MB, free: 11.61 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.984e-05/0.1481, allocations: 5.312 kB / 304.4 MB, free: 11.6 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.624e-05/0.1481, allocations: 46.94 kB / 304.5 MB, free: 11.57 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.587e-05/0.1481, allocations: 24.75 kB / 304.5 MB, free: 11.57 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005225/0.1487, allocations: 245.4 kB / 304.7 MB, free: 11.5 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003515/0.1522, allocations: 2.175 MB / 306.9 MB, free: 10.07 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000531/0.1527, allocations: 393 kB / 307.3 MB, free: 9.902 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002859/0.153, allocations: 200.4 kB / 307.5 MB, free: 9.836 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.546e-05/0.153, allocations: 18.06 kB / 307.5 MB, free: 9.832 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004227/0.1535, allocations: 0.5356 MB / 308 MB, free: 9.375 MB / 266.7 MB Notification: Performance of pre-optimization done (n=87): time 2.524e-06/0.1535, allocations: 4 kB / 308 MB, free: 9.371 MB / 266.7 MB Notification: Performance of matching and sorting (n=87): time 0.0009525/0.1544, allocations: 0.5844 MB / 308.6 MB, free: 8.863 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.731e-05/0.1545, allocations: 303.7 kB / 308.9 MB, free: 8.5 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004008/0.1549, allocations: 0.6325 MB / 309.6 MB, free: 7.859 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.715e-05/0.1549, allocations: 49.7 kB / 309.6 MB, free: 7.805 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001698/0.1551, allocations: 462.5 kB / 310.1 MB, free: 7.344 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000138/0.1552, allocations: 293.4 kB / 310.3 MB, free: 7.055 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001847/0.1554, allocations: 198.8 kB / 310.5 MB, free: 6.855 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.689e-05/0.1554, allocations: 349.8 kB / 310.9 MB, free: 6.508 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001377/0.1556, allocations: 94.56 kB / 311 MB, free: 6.414 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002816/0.1559, allocations: 0.6822 MB / 311.7 MB, free: 5.523 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000506/0.1564, allocations: 0.6035 MB / 312.3 MB, free: 4.793 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.682e-06/0.1564, allocations: 4 kB / 312.3 MB, free: 4.789 MB / 266.7 MB Notification: Performance of matching and sorting (n=133) (initialization): time 0.0009559/0.1573, allocations: 0.7004 MB / 313 MB, free: 4.078 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.1574, allocations: 12 kB / 313 MB, free: 4.066 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.105e-05/0.1574, allocations: 12.56 kB / 313 MB, free: 4.055 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006984/0.1581, allocations: 283.8 kB / 313.3 MB, free: 3.773 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004139/0.1585, allocations: 239.7 kB / 313.5 MB, free: 3.543 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001916/0.1604, allocations: 3.278 MB / 316.8 MB, free: 104 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003274/0.1607, allocations: 123.3 kB / 316.9 MB, free: 15.98 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.24e-05/0.1608, allocations: 43.56 kB / 316.9 MB, free: 15.94 MB / 282.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.0001988/0.161, allocations: 200.3 kB / 317.1 MB, free: 15.73 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.934e-05/0.1611, allocations: 91.84 kB / 317.2 MB, free: 15.64 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005251/0.1616, allocations: 472.7 kB / 317.7 MB, free: 15.16 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/0.1616, allocations: 10.3 kB / 317.7 MB, free: 15.15 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.868e-06/0.1616, allocations: 8 kB / 317.7 MB, free: 15.14 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.285e-06/0.1616, allocations: 7.969 kB / 317.7 MB, free: 15.13 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001183/0.1628, allocations: 0.9819 MB / 318.7 MB, free: 14.11 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/0.1628, allocations: 4 kB / 318.7 MB, free: 14.11 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003781/0.1632, allocations: 155.1 kB / 318.8 MB, free: 13.96 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001891/0.1633, allocations: 94.44 kB / 318.9 MB, free: 13.86 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.945e-05/0.1634, allocations: 19.98 kB / 319 MB, free: 13.84 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001809/0.1652, allocations: 3.955 MB / 322.9 MB, free: 9.637 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.1652, allocations: 4 kB / 322.9 MB, free: 9.633 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007266/0.1659, allocations: 0.6767 MB / 323.6 MB, free: 8.926 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.174e-05/0.166, allocations: 103.1 kB / 323.7 MB, free: 8.824 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.167e-05/0.1661, allocations: 24 kB / 323.7 MB, free: 8.801 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002375/0.1663, allocations: 59.98 kB / 323.8 MB, free: 8.742 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001107/0.1664, allocations: 76.86 kB / 323.9 MB, free: 8.668 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.018e-05/0.1665, allocations: 19.98 kB / 323.9 MB, free: 8.648 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002194/0.1667, allocations: 308.5 kB / 324.2 MB, free: 8.352 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1667, allocations: 0 / 324.2 MB, free: 8.352 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0006012/0.1673, allocations: 315.3 kB / 324.5 MB, free: 8.043 MB / 282.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.000133/0.1674, allocations: 137.6 kB / 324.6 MB, free: 7.906 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0007867/0.1682, allocations: 0.7398 MB / 325.4 MB, free: 7.141 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.36e-05/0.1682, allocations: 17.5 kB / 325.4 MB, free: 7.125 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004157/0.1686, allocations: 0.5746 MB / 325.9 MB, free: 6.508 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004437/0.1691, allocations: 166.3 kB / 326.1 MB, free: 6.352 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002196/0.1713, allocations: 1.9 MB / 328 MB, free: 4.414 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001519/0.1714, allocations: 217.4 kB / 328.2 MB, free: 4.18 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002578/0.1717, allocations: 115.3 kB / 328.3 MB, free: 4.066 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003468/0.172, allocations: 241.2 kB / 328.6 MB, free: 3.828 MB / 282.7 MB Notification: Performance of SimCode: time 1.112e-06/0.172, allocations: 0 / 328.6 MB, free: 3.828 MB / 282.7 MB Notification: Performance of Templates: time 0.017/0.189, allocations: 13.01 MB / 341.6 MB, free: 7.098 MB / 298.7 MB " [Timeout remaining time 660] 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > ChaoticCircuits_ChaoticCircuits.Test.TestInductorReplacement.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.2631333279423416]