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.00111/0.00111, allocations: 73.09 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.001193/0.001193, allocations: 169 kB / 24.05 MB, free: 456 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.072/1.072, allocations: 177.1 MB / 204.5 MB, free: 5.512 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.03131/0.03131, allocations: 7.106 MB / 268.1 MB, free: 5.906 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.433e-06/1.433e-06, allocations: 0 / 340.3 MB, free: 10.66 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.27e-05/1.414e-05, allocations: 10.25 kB / 340.3 MB, free: 10.65 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.Test.TestInductorReplacement): time 0.004984/0.004998, allocations: 5.768 MB / 346.1 MB, free: 4.848 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002646/0.007644, allocations: 1.858 MB / 347.9 MB, free: 2.984 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004702/0.008114, allocations: 39.69 kB / 348 MB, free: 2.945 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003345/0.008448, allocations: 186 kB / 348.2 MB, free: 2.762 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006015/0.00905, allocations: 360.6 kB / 348.5 MB, free: 2.406 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007505/0.0098, allocations: 0.5421 MB / 349 MB, free: 1.863 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001083/0.01088, allocations: 1.623 MB / 350.7 MB, free: 240 kB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004848/0.01137, allocations: 411.2 kB / 351.1 MB, free: 15.82 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001075/0.01244, allocations: 0.912 MB / 352 MB, free: 14.9 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004656/0.01291, allocations: 494.4 kB / 352.5 MB, free: 14.42 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001413/0.01305, allocations: 163.9 kB / 352.6 MB, free: 14.26 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001885/0.01324, allocations: 172 kB / 352.8 MB, free: 14.09 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002083/0.01345, allocations: 350.8 kB / 353.1 MB, free: 13.75 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003203/0.01377, allocations: 478.7 kB / 353.6 MB, free: 13.28 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000809/0.01458, allocations: 1.066 MB / 354.7 MB, free: 12.21 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.01458, allocations: 4 kB / 354.7 MB, free: 12.2 MB / 330.7 MB Notification: Performance of FrontEnd: time 8.32e-07/0.01458, allocations: 0 / 354.7 MB, free: 12.2 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.188e-05/0.01459, allocations: 4 kB / 354.7 MB, free: 12.2 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.002299/0.01689, allocations: 2.554 MB / 357.2 MB, free: 9.555 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.576e-05/0.01693, allocations: 8.031 kB / 357.2 MB, free: 9.547 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005738/0.0175, allocations: 319.8 kB / 357.6 MB, free: 9.234 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007232/0.01822, allocations: 0.7447 MB / 358.3 MB, free: 8.461 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003793/0.0186, allocations: 82.44 kB / 358.4 MB, free: 8.379 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001227/0.01872, allocations: 132.4 kB / 358.5 MB, free: 8.25 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008546/0.01958, allocations: 0.9633 MB / 359.5 MB, free: 7.172 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.529e-05/0.0196, allocations: 3.953 kB / 359.5 MB, free: 7.168 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.227e-05/0.01967, allocations: 51.98 kB / 359.5 MB, free: 7.117 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.583e-05/0.01968, allocations: 24 kB / 359.5 MB, free: 7.094 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003787/0.02006, allocations: 282.1 kB / 359.8 MB, free: 6.805 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003014/0.02308, allocations: 2.712 MB / 362.5 MB, free: 3.996 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005352/0.02361, allocations: 449.7 kB / 363 MB, free: 3.539 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002895/0.0239, allocations: 217.9 kB / 363.2 MB, free: 3.324 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.471e-05/0.02393, allocations: 16.66 kB / 363.2 MB, free: 3.309 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004672/0.0244, allocations: 0.5573 MB / 363.8 MB, free: 2.676 MB / 330.7 MB Notification: Performance of pre-optimization done (n=87): time 2.405e-06/0.0244, allocations: 0 / 363.8 MB, free: 2.676 MB / 330.7 MB Notification: Performance of matching and sorting (n=87): time 0.001075/0.02548, allocations: 0.7524 MB / 364.5 MB, free: 1.91 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.406e-05/0.02557, allocations: 299.7 kB / 364.8 MB, free: 1.551 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006787/0.02625, allocations: 0.698 MB / 365.5 MB, free: 0.8359 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.658e-05/0.02631, allocations: 57.69 kB / 365.6 MB, free: 0.7734 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002805/0.02659, allocations: 0.5971 MB / 366.2 MB, free: 172 kB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001612/0.02675, allocations: 301.4 kB / 366.5 MB, free: 15.87 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001844/0.02693, allocations: 204.5 kB / 366.7 MB, free: 15.66 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001214/0.02706, allocations: 0.5198 MB / 367.2 MB, free: 15.13 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001408/0.0272, allocations: 98.53 kB / 367.3 MB, free: 15.04 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004161/0.02761, allocations: 0.8347 MB / 368.1 MB, free: 13.93 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005276/0.02814, allocations: 0.718 MB / 368.8 MB, free: 13.04 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.641e-06/0.02815, allocations: 4 kB / 368.8 MB, free: 13.03 MB / 346.7 MB Notification: Performance of matching and sorting (n=133) (initialization): time 0.001021/0.02917, allocations: 0.8786 MB / 369.7 MB, free: 12.14 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.02918, allocations: 8 kB / 369.7 MB, free: 12.13 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.899e-06/0.02919, allocations: 8 kB / 369.7 MB, free: 12.12 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007515/0.02995, allocations: 311 kB / 370 MB, free: 11.81 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003983/0.03034, allocations: 207.9 kB / 370.2 MB, free: 11.61 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003126/0.03347, allocations: 4.566 MB / 374.8 MB, free: 6.812 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003401/0.03381, allocations: 127.4 kB / 374.9 MB, free: 6.688 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.185e-05/0.03385, allocations: 43.98 kB / 375 MB, free: 6.645 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.0002165/0.03407, allocations: 248.2 kB / 375.2 MB, free: 6.391 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001126/0.03418, allocations: 131.3 kB / 375.3 MB, free: 6.262 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006761/0.03486, allocations: 0.6006 MB / 375.9 MB, free: 5.629 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.311e-06/0.03486, allocations: 12 kB / 375.9 MB, free: 5.617 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.03487, allocations: 0 / 375.9 MB, free: 5.617 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.306e-06/0.03487, allocations: 7.984 kB / 376 MB, free: 5.609 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001371/0.03625, allocations: 1.325 MB / 377.3 MB, free: 4.23 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.03625, allocations: 0 / 377.3 MB, free: 4.23 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003254/0.03657, allocations: 127.8 kB / 377.4 MB, free: 4.105 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002002/0.03677, allocations: 115 kB / 377.5 MB, free: 3.98 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.893e-05/0.03681, allocations: 23.98 kB / 377.5 MB, free: 3.957 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002364/0.03918, allocations: 5.795 MB / 383.3 MB, free: 13.82 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.03918, allocations: 8.031 kB / 383.3 MB, free: 13.82 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008568/0.04004, allocations: 0.8966 MB / 384.2 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.424e-05/0.04012, allocations: 103.1 kB / 384.3 MB, free: 12.78 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.074e-05/0.04021, allocations: 24 kB / 384.4 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002638/0.04047, allocations: 59.95 kB / 384.4 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001025/0.04058, allocations: 76.86 kB / 384.5 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.086e-05/0.04061, allocations: 23.98 kB / 384.5 MB, free: 12.6 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002523/0.04086, allocations: 426.8 kB / 384.9 MB, free: 12.19 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.04086, allocations: 4 kB / 384.9 MB, free: 12.18 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006247/0.04148, allocations: 311.3 kB / 385.2 MB, free: 11.88 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.0001795/0.04166, allocations: 152.6 kB / 385.4 MB, free: 11.72 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0008692/0.04253, allocations: 0.8738 MB / 386.3 MB, free: 10.82 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/0.04254, allocations: 7.938 kB / 386.3 MB, free: 10.81 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007939/0.04333, allocations: 0.7445 MB / 387 MB, free: 10.01 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005001/0.04383, allocations: 171.8 kB / 387.2 MB, free: 9.84 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002115/0.04595, allocations: 1.924 MB / 389.1 MB, free: 7.867 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001524/0.0461, allocations: 221.4 kB / 389.3 MB, free: 7.629 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002453/0.04634, allocations: 119 kB / 389.4 MB, free: 7.508 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000344/0.04669, allocations: 278.1 kB / 389.7 MB, free: 7.234 MB / 362.7 MB Notification: Performance of SimCode: time 5.61e-07/0.04669, allocations: 0 / 389.7 MB, free: 7.234 MB / 362.7 MB Notification: Performance of Templates: time 0.01714/0.06383, allocations: 13.41 MB / 403.1 MB, free: 10 MB / 378.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.2809290080331266]