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.001906/0.001906, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002472/0.002472, allocations: 213 kB / 22.25 MB, free: 5.262 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.556/1.556, allocations: 230.6 MB / 256 MB, free: 7.793 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.0501/0.0501, allocations: 9.234 MB / 321.7 MB, free: 9.852 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.002302/0.002302, allocations: 67.91 kB / 448.2 MB, free: 14.11 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09877/0.1011, allocations: 55.47 MB / 0.4918 GB, free: 6.543 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.SpringDemo): time 0.01115/0.1122, allocations: 8.351 MB / 0.5 GB, free: 14.15 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005808/0.118, allocations: 2.662 MB / 0.5026 GB, free: 11.48 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001222/0.1193, allocations: 39.88 kB / 0.5026 GB, free: 11.45 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001288/0.1205, allocations: 429.1 kB / 0.503 GB, free: 11.02 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003825/0.1244, allocations: 1.471 MB / 0.5045 GB, free: 9.547 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006389/0.125, allocations: 159.7 kB / 0.5046 GB, free: 9.391 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003647/0.1287, allocations: 2.694 MB / 0.5072 GB, free: 6.691 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001379/0.13, allocations: 0.7889 MB / 0.508 GB, free: 5.875 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001635/0.1317, allocations: 0.9921 MB / 0.509 GB, free: 4.879 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002384/0.1341, allocations: 1.459 MB / 0.5104 GB, free: 3.414 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006805/0.1347, allocations: 252 kB / 0.5107 GB, free: 3.168 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001689/0.1364, allocations: 0.7685 MB / 0.5114 GB, free: 2.398 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001653/0.1381, allocations: 1.343 MB / 0.5127 GB, free: 1.051 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.2034/0.3415, allocations: 1.195 MB / 0.5139 GB, free: 12.45 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005508/0.347, allocations: 5.374 MB / 0.5191 GB, free: 11.96 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.347, allocations: 3.844 kB / 0.5191 GB, free: 11.96 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.347, allocations: 0 / 0.5191 GB, free: 11.96 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001332/0.3471, allocations: 0 / 0.5191 GB, free: 11.96 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.007531/0.3547, allocations: 3.612 MB / 0.5227 GB, free: 10.42 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.728e-05/0.3547, allocations: 10.56 kB / 0.5227 GB, free: 10.42 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007281/0.362, allocations: 1.851 MB / 0.5245 GB, free: 10.18 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004297/0.3663, allocations: 1.383 MB / 0.5258 GB, free: 9.797 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002261/0.3665, allocations: 160.8 kB / 0.526 GB, free: 9.789 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001012/0.3675, allocations: 215 kB / 0.5262 GB, free: 9.785 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02154/0.3891, allocations: 8.722 MB / 0.5347 GB, free: 7.602 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001137/0.3892, allocations: 22.66 kB / 0.5347 GB, free: 7.602 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004606/0.3896, allocations: 104.9 kB / 0.5348 GB, free: 7.566 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005707/0.3953, allocations: 2.085 MB / 0.5369 GB, free: 7.176 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02356/0.4189, allocations: 7.534 MB / 0.5442 GB, free: 4.633 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06369/0.4826, allocations: 24.47 MB / 0.5681 GB, free: 14.8 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009065/0.4916, allocations: 1.663 MB / 0.5697 GB, free: 13.12 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002885/0.4945, allocations: 0.8832 MB / 0.5706 GB, free: 12.24 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0159/0.5104, allocations: 3.777 MB / 0.5743 GB, free: 8.484 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.52e-05/0.5105, allocations: 39.56 kB / 0.5743 GB, free: 8.438 MB / 414.1 MB Notification: Performance of pre-optimization done (n=119): time 5.711e-06/0.5105, allocations: 4 kB / 0.5743 GB, free: 8.434 MB / 414.1 MB Notification: Performance of matching and sorting (n=135): time 0.02236/0.5329, allocations: 6.657 MB / 0.5808 GB, free: 1.746 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.458e-05/0.5329, allocations: 65.91 kB / 0.5809 GB, free: 1.672 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003802/0.5367, allocations: 2.528 MB / 0.5834 GB, free: 15.1 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001116/0.5368, allocations: 41.7 kB / 0.5834 GB, free: 15.05 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001871/0.5387, allocations: 2.49 MB / 0.5858 GB, free: 12.57 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005338/0.5392, allocations: 0.5392 MB / 0.5864 GB, free: 12.04 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001252/0.5405, allocations: 0.8684 MB / 0.5872 GB, free: 11.16 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001823/0.5407, allocations: 345.9 kB / 0.5875 GB, free: 10.82 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002477/0.5431, allocations: 1.363 MB / 0.5889 GB, free: 9.449 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004536/0.5477, allocations: 3.8 MB / 0.5926 GB, free: 4.461 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007353/0.555, allocations: 5.505 MB / 0.598 GB, free: 14.11 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.031e-05/0.5551, allocations: 24 kB / 0.598 GB, free: 14.08 MB / 446.1 MB Notification: Performance of matching and sorting (n=552) (initialization): time 0.009541/0.5646, allocations: 5.298 MB / 0.6032 GB, free: 8.922 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.063e-05/0.5647, allocations: 43.94 kB / 0.6032 GB, free: 8.879 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001108/0.5648, allocations: 89.03 kB / 0.6033 GB, free: 8.793 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000761/0.5656, allocations: 369.6 kB / 0.6036 GB, free: 8.422 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002814/0.5684, allocations: 0.924 MB / 0.6045 GB, free: 7.496 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007892/0.5763, allocations: 8.462 MB / 0.6128 GB, free: 14.56 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003133/0.5794, allocations: 227.9 kB / 0.613 GB, free: 14.34 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005939/0.58, allocations: 252 kB / 0.6133 GB, free: 14.09 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.003141/0.5831, allocations: 1.7 MB / 0.6149 GB, free: 12.39 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003867/0.5835, allocations: 206.6 kB / 0.6151 GB, free: 12.18 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003533/0.587, allocations: 1.91 MB / 0.617 GB, free: 10.24 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001842/0.5872, allocations: 37.05 kB / 0.617 GB, free: 10.2 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.038e-05/0.5872, allocations: 4 kB / 0.617 GB, free: 10.2 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.545e-05/0.5873, allocations: 15.84 kB / 0.617 GB, free: 10.18 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01022/0.5975, allocations: 4.492 MB / 0.6214 GB, free: 5.621 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.825e-06/0.5975, allocations: 0 / 0.6214 GB, free: 5.621 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007657/0.5983, allocations: 184.1 kB / 0.6216 GB, free: 5.441 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000442/0.5987, allocations: 160.3 kB / 0.6218 GB, free: 5.281 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.015e-05/0.5988, allocations: 31.98 kB / 0.6218 GB, free: 5.25 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004576/0.6034, allocations: 4.787 MB / 0.6265 GB, free: 172 kB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.783e-06/0.6034, allocations: 7.938 kB / 0.6265 GB, free: 164 kB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005046/0.6084, allocations: 2.842 MB / 0.6292 GB, free: 13.25 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006946/0.6091, allocations: 198.5 kB / 0.6294 GB, free: 13.05 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002592/0.6094, allocations: 26.27 kB / 0.6295 GB, free: 13.03 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007957/0.6102, allocations: 59.92 kB / 0.6295 GB, free: 12.97 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001675/0.6103, allocations: 88.73 kB / 0.6296 GB, free: 12.89 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.161e-05/0.6104, allocations: 39.98 kB / 0.6296 GB, free: 12.85 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002516/0.6129, allocations: 1.471 MB / 0.6311 GB, free: 11.36 MB / 478.1 MB Notification: Performance of sort global known variables: time 8e-08/0.6129, allocations: 0 / 0.6311 GB, free: 11.36 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003362/0.6163, allocations: 0.7009 MB / 0.6318 GB, free: 10.66 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.0003377/0.6166, allocations: 155.6 kB / 0.6319 GB, free: 10.5 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.006629/0.6233, allocations: 3.609 MB / 0.6354 GB, free: 6.852 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.6233, allocations: 4.062 kB / 0.6354 GB, free: 6.848 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001672/0.6249, allocations: 1.072 MB / 0.6365 GB, free: 5.738 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001542/0.6265, allocations: 273.6 kB / 0.6367 GB, free: 5.48 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0127/0.6392, allocations: 6.886 MB / 0.6435 GB, free: 14.53 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003246/0.6424, allocations: 2.2 MB / 0.6456 GB, free: 12.3 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.002955/0.6454, allocations: 1.156 MB / 0.6467 GB, free: 11.14 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004337/0.6458, allocations: 155.4 kB / 0.6469 GB, free: 10.99 MB / 494.1 MB Notification: Performance of SimCode: time 9.72e-07/0.6458, allocations: 0 / 0.6469 GB, free: 10.99 MB / 494.1 MB Notification: Performance of Templates: time 0.04775/0.6936, allocations: 21.21 MB / 0.6676 GB, free: 6.18 MB / 0.4981 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: 6.234091753140092] Failed to read output from testmodel.py, exit status != 0: 0.7026252709329128 0.717280382 0.367013046 Calling exit ...