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.006448/0.006448, allocations: 100.7 kB / 15.73 MB, free: 6.004 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.001242/0.001242, allocations: 197.9 kB / 16.67 MB, free: 5.926 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.565/1.565, allocations: 205.1 MB / 222.5 MB, free: 4.328 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.3701/0.3701, allocations: 39.94 MB / 309.8 MB, free: 9.629 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.001703/0.001704, allocations: 72.36 kB / 435.8 MB, free: 2.465 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3776/0.3794, allocations: 56.87 MB / 492.7 MB, free: 19.39 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Spring): time 0.01263/0.3921, allocations: 11.45 MB / 0.4923 GB, free: 11.23 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01214/0.4043, allocations: 4.037 MB / 0.4962 GB, free: 8.547 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004483/0.4088, allocations: 69.28 kB / 0.4963 GB, free: 8.531 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00615/0.4151, allocations: 2.499 MB / 0.4987 GB, free: 7.246 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007096/0.4222, allocations: 1.879 MB / 0.5006 GB, free: 5.918 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002346/0.4246, allocations: 0.7796 MB / 0.5013 GB, free: 5.379 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.008587/0.4332, allocations: 4.456 MB / 0.5057 GB, free: 3.027 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005264/0.4385, allocations: 3.342 MB / 0.509 GB, free: 1.027 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003629/0.4421, allocations: 1.583 MB / 0.5105 GB, free: 136 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005034/0.4472, allocations: 2.236 MB / 0.5127 GB, free: 14.78 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00128/0.4485, allocations: 334 kB / 0.513 GB, free: 14.78 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003229/0.4518, allocations: 0.968 MB / 0.5139 GB, free: 14.42 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003043/0.4548, allocations: 1.958 MB / 0.5159 GB, free: 12.7 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003452/0.4583, allocations: 2.256 MB / 0.5181 GB, free: 10.43 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009491/0.4678, allocations: 6.877 MB / 0.5248 GB, free: 3.535 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.4678, allocations: 0 / 0.5248 GB, free: 3.535 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.4679, allocations: 0 / 0.5248 GB, free: 3.535 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002379/0.4681, allocations: 0 / 0.5248 GB, free: 3.535 MB / 398.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.01093/0.479, allocations: 4.834 MB / 0.5295 GB, free: 14.63 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.472e-05/0.4791, allocations: 11.89 kB / 0.5295 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007414/0.4866, allocations: 1.949 MB / 0.5314 GB, free: 12.66 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006369/0.493, allocations: 2.477 MB / 0.5338 GB, free: 10.12 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002157/0.4932, allocations: 258.4 kB / 0.5341 GB, free: 9.867 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008147/0.494, allocations: 331.8 kB / 0.5344 GB, free: 9.543 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01904/0.5131, allocations: 10.21 MB / 0.5444 GB, free: 14.54 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001469/0.5133, allocations: 51.52 kB / 0.5444 GB, free: 14.49 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004238/0.5137, allocations: 155.9 kB / 0.5446 GB, free: 14.34 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002998/0.5167, allocations: 1.908 MB / 0.5464 GB, free: 12.43 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01795/0.5347, allocations: 8.142 MB / 0.5544 GB, free: 4.27 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05697/0.5917, allocations: 39.27 MB / 0.5927 GB, free: 11.82 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008557/0.6003, allocations: 3.278 MB / 0.5959 GB, free: 8.371 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001791/0.6021, allocations: 1.057 MB / 0.597 GB, free: 7.297 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01081/0.613, allocations: 5.909 MB / 0.6027 GB, free: 1.016 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.279e-05/0.6131, allocations: 55.42 kB / 0.6028 GB, free: 0.9531 MB / 478.1 MB Notification: Performance of pre-optimization done (n=148): time 5.34e-06/0.6131, allocations: 0 / 0.6028 GB, free: 0.9531 MB / 478.1 MB Notification: Performance of matching and sorting (n=160): time 0.02716/0.6403, allocations: 9.479 MB / 0.612 GB, free: 7.359 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001525/0.6405, allocations: 196.9 kB / 0.6122 GB, free: 7.125 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009099/0.6496, allocations: 4.063 MB / 0.6162 GB, free: 3.035 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003193/0.6499, allocations: 49.7 kB / 0.6162 GB, free: 2.98 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003093/0.653, allocations: 3.19 MB / 0.6194 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009856/0.6541, allocations: 0.6366 MB / 0.62 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002781/0.6568, allocations: 1.214 MB / 0.6212 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001071/0.657, allocations: 305.1 kB / 0.6215 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003389/0.6604, allocations: 1.655 MB / 0.6231 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006506/0.6669, allocations: 5.522 MB / 0.6285 GB, free: 4.449 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3503/1.017, allocations: 7.78 MB / 0.6361 GB, free: 117 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002249/1.018, allocations: 44.06 kB / 0.6361 GB, free: 117 MB / 0.4981 GB Notification: Performance of matching and sorting (n=799) (initialization): time 0.01549/1.033, allocations: 6.901 MB / 0.6428 GB, free: 114.6 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001016/1.033, allocations: 64.58 kB / 0.6429 GB, free: 114.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001817/1.033, allocations: 137.2 kB / 0.643 GB, free: 114.6 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002617/1.034, allocations: 181.9 kB / 0.6432 GB, free: 114.6 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004648/1.038, allocations: 1.433 MB / 0.6446 GB, free: 114.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002702/1.039, allocations: 269.4 kB / 0.6449 GB, free: 114.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004/1.043, allocations: 299.2 kB / 0.6451 GB, free: 114.3 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006619/1.043, allocations: 375 kB / 0.6455 GB, free: 114.3 MB / 0.4981 GB 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.004076/1.047, allocations: 2.047 MB / 0.6475 GB, free: 113.4 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007652/1.048, allocations: 347 kB / 0.6478 GB, free: 113.4 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002583/1.051, allocations: 1.34 MB / 0.6491 GB, free: 112.8 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.778e-05/1.051, allocations: 18.47 kB / 0.6492 GB, free: 112.8 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.111e-05/1.051, allocations: 5.562 kB / 0.6492 GB, free: 112.8 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.03e-05/1.051, allocations: 11.81 kB / 0.6492 GB, free: 112.8 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01366/1.064, allocations: 5.823 MB / 0.6549 GB, free: 110.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.683e-05/1.065, allocations: 17.91 kB / 0.6549 GB, free: 110.2 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001075/1.066, allocations: 283.4 kB / 0.6551 GB, free: 110.2 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.381e-05/1.066, allocations: 23.31 kB / 0.6552 GB, free: 110.2 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001124/1.066, allocations: 48.61 kB / 0.6552 GB, free: 110.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.085e-05/1.066, allocations: 35.66 kB / 0.6553 GB, free: 110.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.201e-05/1.066, allocations: 27.84 kB / 0.6553 GB, free: 110.2 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004829/1.071, allocations: 3.277 MB / 0.6585 GB, free: 108.3 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001748/1.072, allocations: 0.5235 MB / 0.659 GB, free: 108 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004504/1.073, allocations: 47.78 kB / 0.659 GB, free: 108 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00127/1.074, allocations: 66.8 kB / 0.6591 GB, free: 107.9 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002665/1.075, allocations: 152.4 kB / 0.6592 GB, free: 107.9 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001285/1.075, allocations: 63.41 kB / 0.6593 GB, free: 107.9 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.005327/1.08, allocations: 2.525 MB / 0.6618 GB, free: 107 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.2e-07/1.08, allocations: 0 / 0.6618 GB, free: 107 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.007135/1.087, allocations: 0.9062 MB / 0.6627 GB, free: 106.9 MB / 0.4981 GB 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.000563/1.088, allocations: 201.1 kB / 0.6628 GB, free: 106.8 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.007293/1.095, allocations: 3.83 MB / 0.6666 GB, free: 105.5 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-05/1.095, allocations: 8.031 kB / 0.6666 GB, free: 105.5 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.00111/1.096, allocations: 0.7378 MB / 0.6673 GB, free: 105.3 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003397/1.1, allocations: 479.3 kB / 0.6678 GB, free: 105 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01403/1.114, allocations: 8.749 MB / 0.6763 GB, free: 100.7 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002941/1.117, allocations: 3.187 MB / 0.6794 GB, free: 98.34 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0035/1.12, allocations: 1.824 MB / 0.6812 GB, free: 96.52 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005041/1.121, allocations: 239.4 kB / 0.6814 GB, free: 96.28 MB / 0.4981 GB Notification: Performance of SimCode: time 1.513e-06/1.121, allocations: 0 / 0.6814 GB, free: 96.28 MB / 0.4981 GB Notification: Performance of Templates: time 0.04951/1.17, allocations: 24.91 MB / 0.7058 GB, free: 71.54 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Spring.makefile (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)