Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ChaoticCircuits_ChaoticCircuits.Test.TestEMF.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.0007631/0.0007631, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00106/0.001823, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0007311/0.0007311, allocations: 157.2 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009535/0.001685, allocations: 467.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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.023/1.023, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08421/1.107, allocations: 53.67 MB / 243.2 MB, free: 15.58 MB / 250.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.03432/0.03432, allocations: 7.109 MB / 251.1 MB, free: 7.859 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.005765/0.04009, allocations: 2.838 MB / 253.9 MB, free: 5.016 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.TestEMF,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ChaoticCircuits_ChaoticCircuits.Test.TestEMF") translateModel(ChaoticCircuits.Test.TestEMF,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ChaoticCircuits_ChaoticCircuits.Test.TestEMF") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.994e-06/1.994e-06, allocations: 0 / 255.2 MB, free: 3.742 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.081e-05/2.28e-05, allocations: 6.312 kB / 255.2 MB, free: 3.734 MB / 250.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.Test.TestEMF): time 0.002573/0.002595, allocations: 2.134 MB / 257.3 MB, free: 1.582 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002774/0.002873, allocations: 115.5 kB / 257.4 MB, free: 1.469 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.549e-05/0.002938, allocations: 4 kB / 257.4 MB, free: 1.465 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 4.37e-05/0.002982, allocations: 11.86 kB / 257.5 MB, free: 1.453 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001089/0.003091, allocations: 55.56 kB / 257.5 MB, free: 1.398 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 5.395e-05/0.003145, allocations: 15.98 kB / 257.5 MB, free: 1.383 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001181/0.003263, allocations: 127.4 kB / 257.6 MB, free: 1.258 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001133/0.003376, allocations: 45.86 kB / 257.7 MB, free: 1.215 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001183/0.003494, allocations: 87.8 kB / 257.8 MB, free: 1.129 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.483e-05/0.003579, allocations: 39.84 kB / 257.8 MB, free: 1.09 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.465e-05/0.003604, allocations: 15.94 kB / 257.8 MB, free: 1.074 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.487e-05/0.003619, allocations: 8 kB / 257.8 MB, free: 1.066 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.963e-05/0.003638, allocations: 19.94 kB / 257.9 MB, free: 1.047 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.729e-05/0.003676, allocations: 39.94 kB / 257.9 MB, free: 1.008 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001445/0.00382, allocations: 83.62 kB / 258 MB, free: 0.9258 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.572e-05/0.003836, allocations: 3.984 kB / 258 MB, free: 0.9219 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.003837, allocations: 0 / 258 MB, free: 0.9219 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.465e-05/0.003852, allocations: 0 / 258 MB, free: 0.9219 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0004215/0.004273, allocations: 340.1 kB / 258.3 MB, free: 0.5664 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.463e-05/0.004308, allocations: 12.58 kB / 258.3 MB, free: 0.5547 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.977e-05/0.004357, allocations: 20.92 kB / 258.4 MB, free: 0.5352 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001555/0.004513, allocations: 133.5 kB / 258.5 MB, free: 388 kB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.28e-05/0.004526, allocations: 8.375 kB / 258.5 MB, free: 380 kB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.679e-05/0.004553, allocations: 20.36 kB / 258.5 MB, free: 360 kB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001529/0.004705, allocations: 102.9 kB / 258.6 MB, free: 248 kB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.004717, allocations: 4.172 kB / 258.6 MB, free: 244 kB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.004727, allocations: 8.125 kB / 258.6 MB, free: 236 kB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.004733, allocations: 4 kB / 258.6 MB, free: 232 kB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.19e-05/0.004785, allocations: 35.92 kB / 258.7 MB, free: 196 kB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004346/0.00522, allocations: 315 kB / 259 MB, free: 15.86 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.077e-05/0.005301, allocations: 46.56 kB / 259 MB, free: 15.8 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.958e-05/0.00532, allocations: 12.86 kB / 259 MB, free: 15.79 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.064e-06/0.005327, allocations: 0 / 259 MB, free: 15.79 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.328e-05/0.00535, allocations: 38.48 kB / 259.1 MB, free: 15.74 MB / 266.7 MB Notification: Performance of pre-optimization done (n=7): time 1.092e-06/0.005352, allocations: 4 kB / 259.1 MB, free: 15.74 MB / 266.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001375/0.005489, allocations: 57.77 kB / 259.1 MB, free: 15.68 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.997e-05/0.005519, allocations: 59.41 kB / 259.2 MB, free: 15.61 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.735e-05/0.005596, allocations: 126.7 kB / 259.3 MB, free: 15.47 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.819e-06/0.005606, allocations: 25.7 kB / 259.3 MB, free: 15.44 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.038e-05/0.005657, allocations: 119.8 kB / 259.4 MB, free: 15.32 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.479e-05/0.005681, allocations: 39.72 kB / 259.5 MB, free: 15.28 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.184e-05/0.005713, allocations: 25.7 kB / 259.5 MB, free: 15.25 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.291e-05/0.005796, allocations: 322.8 kB / 259.8 MB, free: 14.92 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.631e-05/0.005812, allocations: 8 kB / 259.8 MB, free: 14.91 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.43e-05/0.005847, allocations: 44.22 kB / 259.9 MB, free: 14.86 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.876e-05/0.005905, allocations: 64.5 kB / 259.9 MB, free: 14.78 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.005908, allocations: 0 / 259.9 MB, free: 14.78 MB / 266.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 8.728e-05/0.005995, allocations: 85.53 kB / 260 MB, free: 14.69 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.006009, allocations: 4 kB / 260 MB, free: 14.68 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.006016, allocations: 7.938 kB / 260 MB, free: 14.68 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.648e-06/0.006026, allocations: 0 / 260 MB, free: 14.68 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001818/0.006208, allocations: 27.98 kB / 260.1 MB, free: 14.65 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.006213, allocations: 4 kB / 260.1 MB, free: 14.64 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.238e-05/0.006245, allocations: 11.95 kB / 260.1 MB, free: 14.63 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.348e-06/0.00625, allocations: 0 / 260.1 MB, free: 14.63 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.963e-05/0.006319, allocations: 125.9 kB / 260.2 MB, free: 14.5 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.778e-05/0.006337, allocations: 4 kB / 260.2 MB, free: 14.5 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.22e-05/0.006369, allocations: 16.38 kB / 260.2 MB, free: 14.48 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.006372, allocations: 3.984 kB / 260.2 MB, free: 14.47 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.043e-06/0.006374, allocations: 0 / 260.2 MB, free: 14.47 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.349e-06/0.006379, allocations: 3.984 kB / 260.2 MB, free: 14.47 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001129/0.006492, allocations: 97.8 kB / 260.3 MB, free: 14.36 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.512e-06/0.006493, allocations: 0 / 260.3 MB, free: 14.36 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.353e-05/0.006577, allocations: 19.98 kB / 260.3 MB, free: 14.34 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.033e-05/0.006587, allocations: 7.953 kB / 260.4 MB, free: 14.33 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.006589, allocations: 4 kB / 260.4 MB, free: 14.32 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.486e-06/0.006597, allocations: 3.938 kB / 260.4 MB, free: 14.32 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.006598, allocations: 0 / 260.4 MB, free: 14.32 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.006601, allocations: 4 kB / 260.4 MB, free: 14.32 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001353/0.006736, allocations: 163.4 kB / 260.5 MB, free: 14.14 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.119e-05/0.006747, allocations: 4 kB / 260.5 MB, free: 14.14 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4e-05/0.006787, allocations: 7.938 kB / 260.5 MB, free: 14.13 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.258e-05/0.00682, allocations: 15.92 kB / 260.6 MB, free: 14.11 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.585e-06/0.006822, allocations: 0 / 260.6 MB, free: 14.11 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.385e-05/0.006846, allocations: 28.48 kB / 260.6 MB, free: 14.09 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006846, allocations: 0 / 260.6 MB, free: 14.09 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000157/0.007003, allocations: 35.92 kB / 260.6 MB, free: 14.05 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (emf.phi,inertia.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.809e-05/0.007101, allocations: 72.42 kB / 260.7 MB, free: 13.97 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 9.185e-05/0.007193, allocations: 36.78 kB / 260.7 MB, free: 13.93 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 7.635e-06/0.007201, allocations: 0 / 260.7 MB, free: 13.93 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.259e-05/0.007233, allocations: 28.78 kB / 260.7 MB, free: 13.9 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000178/0.007411, allocations: 16 kB / 260.8 MB, free: 13.89 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001443/0.008854, allocations: 284.7 kB / 261 MB, free: 13.59 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.63e-05/0.008891, allocations: 63.34 kB / 261.1 MB, free: 13.5 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.961e-05/0.00892, allocations: 8.484 kB / 261.1 MB, free: 13.5 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.214e-05/0.008972, allocations: 71.31 kB / 261.2 MB, free: 13.43 MB / 266.7 MB Notification: Performance of SimCode: time 9.22e-07/0.008973, allocations: 0 / 261.2 MB, free: 13.43 MB / 266.7 MB Notification: Performance of Templates: time 0.002632/0.01161, allocations: 0.8477 MB / 262 MB, free: 12.6 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f ChaoticCircuits_ChaoticCircuits.Test.TestEMF.makefile [Timeout 660] (rm -f ChaoticCircuits_ChaoticCircuits.Test.TestEMF.pipe ; mkfifo ChaoticCircuits_ChaoticCircuits.Test.TestEMF.pipe ; head -c 1048576 < ChaoticCircuits_ChaoticCircuits.Test.TestEMF.pipe >> ../files/ChaoticCircuits_ChaoticCircuits.Test.TestEMF.sim & ./ChaoticCircuits_ChaoticCircuits.Test.TestEMF -abortSlowSimulation -alarm=240 -lv LOG_STATS > ChaoticCircuits_ChaoticCircuits.Test.TestEMF.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.4824552945792675]