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.0009857/0.0009857, 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.0009675/0.0009675, 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 0.9736/0.9736, allocations: 177.2 MB / 203.8 MB, free: 5.492 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.04043/0.04043, allocations: 7.117 MB / 267.4 MB, free: 5.953 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.082e-06/1.082e-06, allocations: 0 / 286.3 MB, free: 3.066 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.745e-05/1.854e-05, allocations: 2.312 kB / 286.3 MB, free: 3.062 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.Test.TestEMF): time 0.002308/0.002326, allocations: 2.087 MB / 288.3 MB, free: 0.9531 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003004/0.002627, allocations: 115.5 kB / 288.5 MB, free: 0.8398 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.084e-05/0.002688, allocations: 0 / 288.5 MB, free: 0.8398 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 4.51e-05/0.002733, allocations: 19.8 kB / 288.5 MB, free: 0.8203 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001474/0.00288, allocations: 43.64 kB / 288.5 MB, free: 0.7773 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 5.545e-05/0.002936, allocations: 23.97 kB / 288.5 MB, free: 0.7539 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001041/0.00304, allocations: 131.3 kB / 288.7 MB, free: 0.625 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000101/0.003141, allocations: 37.92 kB / 288.7 MB, free: 0.5898 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.571e-05/0.003226, allocations: 71.86 kB / 288.8 MB, free: 0.5195 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.895e-05/0.003305, allocations: 43.83 kB / 288.8 MB, free: 488 kB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.938e-05/0.003325, allocations: 12 kB / 288.8 MB, free: 476 kB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.331e-05/0.003338, allocations: 12 kB / 288.8 MB, free: 464 kB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.368e-05/0.003362, allocations: 27.91 kB / 288.9 MB, free: 436 kB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.49e-05/0.003397, allocations: 47.84 kB / 288.9 MB, free: 388 kB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001215/0.003518, allocations: 83.67 kB / 289 MB, free: 304 kB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.613e-06/0.00352, allocations: 0 / 289 MB, free: 304 kB / 266.7 MB Notification: Performance of FrontEnd: time 7.22e-07/0.003521, allocations: 0 / 289 MB, free: 304 kB / 266.7 MB Notification: Performance of Transformations before backend: time 2.816e-06/0.003523, allocations: 0 / 289 MB, free: 304 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.1037/0.1072, allocations: 326.3 kB / 289.3 MB, free: 20.06 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.996e-05/0.1073, allocations: 7.938 kB / 289.3 MB, free: 20.06 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.923e-05/0.1073, allocations: 20.56 kB / 289.3 MB, free: 20.06 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000105/0.1074, allocations: 124.8 kB / 289.5 MB, free: 19.93 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.194e-05/0.1074, allocations: 9.344 kB / 289.5 MB, free: 19.93 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.376e-05/0.1074, allocations: 12.19 kB / 289.5 MB, free: 19.93 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001458/0.1076, allocations: 105.9 kB / 289.6 MB, free: 19.88 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.1076, allocations: 1.25 kB / 289.6 MB, free: 19.88 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.458e-06/0.1076, allocations: 7.094 kB / 289.6 MB, free: 19.88 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/0.1076, allocations: 6.75 kB / 289.6 MB, free: 19.88 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.289e-05/0.1077, allocations: 30.16 kB / 289.6 MB, free: 19.87 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003782/0.108, allocations: 323.5 kB / 290 MB, free: 19.68 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.575e-05/0.1081, allocations: 43.67 kB / 290 MB, free: 19.66 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.757e-05/0.1081, allocations: 14.95 kB / 290 MB, free: 19.65 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.925e-06/0.1081, allocations: 2.562 kB / 290 MB, free: 19.65 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.213e-05/0.1081, allocations: 32.62 kB / 290 MB, free: 19.61 MB / 266.7 MB Notification: Performance of pre-optimization done (n=7): time 1.553e-06/0.1081, allocations: 1.094 kB / 290 MB, free: 19.61 MB / 266.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001121/0.1083, allocations: 65.8 kB / 290.1 MB, free: 19.57 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.672e-05/0.1083, allocations: 52.56 kB / 290.2 MB, free: 19.51 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.244e-05/0.1083, allocations: 136.1 kB / 290.3 MB, free: 19.4 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.111e-06/0.1083, allocations: 27.98 kB / 290.3 MB, free: 19.37 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.982e-05/0.1084, allocations: 117.5 kB / 290.4 MB, free: 19.27 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.542e-05/0.1084, allocations: 29.95 kB / 290.5 MB, free: 19.25 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.775e-05/0.1084, allocations: 28.69 kB / 290.5 MB, free: 19.23 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 2.873e-05/0.1084, allocations: 325.2 kB / 290.8 MB, free: 18.92 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.429e-05/0.1084, allocations: 7.344 kB / 290.8 MB, free: 18.92 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.465e-05/0.1085, allocations: 46.62 kB / 290.9 MB, free: 18.88 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.543e-05/0.1085, allocations: 60.06 kB / 290.9 MB, free: 18.84 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.1085, allocations: 1.5 kB / 290.9 MB, free: 18.84 MB / 266.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 7.449e-05/0.1086, allocations: 83 kB / 291 MB, free: 18.81 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.185e-05/0.1086, allocations: 8.094 kB / 291 MB, free: 18.81 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.1086, allocations: 1.062 kB / 291 MB, free: 18.81 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/0.1086, allocations: 6.781 kB / 291 MB, free: 18.81 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.378e-05/0.1087, allocations: 23.3 kB / 291 MB, free: 18.81 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.178e-06/0.1087, allocations: 4.281 kB / 291 MB, free: 18.81 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.827e-05/0.1087, allocations: 15.5 kB / 291.1 MB, free: 18.8 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.831e-06/0.1087, allocations: 7.625 kB / 291.1 MB, free: 18.8 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.043e-05/0.1088, allocations: 114.6 kB / 291.2 MB, free: 18.69 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.563e-05/0.1088, allocations: 8.125 kB / 291.2 MB, free: 18.69 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.368e-05/0.1088, allocations: 13.36 kB / 291.2 MB, free: 18.68 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.155e-06/0.1088, allocations: 3.938 kB / 291.2 MB, free: 18.68 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/0.1088, allocations: 4.406 kB / 291.2 MB, free: 18.68 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.315e-06/0.1088, allocations: 0 / 291.2 MB, free: 18.68 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.014e-05/0.1089, allocations: 94.56 kB / 291.3 MB, free: 18.61 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.1089, allocations: 3.859 kB / 291.3 MB, free: 18.61 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.114e-05/0.109, allocations: 18.55 kB / 291.3 MB, free: 18.61 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.109, allocations: 2.484 kB / 291.3 MB, free: 18.61 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.602e-06/0.109, allocations: 2.328 kB / 291.3 MB, free: 18.61 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.109, allocations: 1.5 kB / 291.3 MB, free: 18.61 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.109, allocations: 0 / 291.3 MB, free: 18.61 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000102/0.1091, allocations: 168.4 kB / 291.5 MB, free: 18.47 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.759e-06/0.1091, allocations: 8.625 kB / 291.5 MB, free: 18.47 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.298e-06/0.1091, allocations: 1.062 kB / 291.5 MB, free: 18.47 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.584e-05/0.1092, allocations: 7.438 kB / 291.5 MB, free: 18.47 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.686e-05/0.1092, allocations: 12.55 kB / 291.5 MB, free: 18.46 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.858e-06/0.1092, allocations: 1.875 kB / 291.5 MB, free: 18.46 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.99e-05/0.1092, allocations: 28.97 kB / 291.6 MB, free: 18.45 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1092, allocations: 0 / 291.6 MB, free: 18.45 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001369/0.1093, allocations: 27.02 kB / 291.6 MB, free: 18.45 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.368e-05/0.1094, allocations: 73.36 kB / 291.7 MB, free: 18.38 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 6.983e-05/0.1095, allocations: 43.56 kB / 291.7 MB, free: 18.38 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.1095, allocations: 3.469 kB / 291.7 MB, free: 18.38 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.004e-05/0.1095, allocations: 23.36 kB / 291.7 MB, free: 18.36 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001428/0.1096, allocations: 9.406 kB / 291.7 MB, free: 18.36 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004822/0.1101, allocations: 311.8 kB / 292 MB, free: 18.18 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.604e-05/0.1101, allocations: 64.69 kB / 292.1 MB, free: 18.11 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.569e-05/0.1102, allocations: 10.19 kB / 292.1 MB, free: 18.11 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.716e-05/0.1102, allocations: 59.47 kB / 292.2 MB, free: 18.06 MB / 266.7 MB Notification: Performance of SimCode: time 3.91e-07/0.1102, allocations: 0 / 292.2 MB, free: 18.06 MB / 266.7 MB Notification: Performance of Templates: time 0.002344/0.1126, allocations: 0.7981 MB / 293 MB, free: 18 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.68862685887143]