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.001433/0.001433, allocations: 69.98 kB / 20.65 MB, free: 3.848 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.001849/0.001849, allocations: 173.4 kB / 24.06 MB, free: 452 kB / 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.032/1.032, allocations: 177.1 MB / 204.5 MB, free: 5.109 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.03542/0.03542, allocations: 7.114 MB / 268.1 MB, free: 5.75 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.163e-06/1.163e-06, allocations: 0 / 340.3 MB, free: 9.613 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.734e-05/1.85e-05, allocations: 9.125 kB / 340.3 MB, free: 9.605 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.Test.TestEMF): time 0.002512/0.00253, allocations: 2.083 MB / 342.4 MB, free: 7.496 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002829/0.002813, allocations: 107.5 kB / 342.5 MB, free: 7.391 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.623e-05/0.00289, allocations: 0 / 342.5 MB, free: 7.391 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 4.938e-05/0.002939, allocations: 27.78 kB / 342.5 MB, free: 7.363 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001488/0.003088, allocations: 43.58 kB / 342.6 MB, free: 7.32 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 6.065e-05/0.003148, allocations: 27.97 kB / 342.6 MB, free: 7.293 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001031/0.003251, allocations: 123.4 kB / 342.7 MB, free: 7.172 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001178/0.003369, allocations: 41.22 kB / 342.7 MB, free: 7.133 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.764e-05/0.003457, allocations: 75.8 kB / 342.8 MB, free: 7.059 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.799e-05/0.003535, allocations: 35.91 kB / 342.8 MB, free: 7.023 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.037e-05/0.003555, allocations: 8 kB / 342.9 MB, free: 7.016 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.607e-05/0.003571, allocations: 12 kB / 342.9 MB, free: 7.004 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.518e-05/0.003596, allocations: 31.84 kB / 342.9 MB, free: 6.973 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.58e-05/0.003632, allocations: 39.92 kB / 342.9 MB, free: 6.934 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001347/0.003767, allocations: 91.64 kB / 343 MB, free: 6.844 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.003769, allocations: 4 kB / 343 MB, free: 6.84 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.00377, allocations: 0 / 343 MB, free: 6.84 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.01e-06/0.003775, allocations: 4 kB / 343 MB, free: 6.836 MB / 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.0003421/0.004117, allocations: 444.1 kB / 343.5 MB, free: 6.367 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.996e-05/0.004147, allocations: 12.03 kB / 343.5 MB, free: 6.355 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.976e-05/0.004186, allocations: 24.84 kB / 343.5 MB, free: 6.332 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001091/0.004296, allocations: 144.4 kB / 343.6 MB, free: 6.164 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.163e-05/0.004307, allocations: 12.38 kB / 343.7 MB, free: 6.152 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.138e-05/0.004329, allocations: 12.38 kB / 343.7 MB, free: 6.141 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001322/0.004461, allocations: 99.66 kB / 343.8 MB, free: 6.035 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.00447, allocations: 192 / 343.8 MB, free: 6.035 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.084e-05/0.004481, allocations: 12.12 kB / 343.8 MB, free: 6.023 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-06/0.004487, allocations: 0 / 343.8 MB, free: 6.023 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.297e-05/0.00454, allocations: 39.91 kB / 343.8 MB, free: 5.984 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004066/0.004946, allocations: 427.1 kB / 344.2 MB, free: 5.535 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.051e-05/0.005027, allocations: 54.98 kB / 344.3 MB, free: 5.469 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.034e-05/0.005047, allocations: 19.67 kB / 344.3 MB, free: 5.445 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.144e-06/0.005054, allocations: 8 kB / 344.3 MB, free: 5.438 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.375e-05/0.005068, allocations: 33.39 kB / 344.4 MB, free: 5.395 MB / 266.7 MB Notification: Performance of pre-optimization done (n=7): time 1.242e-06/0.005069, allocations: 0 / 344.4 MB, free: 5.395 MB / 266.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001367/0.005206, allocations: 77.7 kB / 344.4 MB, free: 5.312 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.685e-05/0.005223, allocations: 51.41 kB / 344.5 MB, free: 5.25 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.97e-05/0.005282, allocations: 184.7 kB / 344.7 MB, free: 5.055 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.121e-06/0.005289, allocations: 33.64 kB / 344.7 MB, free: 5.016 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.296e-05/0.005332, allocations: 172.9 kB / 344.9 MB, free: 4.844 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.675e-05/0.005348, allocations: 31.73 kB / 344.9 MB, free: 4.812 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.374e-05/0.005382, allocations: 27.38 kB / 344.9 MB, free: 4.777 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.927e-05/0.005421, allocations: 0.4923 MB / 345.4 MB, free: 4.273 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.742e-05/0.005439, allocations: 11.98 kB / 345.4 MB, free: 4.262 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.397e-05/0.005473, allocations: 70.28 kB / 345.5 MB, free: 4.172 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.875e-05/0.005531, allocations: 66.36 kB / 345.6 MB, free: 4.086 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.005534, allocations: 0 / 345.6 MB, free: 4.086 MB / 266.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001017/0.005635, allocations: 89.52 kB / 345.6 MB, free: 3.992 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.088e-05/0.005646, allocations: 12.06 kB / 345.7 MB, free: 3.98 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.005651, allocations: 4 kB / 345.7 MB, free: 3.977 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.528e-06/0.005661, allocations: 3.984 kB / 345.7 MB, free: 3.973 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.16e-05/0.005752, allocations: 20 kB / 345.7 MB, free: 3.953 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.426e-06/0.005756, allocations: 3.984 kB / 345.7 MB, free: 3.949 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.136e-05/0.005797, allocations: 12 kB / 345.7 MB, free: 3.938 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.06e-06/0.005802, allocations: 3.938 kB / 345.7 MB, free: 3.934 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 4.856e-05/0.005851, allocations: 164.5 kB / 345.9 MB, free: 3.762 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.479e-05/0.005876, allocations: 7.953 kB / 345.9 MB, free: 3.754 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.482e-05/0.0059, allocations: 20.38 kB / 345.9 MB, free: 3.734 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-06/0.005903, allocations: 0 / 345.9 MB, free: 3.734 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.422e-06/0.005904, allocations: 0 / 345.9 MB, free: 3.734 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.005908, allocations: 3.984 kB / 345.9 MB, free: 3.73 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001198/0.006028, allocations: 125.2 kB / 346 MB, free: 3.582 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.006029, allocations: 0 / 346 MB, free: 3.582 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.226e-05/0.006101, allocations: 19.98 kB / 346 MB, free: 3.562 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.006103, allocations: 0 / 346 MB, free: 3.562 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.865e-06/0.006111, allocations: 3.984 kB / 346 MB, free: 3.559 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.006112, allocations: 0 / 346 MB, free: 3.559 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.006114, allocations: 7.938 kB / 346 MB, free: 3.551 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001224/0.006236, allocations: 227.8 kB / 346.3 MB, free: 3.309 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.074e-05/0.006247, allocations: 7.953 kB / 346.3 MB, free: 3.301 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.183e-05/0.006259, allocations: 0 / 346.3 MB, free: 3.301 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.494e-05/0.006314, allocations: 8 kB / 346.3 MB, free: 3.293 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.616e-05/0.00634, allocations: 7.922 kB / 346.3 MB, free: 3.285 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.458e-06/0.006344, allocations: 8 kB / 346.3 MB, free: 3.277 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.63e-05/0.006371, allocations: 135.2 kB / 346.4 MB, free: 3.145 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006371, allocations: 0 / 346.4 MB, free: 3.145 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002367/0.006607, allocations: 31.89 kB / 346.5 MB, free: 3.113 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 5.779e-05/0.006665, allocations: 95.28 kB / 346.6 MB, free: 3.012 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 8.384e-05/0.006749, allocations: 51.53 kB / 346.6 MB, free: 2.957 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.122e-06/0.00675, allocations: 0 / 346.6 MB, free: 2.957 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.43e-05/0.006775, allocations: 23.62 kB / 346.6 MB, free: 2.93 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002546/0.007029, allocations: 11.98 kB / 346.6 MB, free: 2.918 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005359/0.007565, allocations: 322.4 kB / 347 MB, free: 2.578 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.822e-05/0.007593, allocations: 63.34 kB / 347 MB, free: 2.496 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.993e-05/0.007623, allocations: 8.484 kB / 347 MB, free: 2.488 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.05e-05/0.007664, allocations: 78.2 kB / 347.1 MB, free: 2.41 MB / 266.7 MB Notification: Performance of SimCode: time 7.31e-07/0.007664, allocations: 0 / 347.1 MB, free: 2.41 MB / 266.7 MB Notification: Performance of Templates: time 0.002541/0.01021, allocations: 0.8616 MB / 348 MB, free: 1.559 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.797805830836296]