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.001167/0.001167, allocations: 88.52 kB / 19.93 MB, free: 4.605 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.001333/0.001333, allocations: 173.9 kB / 23.21 MB, free: 1.328 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 0.9315/0.9315, allocations: 177.1 MB / 203.5 MB, free: 5.758 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.02741/0.02741, allocations: 7.115 MB / 267.1 MB, free: 6.258 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.112e-06/1.112e-06, allocations: 0 / 393.5 MB, free: 3.535 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.339e-05/1.45e-05, allocations: 2.281 kB / 393.5 MB, free: 3.531 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.Test.TestInductorReplacement): time 0.004206/0.00422, allocations: 5.427 MB / 398.9 MB, free: 14.07 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.002473/0.006693, allocations: 1.823 MB / 400.7 MB, free: 12.24 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004433/0.007136, allocations: 39.69 kB / 400.8 MB, free: 12.2 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003198/0.007456, allocations: 197.9 kB / 401 MB, free: 12.01 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005741/0.00803, allocations: 360.7 kB / 401.3 MB, free: 11.65 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007695/0.0088, allocations: 0.5382 MB / 401.8 MB, free: 11.11 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001005/0.009805, allocations: 1.635 MB / 403.5 MB, free: 9.473 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004554/0.01026, allocations: 403.2 kB / 403.9 MB, free: 9.055 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006958/0.01096, allocations: 0.8848 MB / 404.8 MB, free: 8.168 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000419/0.01138, allocations: 490.4 kB / 405.2 MB, free: 7.688 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00014/0.01152, allocations: 160 kB / 405.4 MB, free: 7.531 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001879/0.0117, allocations: 175.9 kB / 405.6 MB, free: 7.359 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001863/0.01189, allocations: 354.7 kB / 405.9 MB, free: 7.012 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003012/0.01219, allocations: 490.8 kB / 406.4 MB, free: 6.531 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001098/0.01329, allocations: 1.764 MB / 408.2 MB, free: 4.762 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.01329, allocations: 0 / 408.2 MB, free: 4.762 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.01329, allocations: 0 / 408.2 MB, free: 4.762 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.423e-05/0.01331, allocations: 0 / 408.2 MB, free: 4.762 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.002202/0.01551, allocations: 2.36 MB / 410.5 MB, free: 2.336 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.01555, allocations: 12.03 kB / 410.5 MB, free: 2.324 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005157/0.01607, allocations: 247.9 kB / 410.8 MB, free: 2.082 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009445/0.01701, allocations: 0.8102 MB / 411.6 MB, free: 1.242 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.722e-05/0.01706, allocations: 86.44 kB / 411.7 MB, free: 1.156 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001108/0.01717, allocations: 116.3 kB / 411.8 MB, free: 1.043 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1359/0.1531, allocations: 1.311 MB / 413.1 MB, free: 29.87 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.265e-05/0.1531, allocations: 2.062 kB / 413.1 MB, free: 29.87 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.64e-05/0.1532, allocations: 46 kB / 413.1 MB, free: 29.87 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.814e-05/0.1532, allocations: 25.31 kB / 413.2 MB, free: 29.87 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001122/0.1544, allocations: 0.7731 MB / 413.9 MB, free: 29.66 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003481/0.1578, allocations: 2.888 MB / 416.8 MB, free: 28.23 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008301/0.1587, allocations: 0.6588 MB / 417.5 MB, free: 27.94 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005168/0.1592, allocations: 395.3 kB / 417.9 MB, free: 27.81 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.942e-05/0.1592, allocations: 10.98 kB / 417.9 MB, free: 27.81 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006771/0.1599, allocations: 0.7142 MB / 418.6 MB, free: 27.4 MB / 330.7 MB Notification: Performance of pre-optimization done (n=87): time 2.455e-06/0.1599, allocations: 0 / 418.6 MB, free: 27.4 MB / 330.7 MB Notification: Performance of matching and sorting (n=87): time 0.001731/0.1616, allocations: 1.217 MB / 419.8 MB, free: 26.95 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.562e-05/0.1617, allocations: 304.3 kB / 420.1 MB, free: 26.6 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006443/0.1623, allocations: 0.7491 MB / 420.9 MB, free: 26.27 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.878e-05/0.1624, allocations: 50.44 kB / 420.9 MB, free: 26.23 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002412/0.1626, allocations: 0.5477 MB / 421.5 MB, free: 25.85 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001393/0.1628, allocations: 293.5 kB / 421.7 MB, free: 25.66 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001957/0.163, allocations: 193.4 kB / 421.9 MB, free: 25.56 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.996e-05/0.163, allocations: 344.4 kB / 422.3 MB, free: 25.24 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004085/0.1634, allocations: 313.6 kB / 422.6 MB, free: 25.13 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005267/0.1639, allocations: 0.8939 MB / 423.5 MB, free: 24.3 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009015/0.1648, allocations: 0.9521 MB / 424.4 MB, free: 23.64 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.949e-06/0.1649, allocations: 8.047 kB / 424.4 MB, free: 23.64 MB / 330.7 MB Notification: Performance of matching and sorting (n=133) (initialization): time 0.00171/0.1666, allocations: 1.283 MB / 425.7 MB, free: 23.14 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.115e-05/0.1666, allocations: 9.469 kB / 425.7 MB, free: 23.14 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.356e-05/0.1666, allocations: 10.41 kB / 425.7 MB, free: 23.14 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006848/0.1673, allocations: 279.8 kB / 426 MB, free: 23.09 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004237/0.1677, allocations: 206.8 kB / 426.2 MB, free: 23.06 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003891/0.1716, allocations: 4.356 MB / 430.6 MB, free: 19.84 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004263/0.172, allocations: 145.6 kB / 430.7 MB, free: 19.79 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.929e-05/0.1721, allocations: 45.12 kB / 430.7 MB, free: 19.79 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.0002882/0.1724, allocations: 312.3 kB / 431 MB, free: 19.55 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.595e-05/0.1724, allocations: 105.8 kB / 431.2 MB, free: 19.5 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001081/0.1735, allocations: 0.9176 MB / 432.1 MB, free: 19.11 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-06/0.1735, allocations: 9.844 kB / 432.1 MB, free: 19.11 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/0.1735, allocations: 5.266 kB / 432.1 MB, free: 19.11 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.786e-06/0.1735, allocations: 4.547 kB / 432.1 MB, free: 19.11 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001855/0.1754, allocations: 1.772 MB / 433.9 MB, free: 18.25 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.1754, allocations: 3.438 kB / 433.9 MB, free: 18.25 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000342/0.1757, allocations: 144.6 kB / 434 MB, free: 18.21 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001514/0.1759, allocations: 96.27 kB / 434.1 MB, free: 18.16 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.509e-05/0.1759, allocations: 22.05 kB / 434.1 MB, free: 18.14 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001364/0.1773, allocations: 4.339 MB / 438.5 MB, free: 13.86 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.1773, allocations: 5.719 kB / 438.5 MB, free: 13.85 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001366/0.1787, allocations: 1.392 MB / 439.9 MB, free: 13.07 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.871e-05/0.1787, allocations: 106.1 kB / 440 MB, free: 12.99 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.74e-05/0.1788, allocations: 28.69 kB / 440 MB, free: 12.97 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002714/0.1791, allocations: 74.83 kB / 440.1 MB, free: 12.93 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.97e-05/0.1792, allocations: 66.75 kB / 440.1 MB, free: 12.89 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.905e-05/0.1792, allocations: 36.91 kB / 440.2 MB, free: 12.88 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003295/0.1795, allocations: 0.4963 MB / 440.7 MB, free: 12.59 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1795, allocations: 4 kB / 440.7 MB, free: 12.59 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005876/0.1801, allocations: 312.2 kB / 441 MB, free: 12.5 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.000121/0.1802, allocations: 149.3 kB / 441.1 MB, free: 12.38 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001038/0.1813, allocations: 1.088 MB / 442.2 MB, free: 11.61 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.1813, allocations: 4 kB / 442.2 MB, free: 11.61 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005044/0.1818, allocations: 0.7418 MB / 442.9 MB, free: 10.83 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004369/0.1822, allocations: 157.1 kB / 443.1 MB, free: 10.68 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001788/0.184, allocations: 2.091 MB / 445.2 MB, free: 8.555 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002381/0.1843, allocations: 0.4994 MB / 445.7 MB, free: 8.023 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001546/0.1844, allocations: 88.47 kB / 445.8 MB, free: 7.938 MB / 330.7 MB Notification: Performance of SimCode: time 4.21e-07/0.1844, allocations: 0 / 445.8 MB, free: 7.938 MB / 330.7 MB Notification: Performance of Templates: time 0.01659/0.201, allocations: 26.32 MB / 472.1 MB, free: 13.61 MB / 362.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: 5.757248144131154]