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.0009458/0.0009458, allocations: 80.88 kB / 19.94 MB, free: 4.547 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.001061/0.001061, allocations: 181 kB / 23.36 MB, free: 1.133 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.112/1.112, allocations: 177.1 MB / 203.8 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.03602/0.03602, allocations: 7.112 MB / 267.4 MB, free: 5.969 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.653e-06/1.653e-06, allocations: 0 / 286.3 MB, free: 3.031 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.236e-05/3.401e-05, allocations: 2.312 kB / 286.3 MB, free: 3.027 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.Test.TestEMF): time 0.004669/0.004703, allocations: 2.134 MB / 288.4 MB, free: 0.8711 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003944/0.005097, allocations: 111.5 kB / 288.5 MB, free: 0.7617 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.822e-05/0.005175, allocations: 4 kB / 288.6 MB, free: 0.7578 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 5.402e-05/0.005229, allocations: 23.78 kB / 288.6 MB, free: 0.7344 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000177/0.005406, allocations: 43.64 kB / 288.6 MB, free: 0.6914 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 7.374e-05/0.00548, allocations: 19.97 kB / 288.6 MB, free: 0.6719 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001572/0.005637, allocations: 135.3 kB / 288.8 MB, free: 0.5391 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001166/0.005754, allocations: 37.92 kB / 288.8 MB, free: 0.5039 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001403/0.005894, allocations: 71.88 kB / 288.9 MB, free: 444 kB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.073e-05/0.005985, allocations: 39.83 kB / 288.9 MB, free: 404 kB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.581e-05/0.006011, allocations: 12 kB / 288.9 MB, free: 392 kB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.615e-05/0.006027, allocations: 12 kB / 288.9 MB, free: 380 kB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.46e-05/0.006052, allocations: 27.92 kB / 289 MB, free: 352 kB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.64e-05/0.006088, allocations: 43.84 kB / 289 MB, free: 308 kB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00013/0.006218, allocations: 91.66 kB / 289.1 MB, free: 216 kB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.804e-06/0.00622, allocations: 0 / 289.1 MB, free: 216 kB / 266.7 MB Notification: Performance of FrontEnd: time 4.71e-07/0.00622, allocations: 0 / 289.1 MB, free: 216 kB / 266.7 MB Notification: Performance of Transformations before backend: time 3.927e-06/0.006224, allocations: 0 / 289.1 MB, free: 216 kB / 266.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.1301/0.1364, allocations: 319.9 kB / 289.4 MB, free: 19.97 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.354e-05/0.1364, allocations: 8.5 kB / 289.4 MB, free: 19.97 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.83e-05/0.1364, allocations: 18.33 kB / 289.4 MB, free: 19.97 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001242/0.1366, allocations: 126.3 kB / 289.6 MB, free: 19.84 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.471e-05/0.1366, allocations: 14.72 kB / 289.6 MB, free: 19.84 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.368e-05/0.1366, allocations: 13.75 kB / 289.6 MB, free: 19.84 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000161/0.1368, allocations: 101.6 kB / 289.7 MB, free: 19.79 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.1368, allocations: 2.25 kB / 289.7 MB, free: 19.79 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.351e-05/0.1368, allocations: 5.531 kB / 289.7 MB, free: 19.79 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.999e-06/0.1368, allocations: 7.312 kB / 289.7 MB, free: 19.79 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.705e-05/0.1369, allocations: 31.52 kB / 289.7 MB, free: 19.78 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004324/0.1373, allocations: 319.5 kB / 290 MB, free: 19.59 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.022e-05/0.1374, allocations: 48.33 kB / 290.1 MB, free: 19.57 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.13e-05/0.1374, allocations: 13.03 kB / 290.1 MB, free: 19.56 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.126e-06/0.1374, allocations: 2.438 kB / 290.1 MB, free: 19.56 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.502e-05/0.1374, allocations: 35.58 kB / 290.1 MB, free: 19.52 MB / 266.7 MB Notification: Performance of pre-optimization done (n=7): time 9.82e-07/0.1374, allocations: 0 / 290.1 MB, free: 19.52 MB / 266.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001202/0.1375, allocations: 60.75 kB / 290.2 MB, free: 19.48 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.627e-05/0.1375, allocations: 53.31 kB / 290.3 MB, free: 19.42 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.313e-05/0.1376, allocations: 138.9 kB / 290.4 MB, free: 19.32 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.933e-06/0.1376, allocations: 29.67 kB / 290.4 MB, free: 19.29 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.419e-05/0.1377, allocations: 119.1 kB / 290.5 MB, free: 19.19 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.359e-05/0.1377, allocations: 32.02 kB / 290.6 MB, free: 19.17 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.987e-05/0.1377, allocations: 25.64 kB / 290.6 MB, free: 19.15 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.07e-05/0.1378, allocations: 323.8 kB / 290.9 MB, free: 18.84 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.841e-05/0.1378, allocations: 10.92 kB / 290.9 MB, free: 18.84 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.501e-05/0.1379, allocations: 42.89 kB / 291 MB, free: 18.8 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001044/0.138, allocations: 60.05 kB / 291 MB, free: 18.76 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.138, allocations: 3.594 kB / 291 MB, free: 18.76 MB / 266.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001154/0.1381, allocations: 76.88 kB / 291.1 MB, free: 18.73 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.174e-05/0.1381, allocations: 6.281 kB / 291.1 MB, free: 18.73 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.1381, allocations: 4.516 kB / 291.1 MB, free: 18.73 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.082e-05/0.1381, allocations: 7.281 kB / 291.1 MB, free: 18.73 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001341/0.1382, allocations: 32.28 kB / 291.1 MB, free: 18.73 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.767e-06/0.1382, allocations: 3.266 kB / 291.2 MB, free: 18.73 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.977e-05/0.1383, allocations: 14.05 kB / 291.2 MB, free: 18.72 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.711e-06/0.1383, allocations: 3.062 kB / 291.2 MB, free: 18.72 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 5.612e-05/0.1383, allocations: 118.1 kB / 291.3 MB, free: 18.61 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.341e-05/0.1384, allocations: 9 kB / 291.3 MB, free: 18.61 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.922e-05/0.1384, allocations: 14.98 kB / 291.3 MB, free: 18.6 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.1384, allocations: 2.094 kB / 291.3 MB, free: 18.6 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/0.1384, allocations: 0.7188 kB / 291.3 MB, free: 18.6 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.1384, allocations: 2.156 kB / 291.3 MB, free: 18.6 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001309/0.1385, allocations: 91.62 kB / 291.4 MB, free: 18.52 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.1385, allocations: 1.781 kB / 291.4 MB, free: 18.52 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.56e-05/0.1386, allocations: 21.97 kB / 291.4 MB, free: 18.52 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.1386, allocations: 1.375 kB / 291.4 MB, free: 18.52 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.324e-06/0.1386, allocations: 1.031 kB / 291.4 MB, free: 18.52 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.1386, allocations: 7.203 kB / 291.4 MB, free: 18.52 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.1387, allocations: 4.688 kB / 291.4 MB, free: 18.52 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001233/0.1388, allocations: 165.4 kB / 291.6 MB, free: 18.39 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.46e-05/0.1388, allocations: 6.359 kB / 291.6 MB, free: 18.38 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.142e-05/0.1388, allocations: 2.25 kB / 291.6 MB, free: 18.38 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.763e-05/0.1389, allocations: 4.312 kB / 291.6 MB, free: 18.38 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.001e-05/0.1389, allocations: 9.453 kB / 291.6 MB, free: 18.38 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.725e-06/0.1389, allocations: 1.125 kB / 291.6 MB, free: 18.38 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.809e-05/0.1389, allocations: 30.75 kB / 291.7 MB, free: 18.37 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1389, allocations: 1.094 kB / 291.7 MB, free: 18.37 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001549/0.1391, allocations: 32.92 kB / 291.7 MB, free: 18.36 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 6.436e-05/0.1391, allocations: 74.69 kB / 291.8 MB, free: 18.3 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 7.633e-05/0.1392, allocations: 39.98 kB / 291.8 MB, free: 18.29 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/0.1392, allocations: 3.469 kB / 291.8 MB, free: 18.29 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.559e-05/0.1393, allocations: 23.17 kB / 291.8 MB, free: 18.27 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001381/0.1394, allocations: 12.61 kB / 291.8 MB, free: 18.27 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005624/0.14, allocations: 316.5 kB / 292.1 MB, free: 18.09 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.335e-05/0.14, allocations: 65.58 kB / 292.2 MB, free: 18.02 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.917e-05/0.14, allocations: 5.75 kB / 292.2 MB, free: 18.02 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.296e-05/0.1401, allocations: 60.95 kB / 292.3 MB, free: 17.97 MB / 266.7 MB Notification: Performance of SimCode: time 4.81e-07/0.1401, allocations: 0 / 292.3 MB, free: 17.97 MB / 266.7 MB Notification: Performance of Templates: time 0.0027/0.1428, allocations: 0.8329 MB / 293.1 MB, free: 17.91 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > ChaoticCircuits_ChaoticCircuits.Test.TestEMF.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.88872952433303]