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.001289/0.001289, allocations: 69.11 kB / 20.65 MB, free: 3.844 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.001529/0.001529, allocations: 173 kB / 24.06 MB, free: 448 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 1.028/1.028, allocations: 177.1 MB / 204.5 MB, free: 5.492 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.05122/0.05122, allocations: 7.115 MB / 268.2 MB, free: 5.891 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.663e-06/1.663e-06, allocations: 0 / 339.5 MB, free: 11.47 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.787e-05/1.954e-05, allocations: 2.312 kB / 339.5 MB, free: 11.46 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.Test.TestInductorReplacement): time 0.005614/0.005633, allocations: 5.779 MB / 345.3 MB, free: 5.652 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002161/0.007794, allocations: 1.858 MB / 347.1 MB, free: 3.789 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002953/0.008089, allocations: 35.75 kB / 347.2 MB, free: 3.754 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004199/0.008509, allocations: 185.9 kB / 347.3 MB, free: 3.57 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004848/0.008994, allocations: 364.7 kB / 347.7 MB, free: 3.211 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005667/0.009561, allocations: 0.5421 MB / 348.2 MB, free: 2.668 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001169/0.01073, allocations: 1.631 MB / 349.9 MB, free: 1.031 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004481/0.01118, allocations: 395.2 kB / 350.2 MB, free: 0.6289 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009969/0.01217, allocations: 0.9081 MB / 351.2 MB, free: 15.72 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004127/0.01259, allocations: 0.4946 MB / 351.7 MB, free: 15.22 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001309/0.01272, allocations: 160 kB / 351.8 MB, free: 15.07 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001679/0.01289, allocations: 171.9 kB / 352 MB, free: 14.9 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001701/0.01306, allocations: 350.7 kB / 352.3 MB, free: 14.55 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002716/0.01333, allocations: 482.7 kB / 352.8 MB, free: 14.08 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007124/0.01404, allocations: 1.059 MB / 353.8 MB, free: 13.02 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.325e-06/0.01404, allocations: 0 / 353.8 MB, free: 13.02 MB / 330.7 MB Notification: Performance of FrontEnd: time 8.41e-07/0.01404, allocations: 0 / 353.8 MB, free: 13.02 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.565e-06/0.01405, allocations: 0 / 353.8 MB, free: 13.02 MB / 330.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.001993/0.01604, allocations: 2.562 MB / 356.4 MB, free: 10.37 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.039e-05/0.01607, allocations: 8.031 kB / 356.4 MB, free: 10.36 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005196/0.01659, allocations: 319.8 kB / 356.7 MB, free: 10.05 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006637/0.01726, allocations: 0.7524 MB / 357.5 MB, free: 9.266 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.208e-05/0.0173, allocations: 82.44 kB / 357.6 MB, free: 9.184 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001074/0.01741, allocations: 124.3 kB / 357.7 MB, free: 9.062 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001028/0.01844, allocations: 0.9672 MB / 358.7 MB, free: 7.98 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.096e-05/0.01847, allocations: 7.938 kB / 358.7 MB, free: 7.973 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.82e-05/0.01854, allocations: 48 kB / 358.7 MB, free: 7.926 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.044e-05/0.01857, allocations: 24 kB / 358.7 MB, free: 7.902 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005249/0.01909, allocations: 286.1 kB / 359 MB, free: 7.609 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003501/0.02259, allocations: 2.716 MB / 361.7 MB, free: 4.797 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004971/0.02309, allocations: 429.8 kB / 362.1 MB, free: 4.359 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002684/0.02336, allocations: 221.9 kB / 362.4 MB, free: 4.141 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.331e-05/0.02339, allocations: 20.64 kB / 362.4 MB, free: 4.121 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004566/0.02385, allocations: 0.5573 MB / 362.9 MB, free: 3.488 MB / 330.7 MB Notification: Performance of pre-optimization done (n=87): time 2.395e-06/0.02385, allocations: 0 / 362.9 MB, free: 3.488 MB / 330.7 MB Notification: Performance of matching and sorting (n=87): time 0.001027/0.02488, allocations: 0.7563 MB / 363.7 MB, free: 2.719 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.738e-05/0.02497, allocations: 307.7 kB / 364 MB, free: 2.352 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004337/0.02541, allocations: 0.6902 MB / 364.7 MB, free: 1.645 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.654e-05/0.02545, allocations: 53.7 kB / 364.7 MB, free: 1.586 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000288/0.02574, allocations: 0.6048 MB / 365.3 MB, free: 0.9727 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001536/0.0259, allocations: 305.4 kB / 365.6 MB, free: 0.6719 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001727/0.02607, allocations: 204.5 kB / 365.8 MB, free: 472 kB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001312/0.0262, allocations: 0.5159 MB / 366.4 MB, free: 15.94 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001352/0.02633, allocations: 106.5 kB / 366.5 MB, free: 15.84 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004169/0.02675, allocations: 0.8309 MB / 367.3 MB, free: 14.73 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005456/0.0273, allocations: 0.7219 MB / 368 MB, free: 13.83 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.529e-06/0.0273, allocations: 0 / 368 MB, free: 13.83 MB / 346.7 MB Notification: Performance of matching and sorting (n=133) (initialization): time 0.0009942/0.0283, allocations: 0.8665 MB / 368.9 MB, free: 12.95 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.02831, allocations: 12 kB / 368.9 MB, free: 12.94 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.086e-05/0.02832, allocations: 8 kB / 368.9 MB, free: 12.93 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007024/0.02903, allocations: 307.4 kB / 369.2 MB, free: 12.62 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003779/0.0294, allocations: 211.6 kB / 369.4 MB, free: 12.41 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00281/0.03221, allocations: 4.582 MB / 374 MB, free: 7.605 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003356/0.03255, allocations: 131.3 kB / 374.1 MB, free: 7.477 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.685e-05/0.03259, allocations: 32 kB / 374.1 MB, free: 7.445 MB / 346.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.0002118/0.0328, allocations: 244.2 kB / 374.4 MB, free: 7.195 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001083/0.03291, allocations: 135.3 kB / 374.5 MB, free: 7.062 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006304/0.03354, allocations: 0.5928 MB / 375.1 MB, free: 6.438 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.04e-06/0.03354, allocations: 8 kB / 375.1 MB, free: 6.43 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.03355, allocations: 4 kB / 375.1 MB, free: 6.426 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.234e-06/0.03355, allocations: 3.984 kB / 375.1 MB, free: 6.422 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001338/0.03489, allocations: 1.329 MB / 376.5 MB, free: 5.039 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.03489, allocations: 0 / 376.5 MB, free: 5.039 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003085/0.0352, allocations: 135.8 kB / 376.6 MB, free: 4.906 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001857/0.03539, allocations: 107 kB / 376.7 MB, free: 4.789 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.678e-05/0.03542, allocations: 23.98 kB / 376.7 MB, free: 4.766 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002088/0.03751, allocations: 5.799 MB / 382.5 MB, free: 14.63 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.03751, allocations: 0 / 382.5 MB, free: 14.63 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008252/0.03834, allocations: 0.8929 MB / 383.4 MB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.238e-05/0.03842, allocations: 119 kB / 383.5 MB, free: 13.58 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.979e-05/0.03849, allocations: 23.98 kB / 383.5 MB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002489/0.03874, allocations: 55.95 kB / 383.6 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.437e-05/0.03883, allocations: 76.88 kB / 383.7 MB, free: 13.43 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.071e-05/0.03886, allocations: 23.97 kB / 383.7 MB, free: 13.4 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002639/0.03913, allocations: 438.7 kB / 384.1 MB, free: 12.98 MB / 362.7 MB Notification: Performance of sort global known variables: time 4e-08/0.03913, allocations: 0 / 384.1 MB, free: 12.98 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006151/0.03974, allocations: 307.4 kB / 384.4 MB, free: 12.68 MB / 362.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.0001637/0.03991, allocations: 155.2 kB / 384.6 MB, free: 12.52 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007939/0.0407, allocations: 0.8711 MB / 385.5 MB, free: 11.62 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.0407, allocations: 8.312 kB / 385.5 MB, free: 11.61 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004464/0.04115, allocations: 0.7545 MB / 386.2 MB, free: 10.8 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000465/0.04162, allocations: 170.9 kB / 386.4 MB, free: 10.64 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002096/0.04371, allocations: 1.961 MB / 388.3 MB, free: 8.621 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003222/0.04403, allocations: 0.4995 MB / 388.8 MB, free: 8.086 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003997/0.04443, allocations: 290.1 kB / 389.1 MB, free: 7.801 MB / 362.7 MB Notification: Performance of SimCode: time 7.31e-07/0.04444, allocations: 0 / 389.1 MB, free: 7.801 MB / 362.7 MB Notification: Performance of Templates: time 0.01918/0.06361, allocations: 26.37 MB / 415.5 MB, free: 13.43 MB / 394.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: 4.610494490712881]