Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr MEV_MEV.Test.TestBellJarOpenLoop.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.001555/0.001555, allocations: 104.4 kB / 19.7 MB, free: 2.125 MB / 14.72 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.001671/0.001671, allocations: 217 kB / 22.99 MB, free: 4.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.314/1.314, allocations: 207.7 MB / 233.8 MB, free: 9.789 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.008379/0.008379, allocations: 1.969 MB / 288.1 MB, free: 3.66 MB / 222.1 MB " [Timeout remaining time 180] Using package MEV with version 1.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(MEV.Test.TestBellJarOpenLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestBellJarOpenLoop") translateModel(MEV.Test.TestBellJarOpenLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestBellJarOpenLoop") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002276/0.002276, allocations: 71.41 kB / 403 MB, free: 50.58 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05886/0.06113, allocations: 49.71 MB / 452.7 MB, free: 5.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestBellJarOpenLoop): time 0.002985/0.06412, allocations: 2.941 MB / 455.7 MB, free: 2.613 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009419/0.06506, allocations: 0.7681 MB / 456.4 MB, free: 1.84 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001306/0.06519, allocations: 7.938 kB / 456.4 MB, free: 1.832 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001316/0.06532, allocations: 55.48 kB / 456.5 MB, free: 1.777 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001816/0.0655, allocations: 119 kB / 456.6 MB, free: 1.66 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002242/0.06573, allocations: 99.84 kB / 456.7 MB, free: 1.562 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002717/0.066, allocations: 430 kB / 457.1 MB, free: 1.141 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001547/0.06615, allocations: 88.66 kB / 457.2 MB, free: 1.047 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001169/0.06627, allocations: 163.4 kB / 457.4 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001606/0.06643, allocations: 135.3 kB / 457.5 MB, free: 0.7539 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.882e-05/0.06647, allocations: 39.94 kB / 457.5 MB, free: 0.7148 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.207e-05/0.06655, allocations: 40 kB / 457.6 MB, free: 0.6758 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.039e-05/0.06659, allocations: 75.69 kB / 457.7 MB, free: 0.6016 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.204e-05/0.06668, allocations: 155.3 kB / 457.8 MB, free: 460 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002901/0.06697, allocations: 406.4 kB / 458.2 MB, free: 52 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.06698, allocations: 0 / 458.2 MB, free: 52 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.06698, allocations: 4 kB / 458.2 MB, free: 48 kB / 318.1 MB Notification: Performance of Transformations before backend: time 6.271e-06/0.06699, allocations: 0 / 458.2 MB, free: 48 kB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.0009775/0.06796, allocations: 0.552 MB / 458.8 MB, free: 15.46 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.068, allocations: 15.98 kB / 458.8 MB, free: 15.44 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.224e-05/0.06807, allocations: 36.7 kB / 458.8 MB, free: 15.41 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003867/0.06846, allocations: 244.9 kB / 459.1 MB, free: 15.14 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.874e-05/0.06849, allocations: 21.03 kB / 459.1 MB, free: 15.12 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.384e-05/0.06854, allocations: 28.12 kB / 459.1 MB, free: 15.09 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004849/0.06903, allocations: 289.5 kB / 459.4 MB, free: 14.79 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.924e-05/0.06905, allocations: 0 / 459.4 MB, free: 14.79 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.921e-05/0.06908, allocations: 12 kB / 459.4 MB, free: 14.78 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.06908, allocations: 4 kB / 459.4 MB, free: 14.77 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003764/0.06946, allocations: 186.5 kB / 459.6 MB, free: 14.59 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001401/0.07086, allocations: 0.745 MB / 460.3 MB, free: 13.8 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003994/0.07126, allocations: 174.5 kB / 460.5 MB, free: 13.62 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001561/0.07142, allocations: 72.83 kB / 460.6 MB, free: 13.55 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.085e-05/0.07144, allocations: 4 kB / 460.6 MB, free: 13.55 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.09e-05/0.07147, allocations: 38.5 kB / 460.6 MB, free: 13.5 MB / 334.1 MB Notification: Performance of pre-optimization done (n=20): time 1.403e-06/0.07147, allocations: 3.938 kB / 460.6 MB, free: 13.5 MB / 334.1 MB Notification: Performance of matching and sorting (n=25): time 0.001719/0.07319, allocations: 0.8136 MB / 461.4 MB, free: 12.63 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.947e-05/0.07323, allocations: 59.34 kB / 461.5 MB, free: 12.56 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002814/0.07351, allocations: 261.8 kB / 461.7 MB, free: 12.29 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.551e-05/0.07354, allocations: 29.7 kB / 461.8 MB, free: 12.26 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001408/0.07368, allocations: 192.5 kB / 462 MB, free: 12.07 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.139e-05/0.07376, allocations: 95.36 kB / 462 MB, free: 11.97 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.182e-05/0.07385, allocations: 61.66 kB / 462.1 MB, free: 11.91 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001501/0.074, allocations: 330.8 kB / 462.4 MB, free: 11.57 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001697/0.07417, allocations: 84.83 kB / 462.5 MB, free: 11.49 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001863/0.07436, allocations: 120.1 kB / 462.6 MB, free: 11.36 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000345/0.0747, allocations: 200.2 kB / 462.8 MB, free: 11.14 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.0747, allocations: 0 / 462.8 MB, free: 11.14 MB / 334.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004555/0.07516, allocations: 269.4 kB / 463.1 MB, free: 10.88 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.07517, allocations: 4 kB / 463.1 MB, free: 10.87 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.07518, allocations: 0 / 463.1 MB, free: 10.87 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.705e-05/0.07519, allocations: 4 kB / 463.1 MB, free: 10.87 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002756/0.07547, allocations: 71.78 kB / 463.2 MB, free: 10.8 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.07548, allocations: 4 kB / 463.2 MB, free: 10.79 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001407/0.07562, allocations: 8 kB / 463.2 MB, free: 10.79 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.746e-05/0.07563, allocations: 8 kB / 463.2 MB, free: 10.78 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002599/0.07589, allocations: 188.5 kB / 463.4 MB, free: 10.59 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001897/0.07608, allocations: 116.1 kB / 463.5 MB, free: 10.46 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003225/0.07641, allocations: 200.4 kB / 463.7 MB, free: 10.25 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.313e-06/0.07641, allocations: 3.938 kB / 463.7 MB, free: 10.25 MB / 334.1 MB Notification: Performance of matching and sorting (n=35) (initialization_lambda0): time 0.0004315/0.07684, allocations: 261.4 kB / 463.9 MB, free: 9.984 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.357e-06/0.07685, allocations: 8 kB / 463.9 MB, free: 9.977 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.843e-06/0.07685, allocations: 0 / 463.9 MB, free: 9.977 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.388e-06/0.07685, allocations: 4 kB / 464 MB, free: 9.973 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002478/0.0771, allocations: 63.91 kB / 464 MB, free: 9.91 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.07711, allocations: 3.938 kB / 464 MB, free: 9.906 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001275/0.07723, allocations: 8 kB / 464 MB, free: 9.898 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.455e-05/0.07725, allocations: 8 kB / 464 MB, free: 9.891 MB / 334.1 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 (35): * Single equations (assignments): 35 * 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 0.0001241/0.07737, allocations: 196.1 kB / 464.2 MB, free: 9.691 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.26e-05/0.07744, allocations: 35.91 kB / 464.3 MB, free: 9.656 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004336/0.07787, allocations: 235.8 kB / 464.5 MB, free: 9.414 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.037e-06/0.07788, allocations: 15.86 kB / 464.5 MB, free: 9.398 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.07788, allocations: 0 / 464.5 MB, free: 9.398 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.07789, allocations: 0 / 464.5 MB, free: 9.398 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009309/0.07882, allocations: 0.5991 MB / 465.1 MB, free: 8.75 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.07882, allocations: 0 / 465.1 MB, free: 8.75 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003102/0.07913, allocations: 71.97 kB / 465.2 MB, free: 8.68 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.07913, allocations: 4 kB / 465.2 MB, free: 8.676 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.793e-05/0.07915, allocations: 7.984 kB / 465.2 MB, free: 8.668 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.39e-06/0.07916, allocations: 4 kB / 465.2 MB, free: 8.664 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.07916, allocations: 3.938 kB / 465.2 MB, free: 8.66 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006254/0.07979, allocations: 431.3 kB / 465.6 MB, free: 8.211 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001175/0.0799, allocations: 55.77 kB / 465.7 MB, free: 8.156 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.666e-05/0.07994, allocations: 4 kB / 465.7 MB, free: 8.152 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001712/0.08011, allocations: 12 kB / 465.7 MB, free: 8.141 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.82e-05/0.08016, allocations: 23.95 kB / 465.7 MB, free: 8.117 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.52e-05/0.08017, allocations: 11.94 kB / 465.7 MB, free: 8.105 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001869/0.08036, allocations: 181.2 kB / 465.9 MB, free: 7.93 MB / 334.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.08036, allocations: 0 / 465.9 MB, free: 7.93 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004572/0.08082, allocations: 116 kB / 466 MB, free: 7.816 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (bellJar.cylinder.M,bellJar.damper.s_rel,bellJar.damper.v_rel) * 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 (26): * Single equations (assignments): 26 * 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 0.0001236/0.08094, allocations: 99.23 kB / 466.1 MB, free: 7.711 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005651/0.08151, allocations: 303.8 kB / 466.4 MB, free: 7.414 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.08151, allocations: 3.938 kB / 466.4 MB, free: 7.41 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001672/0.08168, allocations: 87.84 kB / 466.5 MB, free: 7.324 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003998/0.08208, allocations: 40.47 kB / 466.5 MB, free: 7.285 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001482/0.08356, allocations: 0.8597 MB / 467.4 MB, free: 6.383 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001814/0.08374, allocations: 169.2 kB / 467.6 MB, free: 6.199 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.5e-05/0.08381, allocations: 27.44 kB / 467.6 MB, free: 6.172 MB / 334.1 MB Notification: Performance of SimCode: time 3.3e-07/0.08381, allocations: 0 / 467.6 MB, free: 6.172 MB / 334.1 MB Notification: Performance of Templates: time 0.005826/0.08964, allocations: 3.523 MB / 471.1 MB, free: 2.645 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f MEV_MEV.Test.TestBellJarOpenLoop.makefile [Timeout 660] (rm -f MEV_MEV.Test.TestBellJarOpenLoop.pipe ; mkfifo MEV_MEV.Test.TestBellJarOpenLoop.pipe ; head -c 1048576 < MEV_MEV.Test.TestBellJarOpenLoop.pipe >> ../files/MEV_MEV.Test.TestBellJarOpenLoop.sim & ./MEV_MEV.Test.TestBellJarOpenLoop -abortSlowSimulation -alarm=480 -lv LOG_STATS > MEV_MEV.Test.TestBellJarOpenLoop.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.347197774332017] Failed to read output from testmodel.py, exit status != 0: 0.09683884494006634 0.11166450800000001 0.041807580000000004 Calling exit ...