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.00175/0.00175, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 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.002009/0.002009, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.677/1.677, allocations: 177.1 MB / 202.8 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 178] 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.07321/0.07321, allocations: 7.114 MB / 266.3 MB, free: 6.25 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.465e-06/2.465e-06, allocations: 0 / 393.5 MB, free: 2.746 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.365e-05/3.612e-05, allocations: 9.234 kB / 393.5 MB, free: 2.738 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.Test.TestInductorReplacement): time 0.008298/0.008334, allocations: 5.423 MB / 398.9 MB, free: 13.28 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.004592/0.01293, allocations: 1.842 MB / 400.8 MB, free: 11.43 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007302/0.01366, allocations: 35.75 kB / 400.8 MB, free: 11.4 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004824/0.01414, allocations: 189.9 kB / 401 MB, free: 11.21 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009534/0.01509, allocations: 356.8 kB / 401.3 MB, free: 10.86 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001262/0.01635, allocations: 0.5421 MB / 401.9 MB, free: 10.32 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.002331/0.01868, allocations: 1.631 MB / 403.5 MB, free: 8.68 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009962/0.01968, allocations: 399.2 kB / 403.9 MB, free: 8.266 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001514/0.02119, allocations: 0.8925 MB / 404.8 MB, free: 7.371 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007789/0.02197, allocations: 486.4 kB / 405.3 MB, free: 6.895 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002508/0.02222, allocations: 160 kB / 405.4 MB, free: 6.738 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003486/0.02257, allocations: 184 kB / 405.6 MB, free: 6.559 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003747/0.02295, allocations: 346.8 kB / 405.9 MB, free: 6.219 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006235/0.02357, allocations: 486.7 kB / 406.4 MB, free: 5.742 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002229/0.0258, allocations: 1.764 MB / 408.2 MB, free: 3.973 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.02581, allocations: 3.938 kB / 408.2 MB, free: 3.969 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.02581, allocations: 0 / 408.2 MB, free: 3.969 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.018e-05/0.02583, allocations: 0 / 408.2 MB, free: 3.969 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.004295/0.03012, allocations: 2.363 MB / 410.5 MB, free: 1.539 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.914e-05/0.03017, allocations: 8.031 kB / 410.5 MB, free: 1.531 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001213/0.03138, allocations: 247.8 kB / 410.8 MB, free: 1.289 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001696/0.03308, allocations: 0.818 MB / 411.6 MB, free: 452 kB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.684e-05/0.03317, allocations: 82.44 kB / 411.7 MB, free: 368 kB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001819/0.03335, allocations: 116.3 kB / 411.8 MB, free: 252 kB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2066/0.2399, allocations: 1.31 MB / 413.1 MB, free: 29.76 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.508e-05/0.24, allocations: 1.312 kB / 413.1 MB, free: 29.76 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001093/0.2401, allocations: 44.64 kB / 413.1 MB, free: 29.73 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.771e-05/0.2401, allocations: 24.38 kB / 413.2 MB, free: 29.73 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001878/0.242, allocations: 0.7744 MB / 413.9 MB, free: 29.46 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006548/0.2485, allocations: 2.89 MB / 416.8 MB, free: 27.97 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00135/0.2499, allocations: 0.6589 MB / 417.5 MB, free: 27.69 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008861/0.2508, allocations: 389.3 kB / 417.9 MB, free: 27.57 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.906e-05/0.2508, allocations: 11.44 kB / 417.9 MB, free: 27.56 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001221/0.252, allocations: 0.7207 MB / 418.6 MB, free: 27.15 MB / 330.7 MB Notification: Performance of pre-optimization done (n=87): time 2.515e-06/0.252, allocations: 0 / 418.6 MB, free: 27.15 MB / 330.7 MB Notification: Performance of matching and sorting (n=87): time 0.003055/0.2551, allocations: 1.21 MB / 419.8 MB, free: 26.7 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000115/0.2552, allocations: 310.8 kB / 420.1 MB, free: 26.35 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001085/0.2563, allocations: 0.7423 MB / 420.9 MB, free: 26.03 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.561e-05/0.2564, allocations: 49.86 kB / 420.9 MB, free: 25.98 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003958/0.2568, allocations: 0.547 MB / 421.5 MB, free: 25.6 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002102/0.257, allocations: 296 kB / 421.7 MB, free: 25.41 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003043/0.2573, allocations: 193.3 kB / 421.9 MB, free: 25.31 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001011/0.2574, allocations: 344.5 kB / 422.3 MB, free: 24.99 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006477/0.258, allocations: 312.4 kB / 422.6 MB, free: 24.88 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009149/0.259, allocations: 0.8921 MB / 423.5 MB, free: 24.05 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001526/0.2605, allocations: 0.9498 MB / 424.4 MB, free: 23.4 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.157e-05/0.2605, allocations: 7.062 kB / 424.4 MB, free: 23.39 MB / 330.7 MB Notification: Performance of matching and sorting (n=133) (initialization): time 0.003073/0.2636, allocations: 1.279 MB / 425.7 MB, free: 22.89 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.091e-05/0.2636, allocations: 10.8 kB / 425.7 MB, free: 22.89 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.096e-05/0.2636, allocations: 12.72 kB / 425.7 MB, free: 22.89 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001305/0.2649, allocations: 283.2 kB / 426 MB, free: 22.84 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000801/0.2657, allocations: 203.2 kB / 426.2 MB, free: 22.82 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006631/0.2724, allocations: 4.36 MB / 430.6 MB, free: 19.59 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009986/0.2734, allocations: 142.4 kB / 430.7 MB, free: 19.54 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.262e-05/0.2734, allocations: 45 kB / 430.7 MB, free: 19.53 MB / 330.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.0005699/0.274, allocations: 314.9 kB / 431.1 MB, free: 19.29 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001584/0.2742, allocations: 108.7 kB / 431.2 MB, free: 19.23 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001764/0.2759, allocations: 0.9147 MB / 432.1 MB, free: 18.84 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.034e-05/0.2759, allocations: 12.17 kB / 432.1 MB, free: 18.84 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.2759, allocations: 3.094 kB / 432.1 MB, free: 18.84 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.387e-05/0.276, allocations: 8.859 kB / 432.1 MB, free: 18.84 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002863/0.2788, allocations: 1.771 MB / 433.9 MB, free: 17.94 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/0.2788, allocations: 4 kB / 433.9 MB, free: 17.93 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006264/0.2795, allocations: 139.2 kB / 434 MB, free: 17.89 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000258/0.2797, allocations: 98.55 kB / 434.1 MB, free: 17.84 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.274e-05/0.2798, allocations: 23.36 kB / 434.1 MB, free: 17.82 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002358/0.2821, allocations: 4.336 MB / 438.5 MB, free: 13.54 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.2821, allocations: 5.312 kB / 438.5 MB, free: 13.53 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002117/0.2842, allocations: 1.398 MB / 439.9 MB, free: 12.74 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001425/0.2844, allocations: 110.8 kB / 440 MB, free: 12.66 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001198/0.2845, allocations: 19.09 kB / 440 MB, free: 12.64 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005677/0.2851, allocations: 75.33 kB / 440.1 MB, free: 12.61 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001616/0.2852, allocations: 73.72 kB / 440.1 MB, free: 12.56 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.426e-05/0.2853, allocations: 33.53 kB / 440.2 MB, free: 12.55 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0006221/0.2859, allocations: 0.5028 MB / 440.7 MB, free: 12.26 MB / 330.7 MB Notification: Performance of sort global known variables: time 1e-07/0.2859, allocations: 0 / 440.7 MB, free: 12.26 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001151/0.2871, allocations: 312.5 kB / 441 MB, free: 12.05 MB / 330.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.0001886/0.2873, allocations: 142 kB / 441.1 MB, free: 11.9 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001888/0.2891, allocations: 1.09 MB / 442.2 MB, free: 10.79 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/0.2891, allocations: 0 / 442.2 MB, free: 10.79 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008725/0.29, allocations: 0.7245 MB / 442.9 MB, free: 10.03 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007413/0.2908, allocations: 163.3 kB / 443.1 MB, free: 9.879 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00328/0.294, allocations: 2.041 MB / 445.1 MB, free: 7.809 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004381/0.2945, allocations: 0.4995 MB / 445.6 MB, free: 7.277 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0004568/0.2949, allocations: 131 kB / 445.8 MB, free: 7.145 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001854/0.2951, allocations: 84.47 kB / 445.8 MB, free: 7.062 MB / 330.7 MB Notification: Performance of SimCode: time 1.172e-06/0.2951, allocations: 0 / 445.8 MB, free: 7.062 MB / 330.7 MB Notification: Performance of Templates: time 0.02245/0.3176, allocations: 12.07 MB / 457.9 MB, free: 11.2 MB / 346.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: 6.03964883601293]