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.001084/0.001084, allocations: 100.3 kB / 19.71 MB, free: 440 kB / 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.001637/0.001637, allocations: 211.9 kB / 22.99 MB, free: 2.973 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.047/1.047, allocations: 230.6 MB / 256.8 MB, free: 9.586 MB / 202.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.03331/0.03331, allocations: 9.557 MB / 322.7 MB, free: 8.449 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.001606/0.001606, allocations: 67.91 kB / 449.1 MB, free: 37.98 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09341/0.09501, allocations: 55.78 MB / 0.493 GB, free: 14.1 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.Test.TestInductorReplacement): time 0.005362/0.1004, allocations: 5.415 MB / 0.4983 GB, free: 8.656 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002842/0.1032, allocations: 1.834 MB / 0.5001 GB, free: 6.816 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005321/0.1037, allocations: 35.75 kB / 0.5001 GB, free: 6.781 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003927/0.1041, allocations: 185.9 kB / 0.5003 GB, free: 6.598 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006635/0.1048, allocations: 341 kB / 0.5006 GB, free: 6.262 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007894/0.1056, allocations: 0.5383 MB / 0.5012 GB, free: 5.723 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001112/0.1067, allocations: 1.589 MB / 0.5027 GB, free: 4.129 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004976/0.1072, allocations: 407.2 kB / 0.5031 GB, free: 3.703 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006153/0.1078, allocations: 0.6032 MB / 0.5037 GB, free: 3.098 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005213/0.1083, allocations: 0.5712 MB / 0.5043 GB, free: 2.523 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001577/0.1085, allocations: 164 kB / 0.5044 GB, free: 2.363 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002167/0.1087, allocations: 172 kB / 0.5046 GB, free: 2.195 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001892/0.1089, allocations: 346.8 kB / 0.5049 GB, free: 1.855 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006717/0.1096, allocations: 0.5675 MB / 0.5055 GB, free: 1.285 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001158/0.1107, allocations: 1.735 MB / 0.5072 GB, free: 15.54 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.1107, allocations: 0 / 0.5072 GB, free: 15.54 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.1107, allocations: 4 kB / 0.5072 GB, free: 15.54 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.753e-05/0.1108, allocations: 0 / 0.5072 GB, free: 15.54 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.002516/0.1133, allocations: 2.375 MB / 0.5095 GB, free: 13.09 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.706e-05/0.1133, allocations: 8.031 kB / 0.5095 GB, free: 13.09 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000578/0.1139, allocations: 243.9 kB / 0.5097 GB, free: 12.85 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001062/0.115, allocations: 0.8186 MB / 0.5105 GB, free: 12 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.769e-05/0.115, allocations: 82.19 kB / 0.5106 GB, free: 11.92 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001154/0.1151, allocations: 123.9 kB / 0.5107 GB, free: 11.8 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001434/0.1166, allocations: 1.3 MB / 0.512 GB, free: 10.39 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.119e-05/0.1166, allocations: 4 kB / 0.512 GB, free: 10.39 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.661e-05/0.1167, allocations: 47.94 kB / 0.512 GB, free: 10.34 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.767e-05/0.1167, allocations: 28 kB / 0.5121 GB, free: 10.31 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001348/0.118, allocations: 0.7771 MB / 0.5128 GB, free: 9.527 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003586/0.1216, allocations: 2.894 MB / 0.5156 GB, free: 6.527 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009076/0.1225, allocations: 0.6537 MB / 0.5163 GB, free: 5.859 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005434/0.1231, allocations: 389.9 kB / 0.5167 GB, free: 5.48 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.508e-05/0.1231, allocations: 16.59 kB / 0.5167 GB, free: 5.465 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007392/0.1238, allocations: 0.7072 MB / 0.5174 GB, free: 4.695 MB / 378.7 MB Notification: Performance of pre-optimization done (n=87): time 2.795e-06/0.1238, allocations: 3.938 kB / 0.5174 GB, free: 4.691 MB / 378.7 MB Notification: Performance of matching and sorting (n=87): time 0.001843/0.1257, allocations: 1.209 MB / 0.5186 GB, free: 3.465 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001318/0.1258, allocations: 303.7 kB / 0.5188 GB, free: 3.102 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009989/0.1268, allocations: 0.7354 MB / 0.5196 GB, free: 2.359 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.579e-05/0.1269, allocations: 53.7 kB / 0.5196 GB, free: 2.301 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002868/0.1272, allocations: 0.5514 MB / 0.5201 GB, free: 1.742 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000167/0.1273, allocations: 297.5 kB / 0.5204 GB, free: 1.449 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001853/0.1275, allocations: 190.9 kB / 0.5206 GB, free: 1.258 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.793e-05/0.1276, allocations: 357.9 kB / 0.521 GB, free: 0.9023 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003936/0.128, allocations: 306.5 kB / 0.5212 GB, free: 0.6016 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006375/0.1286, allocations: 0.8968 MB / 0.5221 GB, free: 15.5 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009809/0.1296, allocations: 0.9496 MB / 0.5231 GB, free: 14.42 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.132e-06/0.1296, allocations: 8 kB / 0.5231 GB, free: 14.41 MB / 394.7 MB Notification: Performance of matching and sorting (n=133) (initialization): time 0.001742/0.1314, allocations: 1.283 MB / 0.5243 GB, free: 13.12 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.683e-05/0.1314, allocations: 10.19 kB / 0.5243 GB, free: 13.11 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.529e-05/0.1314, allocations: 8 kB / 0.5243 GB, free: 13.1 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007218/0.1321, allocations: 283.7 kB / 0.5246 GB, free: 12.82 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004219/0.1326, allocations: 203.6 kB / 0.5248 GB, free: 12.62 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004719/0.1373, allocations: 4.364 MB / 0.5291 GB, free: 8.047 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006303/0.1379, allocations: 147.3 kB / 0.5292 GB, free: 7.902 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.01e-05/0.138, allocations: 44 kB / 0.5292 GB, free: 7.859 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.000487/0.1384, allocations: 313.4 kB / 0.5295 GB, free: 7.543 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001112/0.1386, allocations: 107.3 kB / 0.5296 GB, free: 7.438 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00114/0.1397, allocations: 0.9127 MB / 0.5305 GB, free: 6.508 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.071e-05/0.1397, allocations: 8 kB / 0.5305 GB, free: 6.5 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.1397, allocations: 4 kB / 0.5305 GB, free: 6.496 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.924e-06/0.1397, allocations: 3.984 kB / 0.5305 GB, free: 6.492 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002029/0.1417, allocations: 1.772 MB / 0.5323 GB, free: 4.668 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.1418, allocations: 0 / 0.5323 GB, free: 4.668 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003479/0.1421, allocations: 139.8 kB / 0.5324 GB, free: 4.531 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000181/0.1423, allocations: 102.6 kB / 0.5325 GB, free: 4.422 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.966e-05/0.1423, allocations: 27.97 kB / 0.5325 GB, free: 4.395 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002402/0.1447, allocations: 4.344 MB / 0.5368 GB, free: 15.74 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.1447, allocations: 0 / 0.5368 GB, free: 15.74 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001542/0.1463, allocations: 1.398 MB / 0.5381 GB, free: 14.31 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001242/0.1464, allocations: 107.1 kB / 0.5382 GB, free: 14.21 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.766e-05/0.1465, allocations: 27.94 kB / 0.5383 GB, free: 14.18 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003094/0.1468, allocations: 71.94 kB / 0.5383 GB, free: 14.11 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001228/0.1469, allocations: 72.86 kB / 0.5384 GB, free: 14.04 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.314e-05/0.1469, allocations: 32.09 kB / 0.5384 GB, free: 14.01 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000444/0.1474, allocations: 0.5029 MB / 0.5389 GB, free: 13.51 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1474, allocations: 0 / 0.5389 GB, free: 13.51 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008067/0.1482, allocations: 315.3 kB / 0.5392 GB, free: 13.2 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.0001591/0.1483, allocations: 148.8 kB / 0.5394 GB, free: 13.05 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001597/0.1499, allocations: 1.082 MB / 0.5404 GB, free: 11.94 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/0.1499, allocations: 3.938 kB / 0.5404 GB, free: 11.93 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006607/0.1506, allocations: 0.7415 MB / 0.5412 GB, free: 11.15 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005234/0.1511, allocations: 165.6 kB / 0.5413 GB, free: 11 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002496/0.1536, allocations: 2.2 MB / 0.5435 GB, free: 8.746 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003554/0.154, allocations: 0.4995 MB / 0.544 GB, free: 8.215 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001663/0.1541, allocations: 83.41 kB / 0.544 GB, free: 8.133 MB / 410.7 MB Notification: Performance of SimCode: time 1.022e-06/0.1541, allocations: 0 / 0.544 GB, free: 8.133 MB / 410.7 MB Notification: Performance of Templates: time 0.1966/0.3508, allocations: 26.29 MB / 0.5697 GB, free: 48.82 MB / 410.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 > ChaoticCircuits_ChaoticCircuits.Test.TestInductorReplacement.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.718865946400911]