Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Spring.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.Spring,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Spring") translateModel(ModelicaTest.MultiBody.Forces.Spring,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Spring") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001293/0.001293, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00157/0.00157, allocations: 192.3 kB / 16.13 MB, free: 6.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.551/1.551, allocations: 205.1 MB / 222 MB, free: 4.773 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.361/0.361, allocations: 37.97 MB / 307.3 MB, free: 10.14 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002382/0.002383, allocations: 60.55 kB / 374.5 MB, free: 15.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1574/0.1598, allocations: 56.47 MB / 431 MB, free: 7.066 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Spring): time 0.3237/0.4836, allocations: 42.88 MB / 473.9 MB, free: 30.86 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02035/0.504, allocations: 9.267 MB / 483.2 MB, free: 25.36 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008972/0.5131, allocations: 179.9 kB / 483.3 MB, free: 25.33 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004748/0.5179, allocations: 2.463 MB / 485.8 MB, free: 24.2 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005519/0.5234, allocations: 1.756 MB / 487.6 MB, free: 23.43 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001857/0.5253, allocations: 0.7213 MB / 488.3 MB, free: 23.12 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.007689/0.533, allocations: 6.17 MB / 494.4 MB, free: 21.33 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004374/0.5374, allocations: 3.309 MB / 497.8 MB, free: 20.15 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003112/0.5406, allocations: 1.4 MB / 499.2 MB, free: 19.61 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005097/0.5457, allocations: 2.379 MB / 0.4898 GB, free: 18.81 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001257/0.547, allocations: 242.9 kB / 0.49 GB, free: 18.81 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002663/0.5496, allocations: 0.9281 MB / 0.4909 GB, free: 18.6 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003283/0.5529, allocations: 1.889 MB / 0.4928 GB, free: 17.98 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003367/0.5563, allocations: 2.179 MB / 0.4949 GB, free: 16.51 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01259/0.5689, allocations: 6.57 MB / 0.5013 GB, free: 14.13 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.815e-06/0.569, allocations: 0 / 0.5013 GB, free: 14.13 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.569, allocations: 0 / 0.5013 GB, free: 14.13 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002921/0.5693, allocations: 5.406 kB / 0.5013 GB, free: 14.13 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: 1535 * Number of variables: 1535 Notification: Performance of Generate backend data structure: time 0.01387/0.5832, allocations: 4.833 MB / 0.506 GB, free: 10.81 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.517e-05/0.5833, allocations: 9.562 kB / 0.506 GB, free: 10.81 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007522/0.5908, allocations: 1.951 MB / 0.5079 GB, free: 9.801 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005775/0.5966, allocations: 2.436 MB / 0.5103 GB, free: 8.25 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001737/0.5968, allocations: 247.8 kB / 0.5106 GB, free: 8.137 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007879/0.5976, allocations: 336.8 kB / 0.5109 GB, free: 8.012 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02036/0.618, allocations: 10.2 MB / 0.5208 GB, free: 356 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002071/0.6182, allocations: 47.53 kB / 0.5209 GB, free: 308 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001516/0.6198, allocations: 155.9 kB / 0.521 GB, free: 152 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004002/0.6238, allocations: 1.915 MB / 0.5229 GB, free: 14.23 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02029/0.6441, allocations: 8.142 MB / 0.5309 GB, free: 6.059 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05683/0.701, allocations: 39.44 MB / 0.5694 GB, free: 13.45 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009086/0.7101, allocations: 3.269 MB / 0.5726 GB, free: 10.02 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002264/0.7125, allocations: 1.049 MB / 0.5736 GB, free: 8.949 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01046/0.723, allocations: 5.912 MB / 0.5794 GB, free: 2.676 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.956e-05/0.7231, allocations: 59.55 kB / 0.5794 GB, free: 2.609 MB / 446.1 MB Notification: Performance of pre-optimization done (n=148): time 5.48e-06/0.7231, allocations: 0 / 0.5794 GB, free: 2.609 MB / 446.1 MB Notification: Performance of matching and sorting (n=160): time 0.02393/0.747, allocations: 9.472 MB / 0.5887 GB, free: 9.023 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.89e-05/0.7471, allocations: 157.4 kB / 0.5888 GB, free: 8.836 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006362/0.7535, allocations: 4.059 MB / 0.5928 GB, free: 4.75 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003045/0.7538, allocations: 49.7 kB / 0.5928 GB, free: 4.695 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002327/0.7562, allocations: 3.186 MB / 0.5959 GB, free: 1.461 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008153/0.757, allocations: 0.6288 MB / 0.5966 GB, free: 0.8242 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001711/0.7587, allocations: 1.222 MB / 0.5978 GB, free: 15.59 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001512/0.7589, allocations: 305.1 kB / 0.598 GB, free: 15.29 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002697/0.7616, allocations: 1.652 MB / 0.5997 GB, free: 13.63 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005699/0.7673, allocations: 5.509 MB / 0.605 GB, free: 6.188 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009588/0.7769, allocations: 7.782 MB / 0.6126 GB, free: 12.48 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001141/0.7771, allocations: 40 kB / 0.6127 GB, free: 12.45 MB / 494.1 MB Notification: Performance of matching and sorting (n=799) (initialization): time 0.0179/0.795, allocations: 6.917 MB / 0.6194 GB, free: 5.523 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001046/0.7951, allocations: 64 kB / 0.6195 GB, free: 5.461 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001628/0.7953, allocations: 138.7 kB / 0.6196 GB, free: 5.328 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001746/0.7955, allocations: 184 kB / 0.6198 GB, free: 5.148 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004962/0.8005, allocations: 1.427 MB / 0.6212 GB, free: 3.719 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002171/0.8007, allocations: 275 kB / 0.6215 GB, free: 3.449 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005276/0.806, allocations: 295.6 kB / 0.6217 GB, free: 3.16 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001034/0.8071, allocations: 379.9 kB / 0.6221 GB, free: 2.789 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 625 * Number of states: 0 () * Number of discrete variables: 39 (prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (775): * Single equations (assignments): 772 * Array equations: 3 * 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.004619/0.8117, allocations: 2.041 MB / 0.6241 GB, free: 0.7344 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008031/0.8125, allocations: 351.4 kB / 0.6244 GB, free: 396 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3445/1.157, allocations: 1.339 MB / 0.6257 GB, free: 116.5 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.634e-05/1.157, allocations: 17.88 kB / 0.6257 GB, free: 116.5 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.128e-05/1.157, allocations: 0 / 0.6257 GB, free: 116.5 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.643e-05/1.157, allocations: 9.703 kB / 0.6258 GB, free: 116.5 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0112/1.168, allocations: 5.831 MB / 0.6315 GB, free: 115.5 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.954e-05/1.168, allocations: 17 kB / 0.6315 GB, free: 115.5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001002/1.169, allocations: 283.1 kB / 0.6317 GB, free: 115.5 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-05/1.169, allocations: 22.78 kB / 0.6318 GB, free: 115.5 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.622e-05/1.17, allocations: 56.89 kB / 0.6318 GB, free: 115.5 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.04e-05/1.17, allocations: 33.89 kB / 0.6318 GB, free: 115.5 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.156e-05/1.17, allocations: 30.97 kB / 0.6319 GB, free: 115.5 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004188/1.174, allocations: 3.283 MB / 0.6351 GB, free: 114.4 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001469/1.175, allocations: 0.5197 MB / 0.6356 GB, free: 114.3 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005269/1.176, allocations: 51.34 kB / 0.6356 GB, free: 114.3 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00127/1.177, allocations: 60 kB / 0.6357 GB, free: 114.3 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001978/1.177, allocations: 146.8 kB / 0.6358 GB, free: 114.3 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001026/1.177, allocations: 63.91 kB / 0.6359 GB, free: 114.3 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.005704/1.183, allocations: 2.525 MB / 0.6384 GB, free: 114.2 MB / 494.1 MB Notification: Performance of sort global known variables: time 9.62e-07/1.183, allocations: 0 / 0.6384 GB, free: 114.2 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.008098/1.191, allocations: 0.9146 MB / 0.6393 GB, free: 114.2 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 78 * Number of states: 4 (prismatic.s,prismatic.v,prismatic1.s,prismatic1.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 (145): * Single equations (assignments): 142 * Array equations: 3 * 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.0009677/1.192, allocations: 194 kB / 0.6394 GB, free: 114.1 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.008293/1.201, allocations: 3.78 MB / 0.6431 GB, free: 113.5 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.22e-05/1.201, allocations: 3 kB / 0.6431 GB, free: 113.5 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001118/1.202, allocations: 0.7439 MB / 0.6439 GB, free: 113.3 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003517/1.205, allocations: 456 kB / 0.6443 GB, free: 113.1 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02085/1.226, allocations: 10.83 MB / 0.6549 GB, free: 106.8 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004836/1.231, allocations: 3.185 MB / 0.658 GB, free: 105.6 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.005443/1.237, allocations: 1.807 MB / 0.6597 GB, free: 105.4 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007821/1.237, allocations: 246.8 kB / 0.66 GB, free: 105.4 MB / 494.1 MB Notification: Performance of SimCode: time 9.51e-07/1.237, allocations: 0 / 0.66 GB, free: 105.4 MB / 494.1 MB Notification: Performance of Templates: time 0.06099/1.298, allocations: 27.69 MB / 0.687 GB, free: 92.31 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Spring.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Spring.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Spring.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Spring.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Spring.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Spring -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Spring.pipe 2>&1)