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.001059/0.001059, allocations: 93.06 kB / 19.65 MB, free: 280 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.001312/0.001312, allocations: 169 kB / 23.02 MB, free: 1.551 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.001/1.001, allocations: 177.1 MB / 203.4 MB, free: 5.648 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.02581/0.02581, allocations: 7.102 MB / 267 MB, free: 6.074 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.493e-06/1.493e-06, allocations: 0 / 339.1 MB, free: 9.902 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.62e-05/1.769e-05, allocations: 10.19 kB / 339.1 MB, free: 9.891 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.Test.TestInductorReplacement): time 0.004238/0.004256, allocations: 5.863 MB / 344.9 MB, free: 3.988 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002424/0.00668, allocations: 1.86 MB / 346.8 MB, free: 2.125 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005229/0.007203, allocations: 35.75 kB / 346.8 MB, free: 2.09 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003206/0.007524, allocations: 189.9 kB / 347 MB, free: 1.902 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006023/0.008126, allocations: 360.8 kB / 347.4 MB, free: 1.547 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007147/0.008841, allocations: 0.5421 MB / 347.9 MB, free: 1.004 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001153/0.009994, allocations: 1.631 MB / 349.5 MB, free: 15.37 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005363/0.01053, allocations: 407.1 kB / 349.9 MB, free: 14.95 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009489/0.01148, allocations: 0.9043 MB / 350.8 MB, free: 14.04 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005493/0.01203, allocations: 0.4906 MB / 351.3 MB, free: 13.55 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000165/0.01219, allocations: 156 kB / 351.5 MB, free: 13.4 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001923/0.01239, allocations: 180 kB / 351.7 MB, free: 13.22 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002008/0.01259, allocations: 338.8 kB / 352 MB, free: 12.89 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003637/0.01295, allocations: 490.7 kB / 352.5 MB, free: 12.41 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009748/0.01392, allocations: 1.07 MB / 353.5 MB, free: 11.34 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.035e-06/0.01393, allocations: 0 / 353.5 MB, free: 11.34 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.72e-07/0.01393, allocations: 0 / 353.5 MB, free: 11.34 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.527e-05/0.01394, allocations: 0 / 353.5 MB, free: 11.34 MB / 282.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.002519/0.01646, allocations: 2.478 MB / 356 MB, free: 8.773 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.581e-05/0.0165, allocations: 12.03 kB / 356 MB, free: 8.762 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006254/0.01712, allocations: 323.8 kB / 356.3 MB, free: 8.445 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008093/0.01793, allocations: 0.7525 MB / 357.1 MB, free: 7.668 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.819e-05/0.01798, allocations: 86.42 kB / 357.2 MB, free: 7.582 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001134/0.0181, allocations: 120.4 kB / 357.3 MB, free: 7.465 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00132/0.01942, allocations: 1.036 MB / 358.3 MB, free: 6.316 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.523e-05/0.01944, allocations: 11.89 kB / 358.3 MB, free: 6.305 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.97e-05/0.0195, allocations: 40 kB / 358.4 MB, free: 6.266 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.111e-05/0.01952, allocations: 24 kB / 358.4 MB, free: 6.242 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005885/0.02011, allocations: 370.1 kB / 358.8 MB, free: 5.867 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003441/0.02355, allocations: 2.844 MB / 361.6 MB, free: 2.906 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006327/0.02418, allocations: 475.8 kB / 362.1 MB, free: 2.43 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003538/0.02454, allocations: 240.8 kB / 362.3 MB, free: 2.195 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.602e-05/0.02457, allocations: 20.66 kB / 362.3 MB, free: 2.176 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007438/0.02532, allocations: 0.5653 MB / 362.9 MB, free: 1.535 MB / 282.7 MB Notification: Performance of pre-optimization done (n=87): time 1.984e-06/0.02532, allocations: 0 / 362.9 MB, free: 1.535 MB / 282.7 MB Notification: Performance of matching and sorting (n=87): time 0.001388/0.02671, allocations: 0.8227 MB / 363.7 MB, free: 0.6992 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.882e-05/0.02681, allocations: 307.7 kB / 364 MB, free: 340 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005452/0.02735, allocations: 0.7141 MB / 364.7 MB, free: 15.61 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.345e-05/0.0274, allocations: 49.7 kB / 364.8 MB, free: 15.55 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002951/0.0277, allocations: 0.5971 MB / 365.4 MB, free: 14.95 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001675/0.02787, allocations: 293.5 kB / 365.7 MB, free: 14.66 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001908/0.02806, allocations: 200.5 kB / 365.9 MB, free: 14.45 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001365/0.02819, allocations: 0.5121 MB / 366.4 MB, free: 13.93 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000223/0.02842, allocations: 138.5 kB / 366.5 MB, free: 13.8 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005458/0.02896, allocations: 0.8544 MB / 367.4 MB, free: 12.67 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007562/0.02972, allocations: 0.765 MB / 368.1 MB, free: 11.73 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.945e-06/0.02973, allocations: 4 kB / 368.1 MB, free: 11.72 MB / 298.7 MB Notification: Performance of matching and sorting (n=133) (initialization): time 0.001245/0.03097, allocations: 0.945 MB / 369.1 MB, free: 10.76 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/0.03099, allocations: 12 kB / 369.1 MB, free: 10.75 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.315e-05/0.031, allocations: 11.94 kB / 369.1 MB, free: 10.74 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001149/0.03215, allocations: 309.4 kB / 369.4 MB, free: 10.43 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003913/0.03254, allocations: 211.6 kB / 369.6 MB, free: 10.22 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003252/0.0358, allocations: 4.671 MB / 374.3 MB, free: 5.301 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000352/0.03615, allocations: 127.3 kB / 374.4 MB, free: 5.176 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.55e-05/0.03619, allocations: 47.98 kB / 374.5 MB, free: 5.129 MB / 298.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.0002362/0.03643, allocations: 252.2 kB / 374.7 MB, free: 4.871 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001163/0.03655, allocations: 131.3 kB / 374.8 MB, free: 4.742 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007542/0.0373, allocations: 0.6437 MB / 375.5 MB, free: 4.074 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-06/0.03731, allocations: 12 kB / 375.5 MB, free: 4.062 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.03731, allocations: 0 / 375.5 MB, free: 4.062 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.356e-06/0.03732, allocations: 3.984 kB / 375.5 MB, free: 4.059 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002064/0.03938, allocations: 1.489 MB / 377 MB, free: 2.508 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.03938, allocations: 0 / 377 MB, free: 2.508 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003172/0.0397, allocations: 131.8 kB / 377.1 MB, free: 2.379 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002216/0.03992, allocations: 111 kB / 377.2 MB, free: 2.258 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.492e-05/0.03997, allocations: 23.98 kB / 377.2 MB, free: 2.234 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002414/0.04238, allocations: 5.879 MB / 383.1 MB, free: 11.99 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.04238, allocations: 0 / 383.1 MB, free: 11.99 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00139/0.04377, allocations: 0.9669 MB / 384.1 MB, free: 10.98 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.642e-05/0.04386, allocations: 103.1 kB / 384.2 MB, free: 10.88 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.952e-05/0.04393, allocations: 23.98 kB / 384.2 MB, free: 10.86 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002483/0.04418, allocations: 60.12 kB / 384.3 MB, free: 10.8 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001264/0.0443, allocations: 84.8 kB / 384.3 MB, free: 10.71 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.045e-05/0.04436, allocations: 31.97 kB / 384.4 MB, free: 10.68 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0003705/0.04473, allocations: 466.8 kB / 384.8 MB, free: 10.23 MB / 314.7 MB Notification: Performance of sort global known variables: time 8e-08/0.04473, allocations: 0 / 384.8 MB, free: 10.23 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006612/0.04539, allocations: 311.3 kB / 385.1 MB, free: 9.926 MB / 314.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.0001534/0.04554, allocations: 154.5 kB / 385.3 MB, free: 9.766 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0009675/0.04651, allocations: 0.9222 MB / 386.2 MB, free: 8.812 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.04651, allocations: 0 / 386.2 MB, free: 8.812 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005034/0.04701, allocations: 0.7742 MB / 387 MB, free: 7.98 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004772/0.04749, allocations: 169.8 kB / 387.2 MB, free: 7.82 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002273/0.04976, allocations: 1.945 MB / 389.1 MB, free: 5.824 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001415/0.04991, allocations: 221.4 kB / 389.3 MB, free: 5.586 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002316/0.05014, allocations: 115 kB / 389.4 MB, free: 5.469 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000137/0.05027, allocations: 72.48 kB / 389.5 MB, free: 5.398 MB / 314.7 MB Notification: Performance of SimCode: time 1.212e-06/0.05028, allocations: 4 kB / 389.5 MB, free: 5.395 MB / 314.7 MB Notification: Performance of Templates: time 0.01632/0.06659, allocations: 12.8 MB / 402.3 MB, free: 8.781 MB / 330.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.2640394079498947]