Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_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.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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.2_ModelicaTest.MultiBody.Forces.Spring") translateModel(ModelicaTest.MultiBody.Forces.Spring,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.001214/0.001214, allocations: 99.7 kB / 15.05 MB, free: 1.105 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.001379/0.001379, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.474/1.474, allocations: 205.4 MB / 222.1 MB, free: 5.535 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3229/0.3229, allocations: 39.99 MB / 310.4 MB, free: 9.668 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.2. 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.0005964/0.0005967, allocations: 12 kB / 378.8 MB, free: 12.36 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1155/0.1161, allocations: 57.96 MB / 436.8 MB, free: 2.289 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Spring): time 0.245/0.3611, allocations: 36.66 MB / 473.4 MB, free: 32.28 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01753/0.3787, allocations: 9.123 MB / 482.5 MB, free: 26.29 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007567/0.3863, allocations: 180.5 kB / 482.7 MB, free: 26.26 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005115/0.3914, allocations: 1.791 MB / 484.5 MB, free: 25.67 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0148/0.4063, allocations: 5.347 MB / 489.9 MB, free: 23.13 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002335/0.4086, allocations: 0.6536 MB / 490.5 MB, free: 22.88 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003945/0.4126, allocations: 2.516 MB / 493 MB, free: 21.85 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004916/0.4175, allocations: 4.132 MB / 497.2 MB, free: 20.27 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001427/0.4189, allocations: 1.077 MB / 498.2 MB, free: 19.89 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001783/0.4207, allocations: 1.518 MB / 499.8 MB, free: 19.42 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004539/0.4212, allocations: 150.7 kB / 499.9 MB, free: 19.42 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001468/0.4227, allocations: 0.7025 MB / 0.4889 GB, free: 19.28 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00156/0.4242, allocations: 1.608 MB / 0.4904 GB, free: 18.79 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000898/0.4252, allocations: 0.8357 MB / 0.4913 GB, free: 18.21 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0066/0.4318, allocations: 5.251 MB / 0.4964 GB, free: 17.12 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.4318, allocations: 0 / 0.4964 GB, free: 17.12 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.093e-06/0.4318, allocations: 0 / 0.4964 GB, free: 17.12 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002239/0.432, allocations: 0 / 0.4964 GB, free: 17.12 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.008741/0.4408, allocations: 4.045 MB / 0.5003 GB, free: 14.38 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/0.4408, allocations: 8.812 kB / 0.5003 GB, free: 14.38 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008628/0.4495, allocations: 2.298 MB / 0.5026 GB, free: 13.24 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006372/0.4559, allocations: 2.799 MB / 0.5053 GB, free: 11.6 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002153/0.4561, allocations: 252.3 kB / 0.5056 GB, free: 11.48 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00105/0.4572, allocations: 329.7 kB / 0.5059 GB, free: 11.37 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02063/0.4778, allocations: 10.29 MB / 0.5159 GB, free: 4.898 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001361/0.478, allocations: 48.41 kB / 0.516 GB, free: 4.871 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000474/0.4785, allocations: 160.5 kB / 0.5161 GB, free: 4.762 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002591/0.4811, allocations: 1.903 MB / 0.518 GB, free: 3.512 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01593/0.497, allocations: 8.243 MB / 0.526 GB, free: 11.24 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04713/0.5442, allocations: 39.58 MB / 0.5647 GB, free: 2.508 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008264/0.5525, allocations: 3.282 MB / 0.5679 GB, free: 15.05 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009497/0.562, allocations: 5.986 MB / 0.5737 GB, free: 8.699 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.949e-05/0.5621, allocations: 55.56 kB / 0.5738 GB, free: 8.637 MB / 446.1 MB Notification: Performance of pre-optimization done (n=148): time 5.049e-06/0.5621, allocations: 0 / 0.5738 GB, free: 8.637 MB / 446.1 MB Notification: Performance of matching and sorting (n=160): time 0.02255/0.5846, allocations: 9.819 MB / 0.5834 GB, free: 14.65 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.506e-05/0.5848, allocations: 153.5 kB / 0.5835 GB, free: 14.47 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005935/0.5907, allocations: 4.287 MB / 0.5877 GB, free: 10.16 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002392/0.591, allocations: 45.7 kB / 0.5877 GB, free: 10.11 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002098/0.5931, allocations: 3.187 MB / 0.5909 GB, free: 6.875 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008114/0.5939, allocations: 0.652 MB / 0.5915 GB, free: 6.215 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002234/0.5941, allocations: 120 kB / 0.5916 GB, free: 6.098 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0003696/0.5945, allocations: 0.5544 MB / 0.5922 GB, free: 5.535 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00261/0.5971, allocations: 1.616 MB / 0.5937 GB, free: 3.914 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005193/0.6023, allocations: 5.442 MB / 0.599 GB, free: 12.54 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005444/0.6078, allocations: 2.91 MB / 0.6019 GB, free: 9.633 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.48e-05/0.6079, allocations: 40 kB / 0.6019 GB, free: 9.594 MB / 478.1 MB Notification: Performance of matching and sorting (n=791) (initialization): time 0.01372/0.6217, allocations: 6.816 MB / 0.6086 GB, free: 2.77 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001144/0.6218, allocations: 67.94 kB / 0.6086 GB, free: 2.703 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001938/0.622, allocations: 136 kB / 0.6088 GB, free: 2.57 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002881/0.6223, allocations: 200 kB / 0.609 GB, free: 2.375 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005186/0.6275, allocations: 1.427 MB / 0.6104 GB, free: 0.9453 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003141/0.6278, allocations: 275.3 kB / 0.6106 GB, free: 0.6758 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00433/0.6322, allocations: 291.6 kB / 0.6109 GB, free: 400 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007236/0.6329, allocations: 368 kB / 0.6113 GB, free: 32 kB / 478.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 (767): * Single equations (assignments): 764 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00454/0.6375, allocations: 2.045 MB / 0.6132 GB, free: 13.97 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008527/0.6383, allocations: 355.4 kB / 0.6136 GB, free: 13.62 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002794/0.6411, allocations: 1.333 MB / 0.6149 GB, free: 12.27 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.873e-05/0.6412, allocations: 16 kB / 0.6149 GB, free: 12.26 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.418e-06/0.6412, allocations: 0 / 0.6149 GB, free: 12.26 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.977e-05/0.6412, allocations: 15.91 kB / 0.6149 GB, free: 12.24 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01361/0.6548, allocations: 5.845 MB / 0.6206 GB, free: 6.09 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.462e-05/0.6549, allocations: 20 kB / 0.6206 GB, free: 6.07 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001083/0.656, allocations: 275.5 kB / 0.6209 GB, free: 5.801 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.499e-05/0.6561, allocations: 28 kB / 0.6209 GB, free: 5.773 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001443/0.6562, allocations: 51.98 kB / 0.621 GB, free: 5.723 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.74e-05/0.6563, allocations: 36.36 kB / 0.621 GB, free: 5.688 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.895e-05/0.6563, allocations: 27.88 kB / 0.621 GB, free: 5.66 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2369/0.8932, allocations: 5.294 MB / 0.6262 GB, free: 114.2 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001822/0.8951, allocations: 0.5372 MB / 0.6267 GB, free: 114.1 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007546/0.8959, allocations: 51.14 kB / 0.6268 GB, free: 114.1 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001517/0.8974, allocations: 65.03 kB / 0.6269 GB, free: 114.1 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001685/0.8976, allocations: 142.2 kB / 0.627 GB, free: 114.1 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001093/0.8977, allocations: 73.28 kB / 0.6271 GB, free: 114.1 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.005034/0.9027, allocations: 2.692 MB / 0.6297 GB, free: 113.9 MB / 494.1 MB Notification: Performance of sort global known variables: time 6.01e-07/0.9028, allocations: 0 / 0.6297 GB, free: 113.9 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.006158/0.9089, allocations: 0.9217 MB / 0.6306 GB, free: 113.9 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006582/0.9096, allocations: 218.4 kB / 0.6308 GB, free: 113.9 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.006202/0.9158, allocations: 3.727 MB / 0.6344 GB, free: 113.9 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-05/0.9159, allocations: 3.094 kB / 0.6344 GB, free: 113.9 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001021/0.9169, allocations: 0.7478 MB / 0.6352 GB, free: 113.9 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002751/0.9197, allocations: 438.9 kB / 0.6356 GB, free: 113.8 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01555/0.9352, allocations: 10.4 MB / 0.6457 GB, free: 109 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003555/0.9388, allocations: 3.266 MB / 0.6489 GB, free: 108.2 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004527/0.9434, allocations: 1.825 MB / 0.6507 GB, free: 108 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007064/0.9441, allocations: 246.5 kB / 0.6509 GB, free: 108 MB / 494.1 MB Notification: Performance of SimCode: time 1.052e-06/0.9441, allocations: 0 / 0.6509 GB, free: 108 MB / 494.1 MB Notification: Performance of Templates: time 0.05457/0.9987, allocations: 27.6 MB / 0.6779 GB, free: 99.75 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Spring.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Spring.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Spring.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Spring.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Spring.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Spring -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Spring.pipe 2>&1) Environment - environmentSimulation: