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.0009516/0.0009516, allocations: 80.88 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.0009566/0.0009566, 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.014/1.014, allocations: 177.2 MB / 203.8 MB, free: 5.484 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.02634/0.02634, allocations: 7.121 MB / 267.4 MB, free: 5.949 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.252e-06/1.252e-06, allocations: 0 / 286.3 MB, free: 3.047 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.511e-05/1.636e-05, allocations: 2.312 kB / 286.3 MB, free: 3.043 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.Test.TestInductorReplacement): time 0.1191/0.1191, allocations: 5.765 MB / 292 MB, free: 17.88 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003367/0.1225, allocations: 1.924 MB / 294 MB, free: 17.21 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004362/0.1229, allocations: 35.53 kB / 294 MB, free: 17.19 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000327/0.1233, allocations: 186.5 kB / 294.2 MB, free: 17.07 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006338/0.1239, allocations: 363.7 kB / 294.5 MB, free: 16.84 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000881/0.1248, allocations: 0.5474 MB / 295.1 MB, free: 16.58 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001256/0.126, allocations: 1.627 MB / 296.7 MB, free: 15.71 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005099/0.1265, allocations: 422.7 kB / 297.1 MB, free: 15.45 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009503/0.1275, allocations: 0.9016 MB / 298 MB, free: 15.01 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005671/0.1281, allocations: 0.4902 MB / 298.5 MB, free: 14.82 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001918/0.1282, allocations: 158.8 kB / 298.7 MB, free: 14.82 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002182/0.1285, allocations: 174.1 kB / 298.8 MB, free: 14.82 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001862/0.1287, allocations: 356.7 kB / 299.2 MB, free: 14.57 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000393/0.129, allocations: 478.8 kB / 299.7 MB, free: 14.33 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009201/0.13, allocations: 1.064 MB / 300.7 MB, free: 13.73 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.13, allocations: 0.6562 kB / 300.7 MB, free: 13.73 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.13, allocations: 1.125 kB / 300.7 MB, free: 13.73 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.539e-05/0.13, allocations: 0 / 300.7 MB, free: 13.73 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.001704/0.1317, allocations: 1.575 MB / 302.3 MB, free: 12.73 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.992e-05/0.1317, allocations: 9.156 kB / 302.3 MB, free: 12.73 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005636/0.1323, allocations: 269.8 kB / 302.6 MB, free: 12.7 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006341/0.1329, allocations: 0.5831 MB / 303.2 MB, free: 12.34 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.552e-05/0.133, allocations: 82.56 kB / 303.2 MB, free: 12.3 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001117/0.1331, allocations: 128.2 kB / 303.4 MB, free: 12.26 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007034/0.1338, allocations: 0.9788 MB / 304.3 MB, free: 11.51 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.387e-05/0.1338, allocations: 1.375 kB / 304.3 MB, free: 11.51 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.016e-05/0.1339, allocations: 41.62 kB / 304.4 MB, free: 11.48 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.726e-05/0.1339, allocations: 28.62 kB / 304.4 MB, free: 11.48 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003484/0.1342, allocations: 246.8 kB / 304.6 MB, free: 11.41 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002543/0.1368, allocations: 2.174 MB / 306.8 MB, free: 9.984 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004213/0.1372, allocations: 396.4 kB / 307.2 MB, free: 9.816 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002231/0.1374, allocations: 201.9 kB / 307.4 MB, free: 9.75 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.346e-05/0.1374, allocations: 19.69 kB / 307.4 MB, free: 9.746 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003092/0.1378, allocations: 0.5344 MB / 308 MB, free: 9.289 MB / 266.7 MB Notification: Performance of pre-optimization done (n=87): time 1.924e-06/0.1378, allocations: 0 / 308 MB, free: 9.289 MB / 266.7 MB Notification: Performance of matching and sorting (n=87): time 0.0007455/0.1385, allocations: 0.5913 MB / 308.5 MB, free: 8.844 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.676e-05/0.1386, allocations: 307.7 kB / 308.8 MB, free: 8.477 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00029/0.1388, allocations: 0.6286 MB / 309.5 MB, free: 7.84 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.11e-05/0.1389, allocations: 49.7 kB / 309.5 MB, free: 7.785 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001273/0.139, allocations: 458.5 kB / 310 MB, free: 7.328 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.416e-05/0.1391, allocations: 297.4 kB / 310.3 MB, free: 7.035 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001272/0.1392, allocations: 198.8 kB / 310.5 MB, free: 6.836 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.522e-05/0.1393, allocations: 345.9 kB / 310.8 MB, free: 6.492 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001009/0.1394, allocations: 98.56 kB / 310.9 MB, free: 6.395 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002001/0.1396, allocations: 0.6745 MB / 311.6 MB, free: 5.512 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003476/0.1399, allocations: 0.612 MB / 312.2 MB, free: 4.773 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.1399, allocations: 4 kB / 312.2 MB, free: 4.77 MB / 266.7 MB Notification: Performance of matching and sorting (n=133) (initialization): time 0.0006917/0.1406, allocations: 0.7005 MB / 312.9 MB, free: 4.059 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.1406, allocations: 8 kB / 312.9 MB, free: 4.051 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.1406, allocations: 8 kB / 312.9 MB, free: 4.043 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006234/0.1413, allocations: 293.8 kB / 313.2 MB, free: 3.75 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003316/0.1416, allocations: 207.6 kB / 313.4 MB, free: 3.547 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001811/0.1434, allocations: 3.258 MB / 316.6 MB, free: 124 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003169/0.1437, allocations: 131.2 kB / 316.8 MB, free: 15.99 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.083e-05/0.1438, allocations: 40 kB / 316.8 MB, free: 15.95 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.0002005/0.144, allocations: 200.2 kB / 317 MB, free: 15.75 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.093e-05/0.144, allocations: 91.91 kB / 317.1 MB, free: 15.66 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005042/0.1446, allocations: 480.6 kB / 317.6 MB, free: 15.16 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.071e-06/0.1446, allocations: 8 kB / 317.6 MB, free: 15.16 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.1446, allocations: 3.938 kB / 317.6 MB, free: 15.15 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/0.1446, allocations: 3.984 kB / 317.6 MB, free: 15.15 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001113/0.1457, allocations: 0.9821 MB / 318.6 MB, free: 14.13 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.1457, allocations: 4.062 kB / 318.6 MB, free: 14.12 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002984/0.146, allocations: 123.8 kB / 318.7 MB, free: 14 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001786/0.1462, allocations: 110.4 kB / 318.8 MB, free: 13.89 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.472e-05/0.1462, allocations: 23.98 kB / 318.8 MB, free: 13.86 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001641/0.1478, allocations: 3.937 MB / 322.8 MB, free: 9.672 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.051e-06/0.1478, allocations: 0 / 322.8 MB, free: 9.672 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007025/0.1485, allocations: 0.6883 MB / 323.4 MB, free: 8.953 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.808e-05/0.1486, allocations: 99.22 kB / 323.5 MB, free: 8.855 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.465e-05/0.1487, allocations: 27.98 kB / 323.6 MB, free: 8.828 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002373/0.1489, allocations: 51.95 kB / 323.6 MB, free: 8.777 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001097/0.1491, allocations: 76.81 kB / 323.7 MB, free: 8.703 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.103e-05/0.1491, allocations: 28.09 kB / 323.7 MB, free: 8.676 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002222/0.1493, allocations: 308.5 kB / 324 MB, free: 8.379 MB / 282.7 MB Notification: Performance of sort global known variables: time 2e-08/0.1493, allocations: 4 kB / 324 MB, free: 8.375 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005708/0.1499, allocations: 315.3 kB / 324.3 MB, free: 8.066 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.0001311/0.15, allocations: 122.7 kB / 324.5 MB, free: 7.938 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0007006/0.1507, allocations: 0.7451 MB / 325.2 MB, free: 7.168 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.464e-05/0.1507, allocations: 16 kB / 325.2 MB, free: 7.152 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004278/0.1511, allocations: 0.5629 MB / 325.8 MB, free: 6.547 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004557/0.1516, allocations: 165.8 kB / 325.9 MB, free: 6.395 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002183/0.1538, allocations: 1.919 MB / 327.9 MB, free: 4.434 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001558/0.1539, allocations: 213.4 kB / 328.1 MB, free: 4.203 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002543/0.1542, allocations: 119 kB / 328.2 MB, free: 4.082 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003216/0.1545, allocations: 241.2 kB / 328.4 MB, free: 3.844 MB / 282.7 MB Notification: Performance of SimCode: time 6.42e-07/0.1545, allocations: 0 / 328.4 MB, free: 3.844 MB / 282.7 MB Notification: Performance of Templates: time 0.01599/0.1705, allocations: 12.87 MB / 341.3 MB, free: 7.254 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 -lv LOG_STATS > ChaoticCircuits_ChaoticCircuits.Test.TestInductorReplacement.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.1166739617474377]