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.001541/0.001541, allocations: 81.17 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.001285/0.001285, allocations: 169 kB / 23.27 MB, free: 1.223 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.082/1.082, allocations: 177.2 MB / 203.7 MB, free: 5.508 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.02731/0.02731, allocations: 7.116 MB / 267.4 MB, free: 5.91 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.342e-06/1.342e-06, allocations: 0 / 339.5 MB, free: 10.67 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.202e-05/2.336e-05, allocations: 2.312 kB / 339.5 MB, free: 10.66 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.Test.TestEMF): time 0.002892/0.002916, allocations: 2.098 MB / 341.6 MB, free: 8.543 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003041/0.00322, allocations: 107.5 kB / 341.7 MB, free: 8.438 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.824e-05/0.003298, allocations: 4 kB / 341.7 MB, free: 8.434 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 5.206e-05/0.00335, allocations: 19.78 kB / 341.7 MB, free: 8.414 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001724/0.003522, allocations: 47.64 kB / 341.8 MB, free: 8.367 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 6.394e-05/0.003586, allocations: 19.97 kB / 341.8 MB, free: 8.348 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001301/0.003717, allocations: 139.3 kB / 341.9 MB, free: 8.211 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001195/0.003836, allocations: 33.23 kB / 342 MB, free: 8.18 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001121/0.003948, allocations: 75.8 kB / 342 MB, free: 8.105 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.946e-05/0.004038, allocations: 39.89 kB / 342.1 MB, free: 8.066 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.407e-05/0.004062, allocations: 12 kB / 342.1 MB, free: 8.055 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.906e-05/0.004081, allocations: 12 kB / 342.1 MB, free: 8.043 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 2.971e-05/0.00411, allocations: 27.86 kB / 342.1 MB, free: 8.016 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 4.457e-05/0.004155, allocations: 39.91 kB / 342.2 MB, free: 7.977 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001564/0.004311, allocations: 87.66 kB / 342.3 MB, free: 7.891 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.833e-06/0.004313, allocations: 4 kB / 342.3 MB, free: 7.887 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.41e-07/0.004314, allocations: 0 / 342.3 MB, free: 7.887 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.468e-06/0.004319, allocations: 0 / 342.3 MB, free: 7.887 MB / 314.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.000437/0.004756, allocations: 452.1 kB / 342.7 MB, free: 7.41 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.004794, allocations: 8.031 kB / 342.7 MB, free: 7.402 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.445e-05/0.004839, allocations: 24.84 kB / 342.7 MB, free: 7.379 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001321/0.004971, allocations: 152.3 kB / 342.9 MB, free: 7.203 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.239e-05/0.004983, allocations: 8.375 kB / 342.9 MB, free: 7.195 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.401e-05/0.005007, allocations: 12.38 kB / 342.9 MB, free: 7.184 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001599/0.005167, allocations: 102.9 kB / 343 MB, free: 7.074 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.00518, allocations: 192 / 343 MB, free: 7.074 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.255e-05/0.005192, allocations: 8.125 kB / 343 MB, free: 7.066 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.277e-06/0.005202, allocations: 4 kB / 343 MB, free: 7.062 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.739e-05/0.005259, allocations: 31.91 kB / 343.1 MB, free: 7.031 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004948/0.005754, allocations: 431.1 kB / 343.5 MB, free: 6.578 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.114e-05/0.005845, allocations: 50.98 kB / 343.5 MB, free: 6.516 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.49e-05/0.00587, allocations: 23.67 kB / 343.5 MB, free: 6.488 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.017e-06/0.005879, allocations: 4.156 kB / 343.5 MB, free: 6.484 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.477e-05/0.005904, allocations: 41.38 kB / 343.6 MB, free: 6.434 MB / 314.7 MB Notification: Performance of pre-optimization done (n=7): time 1.482e-06/0.005905, allocations: 0 / 343.6 MB, free: 6.434 MB / 314.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001535/0.006059, allocations: 65.58 kB / 343.7 MB, free: 6.363 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.832e-05/0.006087, allocations: 55.41 kB / 343.7 MB, free: 6.297 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.417e-05/0.006181, allocations: 185.2 kB / 343.9 MB, free: 6.102 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.274e-05/0.006194, allocations: 33.64 kB / 343.9 MB, free: 6.062 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.231e-05/0.006266, allocations: 175.1 kB / 344.1 MB, free: 5.887 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.144e-05/0.006288, allocations: 27.75 kB / 344.1 MB, free: 5.859 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.347e-05/0.006331, allocations: 31.34 kB / 344.1 MB, free: 5.82 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001196/0.006451, allocations: 0.4923 MB / 344.6 MB, free: 5.316 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.09e-05/0.006471, allocations: 11.98 kB / 344.7 MB, free: 5.305 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.242e-05/0.006514, allocations: 50.42 kB / 344.7 MB, free: 5.234 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.444e-05/0.006588, allocations: 78.66 kB / 344.8 MB, free: 5.137 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.00659, allocations: 0 / 344.8 MB, free: 5.137 MB / 314.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001196/0.00671, allocations: 93.59 kB / 344.9 MB, free: 5.039 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.006724, allocations: 19.89 kB / 344.9 MB, free: 5.02 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.147e-06/0.006728, allocations: 0 / 344.9 MB, free: 5.02 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.006744, allocations: 4 kB / 344.9 MB, free: 5.016 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.704e-05/0.006841, allocations: 20 kB / 344.9 MB, free: 4.996 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.722e-06/0.006848, allocations: 3.984 kB / 344.9 MB, free: 4.992 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.335e-05/0.006891, allocations: 11.95 kB / 344.9 MB, free: 4.98 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.933e-06/0.006898, allocations: 7.938 kB / 344.9 MB, free: 4.973 MB / 314.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 9.03e-05/0.006989, allocations: 160.5 kB / 345.1 MB, free: 4.805 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.806e-05/0.007017, allocations: 11.95 kB / 345.1 MB, free: 4.793 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.377e-05/0.007051, allocations: 16.38 kB / 345.1 MB, free: 4.777 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.007054, allocations: 4 kB / 345.1 MB, free: 4.773 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.704e-06/0.007056, allocations: 0 / 345.1 MB, free: 4.773 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.007062, allocations: 3.984 kB / 345.1 MB, free: 4.77 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001609/0.007223, allocations: 117.2 kB / 345.2 MB, free: 4.629 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.806e-06/0.007226, allocations: 4 kB / 345.2 MB, free: 4.625 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.834e-05/0.007314, allocations: 19.98 kB / 345.3 MB, free: 4.605 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.007317, allocations: 0 / 345.3 MB, free: 4.605 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.855e-06/0.007325, allocations: 0 / 345.3 MB, free: 4.605 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.007326, allocations: 0 / 345.3 MB, free: 4.605 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.007328, allocations: 3.938 kB / 345.3 MB, free: 4.602 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001899/0.007518, allocations: 231.8 kB / 345.5 MB, free: 4.355 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.5e-05/0.007533, allocations: 7.953 kB / 345.5 MB, free: 4.348 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.271e-05/0.007546, allocations: 0 / 345.5 MB, free: 4.348 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.922e-05/0.007605, allocations: 8 kB / 345.5 MB, free: 4.34 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.723e-05/0.007642, allocations: 7.922 kB / 345.5 MB, free: 4.332 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.777e-06/0.007646, allocations: 0 / 345.5 MB, free: 4.332 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.622e-05/0.007702, allocations: 139.2 kB / 345.7 MB, free: 4.195 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007702, allocations: 0 / 345.7 MB, free: 4.195 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002543/0.007957, allocations: 31.89 kB / 345.7 MB, free: 4.164 MB / 314.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.37e-05/0.00805, allocations: 95.28 kB / 345.8 MB, free: 4.062 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 9.728e-05/0.008148, allocations: 55.52 kB / 345.8 MB, free: 4.004 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.008149, allocations: 0 / 345.8 MB, free: 4.004 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.966e-05/0.008179, allocations: 19.69 kB / 345.9 MB, free: 3.98 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000264/0.008443, allocations: 11.98 kB / 345.9 MB, free: 3.969 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006427/0.009085, allocations: 325.6 kB / 346.2 MB, free: 3.621 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.337e-05/0.009129, allocations: 67.34 kB / 346.2 MB, free: 3.535 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.424e-05/0.009163, allocations: 16.41 kB / 346.3 MB, free: 3.52 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.931e-05/0.009222, allocations: 74.2 kB / 346.3 MB, free: 3.445 MB / 314.7 MB Notification: Performance of SimCode: time 6.91e-07/0.009223, allocations: 0 / 346.3 MB, free: 3.445 MB / 314.7 MB Notification: Performance of Templates: time 0.003214/0.01244, allocations: 0.8433 MB / 347.2 MB, free: 2.613 MB / 314.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.7889224784448743]