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.001002/0.001002, allocations: 89.06 kB / 19.64 MB, free: 272 kB / 13.93 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.001375/0.001375, allocations: 173 kB / 23.02 MB, free: 1.539 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.055/1.055, allocations: 177.1 MB / 203.4 MB, free: 5.578 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.02616/0.02616, allocations: 7.113 MB / 267.1 MB, free: 6.062 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: 7.938 kB / 339.1 MB, free: 9.883 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.57e-05/1.769e-05, allocations: 6.25 kB / 339.1 MB, free: 9.875 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.Test.TestEMF): time 0.002101/0.002118, allocations: 2.093 MB / 341.2 MB, free: 7.758 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002999/0.002418, allocations: 111.5 kB / 341.3 MB, free: 7.648 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.657e-05/0.002495, allocations: 4 kB / 341.3 MB, free: 7.645 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 4.998e-05/0.002545, allocations: 15.8 kB / 341.3 MB, free: 7.629 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001764/0.002721, allocations: 39.64 kB / 341.3 MB, free: 7.59 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 6.36e-05/0.002785, allocations: 27.97 kB / 341.4 MB, free: 7.562 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000103/0.002888, allocations: 135.3 kB / 341.5 MB, free: 7.43 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001271/0.003015, allocations: 37.22 kB / 341.5 MB, free: 7.395 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.78e-05/0.003103, allocations: 75.8 kB / 341.6 MB, free: 7.32 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.171e-05/0.003184, allocations: 39.89 kB / 341.6 MB, free: 7.281 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.607e-05/0.00321, allocations: 12 kB / 341.6 MB, free: 7.27 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.556e-05/0.003226, allocations: 12 kB / 341.7 MB, free: 7.258 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.454e-05/0.003251, allocations: 23.91 kB / 341.7 MB, free: 7.234 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.742e-05/0.003288, allocations: 43.86 kB / 341.7 MB, free: 7.191 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001395/0.003427, allocations: 87.66 kB / 341.8 MB, free: 7.105 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.904e-06/0.003429, allocations: 4 kB / 341.8 MB, free: 7.102 MB / 266.7 MB Notification: Performance of FrontEnd: time 4.91e-07/0.00343, allocations: 0 / 341.8 MB, free: 7.102 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.579e-06/0.003434, allocations: 0 / 341.8 MB, free: 7.102 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.0003909/0.003825, allocations: 448.1 kB / 342.3 MB, free: 6.629 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.647e-05/0.003862, allocations: 8.031 kB / 342.3 MB, free: 6.621 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.172e-05/0.003914, allocations: 24.84 kB / 342.3 MB, free: 6.598 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001397/0.004053, allocations: 144.4 kB / 342.4 MB, free: 6.43 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.239e-05/0.004066, allocations: 8.375 kB / 342.4 MB, free: 6.422 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.479e-05/0.00409, allocations: 12.38 kB / 342.4 MB, free: 6.41 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001596/0.00425, allocations: 115.7 kB / 342.6 MB, free: 6.289 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.004262, allocations: 4.125 kB / 342.6 MB, free: 6.285 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.282e-05/0.004275, allocations: 8.125 kB / 342.6 MB, free: 6.277 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.885e-06/0.004283, allocations: 4 kB / 342.6 MB, free: 6.273 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.423e-05/0.004347, allocations: 39.97 kB / 342.6 MB, free: 6.234 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004571/0.004804, allocations: 454.4 kB / 343.1 MB, free: 5.75 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001038/0.004908, allocations: 54.98 kB / 343.1 MB, free: 5.684 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.096e-05/0.004939, allocations: 19.67 kB / 343.1 MB, free: 5.66 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.157e-06/0.004948, allocations: 8 kB / 343.1 MB, free: 5.652 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.764e-05/0.004966, allocations: 37.33 kB / 343.2 MB, free: 5.605 MB / 266.7 MB Notification: Performance of pre-optimization done (n=7): time 1.443e-06/0.004967, allocations: 0 / 343.2 MB, free: 5.605 MB / 266.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001601/0.005128, allocations: 73.78 kB / 343.2 MB, free: 5.527 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.323e-05/0.005151, allocations: 59.34 kB / 343.3 MB, free: 5.457 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.481e-05/0.005216, allocations: 181.9 kB / 343.5 MB, free: 5.262 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.412e-06/0.005222, allocations: 29.7 kB / 343.5 MB, free: 5.227 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.542e-05/0.005267, allocations: 176.9 kB / 343.7 MB, free: 5.051 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.458e-05/0.005282, allocations: 27.75 kB / 343.7 MB, free: 5.023 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.143e-05/0.005313, allocations: 31.36 kB / 343.7 MB, free: 4.984 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.554e-05/0.005359, allocations: 0.4884 MB / 344.2 MB, free: 4.484 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.23e-05/0.005381, allocations: 15.98 kB / 344.2 MB, free: 4.469 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.549e-05/0.005417, allocations: 62.36 kB / 344.3 MB, free: 4.387 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.879e-05/0.005476, allocations: 74.67 kB / 344.4 MB, free: 4.293 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.005478, allocations: 4 kB / 344.4 MB, free: 4.289 MB / 266.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 9.778e-05/0.005576, allocations: 105.4 kB / 344.5 MB, free: 4.18 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.005589, allocations: 12.12 kB / 344.5 MB, free: 4.168 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.005594, allocations: 0 / 344.5 MB, free: 4.168 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.005608, allocations: 4 kB / 344.5 MB, free: 4.164 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.378e-05/0.005702, allocations: 23.98 kB / 344.5 MB, free: 4.141 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.67e-06/0.005708, allocations: 3.938 kB / 344.5 MB, free: 4.137 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.039e-05/0.005738, allocations: 4 kB / 344.5 MB, free: 4.133 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.324e-06/0.005745, allocations: 8 kB / 344.5 MB, free: 4.125 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.664e-05/0.005792, allocations: 160.5 kB / 344.7 MB, free: 3.957 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.626e-05/0.005808, allocations: 15.89 kB / 344.7 MB, free: 3.941 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.474e-05/0.005833, allocations: 16.42 kB / 344.7 MB, free: 3.926 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-06/0.005834, allocations: 7.938 kB / 344.7 MB, free: 3.918 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.005837, allocations: 0 / 344.7 MB, free: 3.918 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.00584, allocations: 0 / 344.7 MB, free: 3.918 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.537e-05/0.005936, allocations: 144.6 kB / 344.9 MB, free: 3.742 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.005937, allocations: 4 kB / 344.9 MB, free: 3.738 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.057e-05/0.005997, allocations: 15.98 kB / 344.9 MB, free: 3.723 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.006001, allocations: 4 kB / 344.9 MB, free: 3.719 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.086e-05/0.006012, allocations: 3.938 kB / 344.9 MB, free: 3.715 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.51e-07/0.006012, allocations: 3.938 kB / 344.9 MB, free: 3.711 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.006013, allocations: 0 / 344.9 MB, free: 3.711 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001393/0.006153, allocations: 235.8 kB / 345.1 MB, free: 3.461 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.045e-05/0.006163, allocations: 7.953 kB / 345.1 MB, free: 3.453 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.204e-05/0.006175, allocations: 3.938 kB / 345.2 MB, free: 3.449 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.4e-05/0.006209, allocations: 8 kB / 345.2 MB, free: 3.441 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.916e-05/0.006248, allocations: 7.984 kB / 345.2 MB, free: 3.434 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.585e-06/0.006251, allocations: 0 / 345.2 MB, free: 3.434 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.2e-05/0.006283, allocations: 142.1 kB / 345.3 MB, free: 3.297 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006283, allocations: 0 / 345.3 MB, free: 3.297 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000156/0.006439, allocations: 31.89 kB / 345.3 MB, free: 3.266 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.577e-05/0.006495, allocations: 99.22 kB / 345.4 MB, free: 3.16 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001051/0.0066, allocations: 47.59 kB / 345.5 MB, free: 3.109 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.006601, allocations: 0 / 345.5 MB, free: 3.109 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.432e-05/0.006626, allocations: 23.69 kB / 345.5 MB, free: 3.082 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001996/0.006825, allocations: 11.98 kB / 345.5 MB, free: 3.07 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005713/0.007397, allocations: 329.7 kB / 345.8 MB, free: 2.723 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.2e-05/0.007429, allocations: 67.33 kB / 345.9 MB, free: 2.637 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.547e-05/0.007454, allocations: 4.5 kB / 345.9 MB, free: 2.633 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.612e-05/0.00748, allocations: 12.5 kB / 345.9 MB, free: 2.621 MB / 266.7 MB Notification: Performance of SimCode: time 5.41e-07/0.007481, allocations: 0 / 345.9 MB, free: 2.621 MB / 266.7 MB Notification: Performance of Templates: time 0.002408/0.009889, allocations: 0.815 MB / 346.7 MB, free: 1.82 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.9342919108457863]