Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.Examples.SpringDemo.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.001508/0.001508, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.00166/0.00166, allocations: 221.8 kB / 23 MB, free: 4.91 MB / 14.72 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.404/1.404, allocations: 230.6 MB / 256.8 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo): time 0.04748/0.04748, allocations: 9.234 MB / 322.4 MB, free: 9.863 MB / 254.1 MB " [Timeout remaining time 180] Using package PlanarMechanics with version 1.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.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(PlanarMechanics.Examples.SpringDemo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.SpringDemo") translateModel(PlanarMechanics.Examples.SpringDemo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.SpringDemo") [Timeout 660] "Notification: PlanarMechanics requested package Modelica of version 4.0.0. Modelica 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.002023/0.002023, allocations: 64.19 kB / 448.9 MB, free: 14.09 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1187/0.1208, allocations: 55.47 MB / 0.4926 GB, free: 6.543 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.SpringDemo): time 0.01081/0.1316, allocations: 8.365 MB / 0.5007 GB, free: 14.14 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005687/0.1373, allocations: 2.655 MB / 0.5033 GB, free: 11.48 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006981/0.138, allocations: 47.81 kB / 0.5034 GB, free: 11.43 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008859/0.1388, allocations: 417.2 kB / 0.5038 GB, free: 11.02 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002947/0.1418, allocations: 1.474 MB / 0.5052 GB, free: 9.539 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004157/0.1422, allocations: 159.7 kB / 0.5054 GB, free: 9.383 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002967/0.1452, allocations: 2.698 MB / 0.508 GB, free: 6.68 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000967/0.1461, allocations: 0.785 MB / 0.5088 GB, free: 5.867 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001091/0.1472, allocations: 0.9921 MB / 0.5097 GB, free: 4.871 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001821/0.149, allocations: 1.463 MB / 0.5112 GB, free: 3.402 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003552/0.1494, allocations: 248 kB / 0.5114 GB, free: 3.16 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001273/0.1507, allocations: 0.7724 MB / 0.5121 GB, free: 2.387 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001264/0.1519, allocations: 1.347 MB / 0.5135 GB, free: 1.035 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.2157/0.3676, allocations: 1.187 MB / 0.5146 GB, free: 13.03 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005803/0.3734, allocations: 5.379 MB / 0.5199 GB, free: 12.53 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.3734, allocations: 0 / 0.5199 GB, free: 12.53 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.714e-06/0.3734, allocations: 0 / 0.5199 GB, free: 12.53 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001219/0.3735, allocations: 4.5 kB / 0.5199 GB, free: 12.52 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1293 * Number of variables: 1293 Notification: Performance of Generate backend data structure: time 0.007237/0.3808, allocations: 3.606 MB / 0.5234 GB, free: 10.99 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/0.3808, allocations: 12.19 kB / 0.5234 GB, free: 10.99 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006751/0.3876, allocations: 1.852 MB / 0.5252 GB, free: 10.75 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003087/0.3907, allocations: 1.388 MB / 0.5266 GB, free: 10.37 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001418/0.3908, allocations: 159.5 kB / 0.5267 GB, free: 10.36 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004284/0.3912, allocations: 218.7 kB / 0.5269 GB, free: 10.36 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01199/0.4032, allocations: 8.717 MB / 0.5354 GB, free: 7.828 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.959e-05/0.4033, allocations: 25.66 kB / 0.5355 GB, free: 7.828 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002872/0.4036, allocations: 105.3 kB / 0.5356 GB, free: 7.793 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003092/0.4067, allocations: 2.084 MB / 0.5376 GB, free: 7.402 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01379/0.4205, allocations: 7.527 MB / 0.545 GB, free: 4.84 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03804/0.4585, allocations: 24.48 MB / 0.5689 GB, free: 14.96 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004647/0.4631, allocations: 1.659 MB / 0.5705 GB, free: 13.29 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001643/0.4648, allocations: 0.8793 MB / 0.5713 GB, free: 12.41 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008528/0.4733, allocations: 3.78 MB / 0.575 GB, free: 8.656 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.831e-05/0.4733, allocations: 43.56 kB / 0.5751 GB, free: 8.605 MB / 414.1 MB Notification: Performance of pre-optimization done (n=119): time 3.516e-06/0.4733, allocations: 3.75 kB / 0.5751 GB, free: 8.605 MB / 414.1 MB Notification: Performance of matching and sorting (n=135): time 0.01502/0.4884, allocations: 6.652 MB / 0.5816 GB, free: 1.918 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.282e-05/0.4884, allocations: 72.06 kB / 0.5816 GB, free: 1.84 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003902/0.4923, allocations: 2.527 MB / 0.5841 GB, free: 15.27 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001652/0.4925, allocations: 41.7 kB / 0.5841 GB, free: 15.22 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001929/0.4944, allocations: 2.487 MB / 0.5866 GB, free: 12.74 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006531/0.4951, allocations: 0.5343 MB / 0.5871 GB, free: 12.21 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001331/0.4964, allocations: 0.8684 MB / 0.5879 GB, free: 11.34 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002002/0.4966, allocations: 349.9 kB / 0.5883 GB, free: 10.99 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002486/0.4991, allocations: 1.359 MB / 0.5896 GB, free: 9.621 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004675/0.5038, allocations: 3.806 MB / 0.5933 GB, free: 4.629 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007875/0.5116, allocations: 5.506 MB / 0.5987 GB, free: 14.28 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.247e-05/0.5117, allocations: 24 kB / 0.5987 GB, free: 14.25 MB / 446.1 MB Notification: Performance of matching and sorting (n=552) (initialization): time 0.01147/0.5232, allocations: 5.302 MB / 0.6039 GB, free: 9.055 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.518e-05/0.5233, allocations: 42.97 kB / 0.6039 GB, free: 9.016 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001104/0.5234, allocations: 88 kB / 0.604 GB, free: 8.93 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007675/0.5241, allocations: 368.8 kB / 0.6044 GB, free: 8.555 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003031/0.5272, allocations: 0.9209 MB / 0.6053 GB, free: 7.633 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007837/0.535, allocations: 8.458 MB / 0.6135 GB, free: 14.7 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003263/0.5383, allocations: 223.9 kB / 0.6138 GB, free: 14.48 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004969/0.5388, allocations: 254.2 kB / 0.614 GB, free: 14.23 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 392 * Number of states: 0 () * Number of discrete variables: 30 (prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],damper.color_b[3],damper.color_b[2],damper.color_b[1],damper.color_a[3],damper.color_a[2],damper.color_a[1],damper.colorConnector_b[3],damper.colorConnector_b[2],damper.colorConnector_b[1],damper.colorConnector_a[3],damper.colorConnector_a[2],damper.colorConnector_a[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.colorConnector_b[3],spring1.colorConnector_b[2],spring1.colorConnector_b[1],spring1.colorConnector_a[3],spring1.colorConnector_a[2],spring1.colorConnector_a[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (505): * Single equations (assignments): 495 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(3,10,66.7%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003281/0.542, allocations: 1.706 MB / 0.6157 GB, free: 12.52 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004659/0.5425, allocations: 211.2 kB / 0.6159 GB, free: 12.31 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003685/0.5462, allocations: 1.905 MB / 0.6177 GB, free: 10.37 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001752/0.5464, allocations: 39.95 kB / 0.6178 GB, free: 10.33 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.167e-06/0.5464, allocations: 4 kB / 0.6178 GB, free: 10.33 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.139e-05/0.5464, allocations: 3.984 kB / 0.6178 GB, free: 10.32 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009904/0.5563, allocations: 4.502 MB / 0.6222 GB, free: 5.754 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.01e-05/0.5563, allocations: 10.09 kB / 0.6222 GB, free: 5.746 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000728/0.557, allocations: 179.7 kB / 0.6223 GB, free: 5.57 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003936/0.5574, allocations: 149.5 kB / 0.6225 GB, free: 5.418 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.304e-05/0.5575, allocations: 24 kB / 0.6225 GB, free: 5.395 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004338/0.5618, allocations: 4.804 MB / 0.6272 GB, free: 308 kB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.533e-06/0.5618, allocations: 12 kB / 0.6272 GB, free: 296 kB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004775/0.5666, allocations: 2.829 MB / 0.63 GB, free: 13.39 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005938/0.5672, allocations: 202.5 kB / 0.6302 GB, free: 13.19 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002248/0.5674, allocations: 23.05 kB / 0.6302 GB, free: 13.17 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007456/0.5682, allocations: 71.86 kB / 0.6303 GB, free: 13.1 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001544/0.5683, allocations: 76.8 kB / 0.6303 GB, free: 13.02 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.944e-05/0.5684, allocations: 44.05 kB / 0.6304 GB, free: 12.98 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002476/0.5709, allocations: 1.467 MB / 0.6318 GB, free: 11.49 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5709, allocations: 4 kB / 0.6318 GB, free: 11.49 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003773/0.5747, allocations: 0.7098 MB / 0.6325 GB, free: 10.78 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (prismatic.s,prismatic.v) * 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 (102): * Single equations (assignments): 94 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,6,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003557/0.575, allocations: 145.2 kB / 0.6326 GB, free: 10.64 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.005947/0.581, allocations: 3.61 MB / 0.6362 GB, free: 6.984 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/0.581, allocations: 0 / 0.6362 GB, free: 6.984 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001682/0.5827, allocations: 1.08 MB / 0.6372 GB, free: 5.871 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001544/0.5842, allocations: 271.7 kB / 0.6375 GB, free: 5.609 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0138/0.598, allocations: 7.292 MB / 0.6446 GB, free: 14.25 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003058/0.6011, allocations: 2.203 MB / 0.6468 GB, free: 12.02 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008224/0.6019, allocations: 199.4 kB / 0.6469 GB, free: 11.82 MB / 494.1 MB Notification: Performance of SimCode: time 1.332e-06/0.6019, allocations: 0 / 0.6469 GB, free: 11.82 MB / 494.1 MB Notification: Performance of Templates: time 0.3306/0.9325, allocations: 109.1 MB / 0.7535 GB, free: 172.5 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f PlanarMechanics_PlanarMechanics.Examples.SpringDemo.makefile [Timeout 660] (rm -f PlanarMechanics_PlanarMechanics.Examples.SpringDemo.pipe ; mkfifo PlanarMechanics_PlanarMechanics.Examples.SpringDemo.pipe ; head -c 1048576 < PlanarMechanics_PlanarMechanics.Examples.SpringDemo.pipe >> ../files/PlanarMechanics_PlanarMechanics.Examples.SpringDemo.sim & ./PlanarMechanics_PlanarMechanics.Examples.SpringDemo -abortSlowSimulation -alarm=480 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.Examples.SpringDemo.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 12.2268808321096] Failed to read output from testmodel.py, exit status != 0: 0.9416355229914188 0.950359621 0.574809145 Calling exit ...