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.001029/0.001029, allocations: 81.95 kB / 19.87 MB, free: 4.621 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.001161/0.001161, allocations: 169.7 kB / 23.28 MB, free: 1.219 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.008/1.008, allocations: 177.1 MB / 203.7 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.02715/0.02715, allocations: 7.117 MB / 267.4 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.613e-06/1.613e-06, allocations: 0 / 339.5 MB, free: 9.594 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.375e-05/1.536e-05, allocations: 5.266 kB / 339.5 MB, free: 9.59 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.Test.TestInductorReplacement): time 0.004203/0.004218, allocations: 5.765 MB / 345.3 MB, free: 3.785 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002634/0.006852, allocations: 1.86 MB / 347.2 MB, free: 1.922 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005084/0.007361, allocations: 35.75 kB / 347.2 MB, free: 1.887 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003501/0.007711, allocations: 186 kB / 347.4 MB, free: 1.703 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005471/0.008258, allocations: 360.7 kB / 347.7 MB, free: 1.348 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007115/0.008969, allocations: 0.5421 MB / 348.3 MB, free: 0.8047 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001039/0.01001, allocations: 1.631 MB / 349.9 MB, free: 15.17 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004875/0.0105, allocations: 407.1 kB / 350.3 MB, free: 14.75 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008825/0.01138, allocations: 0.912 MB / 351.2 MB, free: 13.84 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005281/0.01191, allocations: 494.4 kB / 351.7 MB, free: 13.35 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001678/0.01207, allocations: 160 kB / 351.8 MB, free: 13.2 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002065/0.01228, allocations: 168 kB / 352 MB, free: 13.03 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001843/0.01247, allocations: 350.7 kB / 352.4 MB, free: 12.69 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003679/0.01283, allocations: 486.7 kB / 352.8 MB, free: 12.21 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009344/0.01377, allocations: 1.066 MB / 353.9 MB, free: 11.14 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.01377, allocations: 0 / 353.9 MB, free: 11.14 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.01377, allocations: 4 kB / 353.9 MB, free: 11.14 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.334e-05/0.0138, allocations: 0 / 353.9 MB, free: 11.14 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.002407/0.0162, allocations: 2.555 MB / 356.5 MB, free: 8.496 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.637e-05/0.01625, allocations: 8.031 kB / 356.5 MB, free: 8.488 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006032/0.01685, allocations: 319.8 kB / 356.8 MB, free: 8.176 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007636/0.01762, allocations: 0.7485 MB / 357.5 MB, free: 7.402 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.405e-05/0.01767, allocations: 86.44 kB / 357.6 MB, free: 7.316 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001243/0.01779, allocations: 120.4 kB / 357.7 MB, free: 7.199 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001314/0.01911, allocations: 0.9672 MB / 358.7 MB, free: 6.117 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.901e-05/0.01915, allocations: 11.94 kB / 358.7 MB, free: 6.105 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.506e-05/0.01924, allocations: 47.98 kB / 358.7 MB, free: 6.059 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.345e-05/0.01927, allocations: 24 kB / 358.8 MB, free: 6.035 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006467/0.01991, allocations: 282.1 kB / 359 MB, free: 5.746 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004707/0.02462, allocations: 2.708 MB / 361.8 MB, free: 2.93 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007555/0.02538, allocations: 443.7 kB / 362.2 MB, free: 2.484 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003585/0.02573, allocations: 218 kB / 362.4 MB, free: 2.27 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.743e-05/0.02577, allocations: 16.64 kB / 362.4 MB, free: 2.254 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004611/0.02623, allocations: 0.5535 MB / 363 MB, free: 1.625 MB / 282.7 MB Notification: Performance of pre-optimization done (n=87): time 3.056e-06/0.02624, allocations: 0 / 363 MB, free: 1.625 MB / 282.7 MB Notification: Performance of matching and sorting (n=87): time 0.001069/0.0273, allocations: 0.7563 MB / 363.7 MB, free: 0.8555 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.978e-05/0.0274, allocations: 299.7 kB / 364 MB, free: 0.4961 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004836/0.02789, allocations: 0.6981 MB / 364.7 MB, free: 15.78 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.041e-05/0.02794, allocations: 45.64 kB / 364.8 MB, free: 15.73 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002985/0.02824, allocations: 0.6126 MB / 365.4 MB, free: 15.11 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001686/0.02841, allocations: 297.4 kB / 365.7 MB, free: 14.82 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001873/0.02859, allocations: 204.5 kB / 365.9 MB, free: 14.61 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001297/0.02872, allocations: 0.5159 MB / 366.4 MB, free: 14.09 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001454/0.02887, allocations: 106.5 kB / 366.5 MB, free: 13.98 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000427/0.02929, allocations: 0.8347 MB / 367.3 MB, free: 12.88 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005589/0.02985, allocations: 0.7063 MB / 368 MB, free: 11.99 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.354e-06/0.02986, allocations: 8 kB / 368 MB, free: 11.98 MB / 298.7 MB Notification: Performance of matching and sorting (n=133) (initialization): time 0.001042/0.0309, allocations: 0.882 MB / 368.9 MB, free: 11.09 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/0.03092, allocations: 8 kB / 368.9 MB, free: 11.08 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.172e-05/0.03093, allocations: 12 kB / 368.9 MB, free: 11.07 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000727/0.03166, allocations: 311.3 kB / 369.2 MB, free: 10.75 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003787/0.03204, allocations: 207.6 kB / 369.4 MB, free: 10.55 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003009/0.03505, allocations: 4.585 MB / 374 MB, free: 5.734 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003839/0.03543, allocations: 123.3 kB / 374.1 MB, free: 5.613 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.028e-05/0.03547, allocations: 39.98 kB / 374.2 MB, free: 5.574 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.0002357/0.03571, allocations: 244.3 kB / 374.4 MB, free: 5.324 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001108/0.03582, allocations: 127.4 kB / 374.6 MB, free: 5.199 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006671/0.03649, allocations: 0.6084 MB / 375.2 MB, free: 4.566 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.211e-06/0.03649, allocations: 8 kB / 375.2 MB, free: 4.559 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.0365, allocations: 4 kB / 375.2 MB, free: 4.555 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.626e-06/0.03651, allocations: 7.969 kB / 375.2 MB, free: 4.547 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001401/0.03791, allocations: 1.321 MB / 376.5 MB, free: 3.172 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.03791, allocations: 0 / 376.5 MB, free: 3.172 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003033/0.03821, allocations: 123.9 kB / 376.6 MB, free: 3.051 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002162/0.03843, allocations: 118.9 kB / 376.7 MB, free: 2.922 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.16e-05/0.03847, allocations: 27.97 kB / 376.8 MB, free: 2.895 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002256/0.04073, allocations: 5.795 MB / 382.6 MB, free: 12.76 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.04073, allocations: 0 / 382.6 MB, free: 12.76 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009028/0.04163, allocations: 0.8927 MB / 383.5 MB, free: 11.82 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.006e-05/0.04172, allocations: 111.1 kB / 383.6 MB, free: 11.71 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.194e-05/0.04179, allocations: 32.16 kB / 383.6 MB, free: 11.68 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002635/0.04206, allocations: 51.95 kB / 383.6 MB, free: 11.63 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001069/0.04216, allocations: 76.86 kB / 383.7 MB, free: 11.56 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.039e-05/0.04219, allocations: 27.98 kB / 383.7 MB, free: 11.53 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0003952/0.04259, allocations: 426.8 kB / 384.2 MB, free: 11.12 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.04259, allocations: 0 / 384.2 MB, free: 11.12 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0007163/0.04331, allocations: 323.2 kB / 384.5 MB, free: 10.8 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.0001515/0.04346, allocations: 141.6 kB / 384.6 MB, free: 10.65 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001003/0.04446, allocations: 0.8789 MB / 385.5 MB, free: 9.742 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.04446, allocations: 4 kB / 385.5 MB, free: 9.738 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004666/0.04493, allocations: 0.7471 MB / 386.2 MB, free: 8.934 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004913/0.04542, allocations: 169.3 kB / 386.4 MB, free: 8.773 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002499/0.04792, allocations: 1.921 MB / 388.3 MB, free: 6.801 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001588/0.04808, allocations: 217.4 kB / 388.5 MB, free: 6.566 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002719/0.04835, allocations: 115 kB / 388.7 MB, free: 6.449 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000351/0.0487, allocations: 278.1 kB / 388.9 MB, free: 6.176 MB / 314.7 MB Notification: Performance of SimCode: time 8.32e-07/0.0487, allocations: 0 / 388.9 MB, free: 6.176 MB / 314.7 MB Notification: Performance of Templates: time 0.01733/0.06604, allocations: 13.12 MB / 402.1 MB, free: 9.285 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.2879247860983014]