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.0009935/0.0009935, allocations: 80.81 kB / 20.8 MB, free: 3.656 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.001151/0.001151, allocations: 165 kB / 24.22 MB, free: 240 kB / 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 0.9887/0.9887, allocations: 177.1 MB / 204.7 MB, free: 5.434 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.02569/0.02569, allocations: 7.119 MB / 268.3 MB, free: 5.883 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 2.344e-06/2.344e-06, allocations: 4 kB / 287.3 MB, free: 2.879 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.568e-06/1.191e-05, allocations: 2.312 kB / 287.3 MB, free: 2.875 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.Test.TestInductorReplacement): time 0.1254/0.1254, allocations: 5.815 MB / 293.1 MB, free: 18.35 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003715/0.1291, allocations: 1.922 MB / 295 MB, free: 17.43 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000438/0.1295, allocations: 35.56 kB / 295 MB, free: 17.42 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003426/0.1299, allocations: 185.6 kB / 295.2 MB, free: 17.29 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007168/0.1306, allocations: 361.3 kB / 295.6 MB, free: 17.02 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009186/0.1315, allocations: 0.5436 MB / 296.1 MB, free: 16.69 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001149/0.1327, allocations: 1.629 MB / 297.7 MB, free: 15.82 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004449/0.1331, allocations: 412.8 kB / 298.2 MB, free: 15.56 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008194/0.1339, allocations: 0.9135 MB / 299.1 MB, free: 15.11 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004853/0.1344, allocations: 496.3 kB / 299.6 MB, free: 14.93 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001679/0.1346, allocations: 163.5 kB / 299.7 MB, free: 14.93 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002405/0.1348, allocations: 180.7 kB / 299.9 MB, free: 14.92 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001713/0.135, allocations: 352.3 kB / 300.2 MB, free: 14.67 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003344/0.1353, allocations: 479 kB / 300.7 MB, free: 14.43 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008071/0.1361, allocations: 1.06 MB / 301.8 MB, free: 13.84 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.1361, allocations: 1.156 kB / 301.8 MB, free: 13.84 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.1361, allocations: 2.125 kB / 301.8 MB, free: 13.84 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.304e-05/0.1362, allocations: 0 / 301.8 MB, free: 13.84 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.001429/0.1376, allocations: 1.577 MB / 303.3 MB, free: 12.84 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.419e-05/0.1376, allocations: 8.938 kB / 303.3 MB, free: 12.84 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005259/0.1381, allocations: 269.9 kB / 303.6 MB, free: 12.8 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007556/0.1389, allocations: 0.5807 MB / 304.2 MB, free: 12.43 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.534e-05/0.139, allocations: 83.19 kB / 304.3 MB, free: 12.39 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001334/0.1391, allocations: 133.1 kB / 304.4 MB, free: 12.34 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008633/0.1399, allocations: 0.9696 MB / 305.4 MB, free: 11.57 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.592e-05/0.14, allocations: 0 / 305.4 MB, free: 11.57 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.313e-05/0.14, allocations: 51.59 kB / 305.4 MB, free: 11.53 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.914e-05/0.1401, allocations: 24.75 kB / 305.4 MB, free: 11.53 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004089/0.1405, allocations: 242.6 kB / 305.7 MB, free: 11.46 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002999/0.1435, allocations: 2.177 MB / 307.9 MB, free: 10.04 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004832/0.1439, allocations: 391.7 kB / 308.2 MB, free: 9.867 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002721/0.1442, allocations: 202.4 kB / 308.4 MB, free: 9.801 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.804e-05/0.1443, allocations: 21.98 kB / 308.5 MB, free: 9.797 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003992/0.1447, allocations: 0.5379 MB / 309 MB, free: 9.336 MB / 266.7 MB Notification: Performance of pre-optimization done (n=87): time 2.354e-06/0.1447, allocations: 2.469 kB / 309 MB, free: 9.336 MB / 266.7 MB Notification: Performance of matching and sorting (n=87): time 0.0009011/0.1456, allocations: 0.5852 MB / 309.6 MB, free: 8.785 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.242e-05/0.1456, allocations: 307.7 kB / 309.9 MB, free: 8.418 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003742/0.146, allocations: 0.6247 MB / 310.5 MB, free: 7.785 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.335e-05/0.146, allocations: 53.7 kB / 310.6 MB, free: 7.727 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001516/0.1462, allocations: 462.5 kB / 311 MB, free: 7.266 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000122/0.1463, allocations: 301.4 kB / 311.3 MB, free: 6.969 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001675/0.1465, allocations: 186.8 kB / 311.5 MB, free: 6.781 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.136e-05/0.1465, allocations: 349.8 kB / 311.8 MB, free: 6.434 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001354/0.1466, allocations: 94.56 kB / 311.9 MB, free: 6.34 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002561/0.1469, allocations: 0.6822 MB / 312.6 MB, free: 5.449 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004436/0.1473, allocations: 0.6037 MB / 313.2 MB, free: 4.719 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.53e-06/0.1474, allocations: 4 kB / 313.2 MB, free: 4.715 MB / 266.7 MB Notification: Performance of matching and sorting (n=133) (initialization): time 0.0008886/0.1482, allocations: 0.703 MB / 313.9 MB, free: 4 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.1483, allocations: 8 kB / 313.9 MB, free: 3.992 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.929e-06/0.1483, allocations: 8 kB / 313.9 MB, free: 3.984 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000769/0.149, allocations: 293.7 kB / 314.2 MB, free: 3.691 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005133/0.1495, allocations: 242.5 kB / 314.5 MB, free: 3.457 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002193/0.1517, allocations: 3.256 MB / 317.7 MB, free: 36 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004325/0.1522, allocations: 135.2 kB / 317.8 MB, free: 15.9 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.996e-05/0.1522, allocations: 39.38 kB / 317.9 MB, free: 15.87 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.0002255/0.1524, allocations: 202.1 kB / 318.1 MB, free: 15.66 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001148/0.1526, allocations: 91.91 kB / 318.2 MB, free: 15.57 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000625/0.1532, allocations: 483 kB / 318.6 MB, free: 15.07 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/0.1532, allocations: 8 kB / 318.7 MB, free: 15.07 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.995e-06/0.1532, allocations: 0 / 318.7 MB, free: 15.07 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.767e-06/0.1532, allocations: 3.984 kB / 318.7 MB, free: 15.06 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00135/0.1546, allocations: 0.9937 MB / 319.7 MB, free: 14.03 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.1546, allocations: 0 / 319.7 MB, free: 14.03 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004514/0.155, allocations: 143.9 kB / 319.8 MB, free: 13.89 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002186/0.1552, allocations: 98.44 kB / 319.9 MB, free: 13.79 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.29e-05/0.1553, allocations: 23.98 kB / 319.9 MB, free: 13.76 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001942/0.1572, allocations: 3.952 MB / 323.9 MB, free: 9.559 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.1572, allocations: 0 / 323.9 MB, free: 9.559 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008332/0.158, allocations: 0.6885 MB / 324.6 MB, free: 8.84 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.893e-05/0.1581, allocations: 99.16 kB / 324.6 MB, free: 8.742 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.358e-05/0.1582, allocations: 28 kB / 324.7 MB, free: 8.715 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003102/0.1585, allocations: 55.95 kB / 324.7 MB, free: 8.66 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000119/0.1587, allocations: 76.86 kB / 324.8 MB, free: 8.586 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.052e-05/0.1587, allocations: 19.98 kB / 324.8 MB, free: 8.566 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002729/0.159, allocations: 308.5 kB / 325.1 MB, free: 8.27 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.159, allocations: 4 kB / 325.1 MB, free: 8.266 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0007234/0.1597, allocations: 311.3 kB / 325.4 MB, free: 7.961 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.0001416/0.1598, allocations: 132.8 kB / 325.6 MB, free: 7.828 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0008739/0.1607, allocations: 0.7446 MB / 326.3 MB, free: 7.059 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.398e-05/0.1607, allocations: 12.56 kB / 326.3 MB, free: 7.047 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004887/0.1612, allocations: 0.5706 MB / 326.9 MB, free: 6.434 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005213/0.1617, allocations: 160 kB / 327 MB, free: 6.277 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002567/0.1643, allocations: 1.91 MB / 329 MB, free: 4.328 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001786/0.1645, allocations: 217.4 kB / 329.2 MB, free: 4.094 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003179/0.1648, allocations: 111.6 kB / 329.3 MB, free: 3.984 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003934/0.1652, allocations: 249.2 kB / 329.5 MB, free: 3.738 MB / 282.7 MB Notification: Performance of SimCode: time 9.91e-07/0.1652, allocations: 0 / 329.5 MB, free: 3.738 MB / 282.7 MB Notification: Performance of Templates: time 0.04607/0.2113, allocations: 13.01 MB / 342.5 MB, free: 7.016 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.201064320281148]