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.00162/0.00162, allocations: 92.22 kB / 19.65 MB, free: 276 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.00182/0.00182, allocations: 173 kB / 23.02 MB, free: 1.547 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.028/1.028, allocations: 177.1 MB / 203.4 MB, free: 5.637 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.027/0.027, allocations: 7.111 MB / 267.1 MB, free: 6.059 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.462e-06/1.462e-06, allocations: 0 / 339.1 MB, free: 9.906 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.869e-05/3.016e-05, allocations: 6.25 kB / 339.1 MB, free: 9.898 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.Test.TestInductorReplacement): time 0.006777/0.006807, allocations: 5.889 MB / 345 MB, free: 3.973 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002935/0.009742, allocations: 1.848 MB / 346.8 MB, free: 2.121 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004535/0.0102, allocations: 35.75 kB / 346.8 MB, free: 2.086 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003291/0.01052, allocations: 189.9 kB / 347 MB, free: 1.898 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006663/0.01119, allocations: 364.7 kB / 347.4 MB, free: 1.539 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008184/0.01201, allocations: 0.5382 MB / 347.9 MB, free: 1 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001637/0.01365, allocations: 1.631 MB / 349.5 MB, free: 15.36 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006783/0.01433, allocations: 407.2 kB / 349.9 MB, free: 14.95 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001177/0.0155, allocations: 0.9082 MB / 350.9 MB, free: 14.04 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006249/0.01613, allocations: 0.4906 MB / 351.3 MB, free: 13.54 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002174/0.01634, allocations: 160 kB / 351.5 MB, free: 13.39 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002496/0.01659, allocations: 168 kB / 351.7 MB, free: 13.22 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002566/0.01685, allocations: 350.8 kB / 352 MB, free: 12.88 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000462/0.01731, allocations: 482.7 kB / 352.5 MB, free: 12.41 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001238/0.01855, allocations: 1.066 MB / 353.5 MB, free: 11.34 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/0.01855, allocations: 0 / 353.5 MB, free: 11.34 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.01855, allocations: 0 / 353.5 MB, free: 11.34 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.575e-05/0.01858, allocations: 4 kB / 353.5 MB, free: 11.33 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.003096/0.02168, allocations: 2.49 MB / 356 MB, free: 8.758 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/0.02171, allocations: 8.031 kB / 356 MB, free: 8.75 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008446/0.02256, allocations: 319.8 kB / 356.4 MB, free: 8.438 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007351/0.02329, allocations: 0.7564 MB / 357.1 MB, free: 7.656 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.55e-05/0.02334, allocations: 82.44 kB / 357.2 MB, free: 7.574 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001123/0.02345, allocations: 120.4 kB / 357.3 MB, free: 7.457 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001048/0.0245, allocations: 1.038 MB / 358.3 MB, free: 6.305 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.541e-05/0.02453, allocations: 7.891 kB / 358.4 MB, free: 6.297 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.379e-05/0.02459, allocations: 51.98 kB / 358.4 MB, free: 6.246 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.693e-05/0.02461, allocations: 24 kB / 358.4 MB, free: 6.223 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005845/0.02519, allocations: 360.1 kB / 358.8 MB, free: 5.859 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003184/0.02838, allocations: 2.844 MB / 361.6 MB, free: 2.898 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000618/0.02899, allocations: 462 kB / 362.1 MB, free: 2.434 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003444/0.02934, allocations: 246 kB / 362.3 MB, free: 2.191 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.395e-05/0.02937, allocations: 16.64 kB / 362.3 MB, free: 2.176 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005362/0.02991, allocations: 0.5692 MB / 362.9 MB, free: 1.531 MB / 282.7 MB Notification: Performance of pre-optimization done (n=87): time 1.883e-06/0.02991, allocations: 4 kB / 362.9 MB, free: 1.527 MB / 282.7 MB Notification: Performance of matching and sorting (n=87): time 0.001559/0.03147, allocations: 0.8227 MB / 363.7 MB, free: 0.6914 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001053/0.03157, allocations: 303.7 kB / 364 MB, free: 336 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005508/0.03212, allocations: 0.7142 MB / 364.7 MB, free: 15.6 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.06e-05/0.03218, allocations: 45.7 kB / 364.8 MB, free: 15.55 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00029/0.03247, allocations: 0.601 MB / 365.4 MB, free: 14.94 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001676/0.03263, allocations: 297.5 kB / 365.7 MB, free: 14.65 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001827/0.03282, allocations: 196.6 kB / 365.9 MB, free: 14.45 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001287/0.03294, allocations: 0.5199 MB / 366.4 MB, free: 13.92 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002149/0.03316, allocations: 130.5 kB / 366.5 MB, free: 13.79 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005175/0.03368, allocations: 0.8544 MB / 367.4 MB, free: 12.67 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006753/0.03435, allocations: 0.765 MB / 368.1 MB, free: 11.72 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.851e-06/0.03436, allocations: 4 kB / 368.1 MB, free: 11.72 MB / 298.7 MB Notification: Performance of matching and sorting (n=133) (initialization): time 0.001189/0.03555, allocations: 0.9449 MB / 369.1 MB, free: 10.76 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.03556, allocations: 14.25 kB / 369.1 MB, free: 10.75 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.299e-05/0.03557, allocations: 15.94 kB / 369.1 MB, free: 10.73 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007583/0.03633, allocations: 307 kB / 369.4 MB, free: 10.42 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003903/0.03672, allocations: 207.6 kB / 369.6 MB, free: 10.22 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003358/0.04008, allocations: 4.673 MB / 374.3 MB, free: 5.297 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003629/0.04044, allocations: 139.3 kB / 374.4 MB, free: 5.16 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.16e-05/0.04049, allocations: 40 kB / 374.5 MB, free: 5.121 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.0002185/0.0407, allocations: 248.2 kB / 374.7 MB, free: 4.867 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001139/0.04082, allocations: 139.3 kB / 374.8 MB, free: 4.73 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007725/0.04159, allocations: 0.6398 MB / 375.5 MB, free: 4.066 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.0416, allocations: 8 kB / 375.5 MB, free: 4.059 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.0416, allocations: 4 kB / 375.5 MB, free: 4.055 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.702e-06/0.04161, allocations: 3.984 kB / 375.5 MB, free: 4.051 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00154/0.04315, allocations: 1.496 MB / 377 MB, free: 2.492 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/0.04315, allocations: 0 / 377 MB, free: 2.492 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003226/0.04347, allocations: 127.8 kB / 377.1 MB, free: 2.367 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003686/0.04384, allocations: 111 kB / 377.2 MB, free: 2.246 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.489e-05/0.04389, allocations: 27.97 kB / 377.3 MB, free: 2.219 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00233/0.04622, allocations: 5.867 MB / 383.1 MB, free: 11.98 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.04622, allocations: 0 / 383.1 MB, free: 11.98 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001066/0.04728, allocations: 0.9709 MB / 384.1 MB, free: 10.97 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.187e-05/0.04738, allocations: 111.1 kB / 384.2 MB, free: 10.86 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.271e-05/0.04745, allocations: 20 kB / 384.2 MB, free: 10.84 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000249/0.0477, allocations: 59.95 kB / 384.3 MB, free: 10.79 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001219/0.04782, allocations: 84.8 kB / 384.4 MB, free: 10.7 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003079/0.04813, allocations: 31.92 kB / 384.4 MB, free: 10.67 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0003661/0.04849, allocations: 462.9 kB / 384.8 MB, free: 10.22 MB / 314.7 MB Notification: Performance of sort global known variables: time 9e-08/0.04849, allocations: 0 / 384.8 MB, free: 10.22 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006441/0.04914, allocations: 315.3 kB / 385.2 MB, free: 9.914 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.0001496/0.04929, allocations: 145.7 kB / 385.3 MB, free: 9.762 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0009552/0.05024, allocations: 0.929 MB / 386.2 MB, free: 8.801 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.05025, allocations: 4 kB / 386.2 MB, free: 8.797 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005268/0.05077, allocations: 0.7751 MB / 387 MB, free: 7.965 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004663/0.05124, allocations: 166.8 kB / 387.2 MB, free: 7.809 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002468/0.05371, allocations: 1.945 MB / 389.1 MB, free: 5.812 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000174/0.05388, allocations: 213.4 kB / 389.3 MB, free: 5.582 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002654/0.05415, allocations: 135 kB / 389.5 MB, free: 5.445 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001468/0.05429, allocations: 80.47 kB / 389.5 MB, free: 5.367 MB / 314.7 MB Notification: Performance of SimCode: time 7.81e-07/0.05429, allocations: 0 / 389.5 MB, free: 5.367 MB / 314.7 MB Notification: Performance of Templates: time 0.01642/0.07071, allocations: 12.79 MB / 402.3 MB, free: 8.758 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.683109773788601]