Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.SpringDamperSeries.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.SpringDamperSeries,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.SpringDamperSeries") translateModel(ModelicaTest.MultiBody.Forces.SpringDamperSeries,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.SpringDamperSeries") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001225/0.001225, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00133/0.00133, allocations: 194.6 kB / 16.53 MB, free: 6.664 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.584/1.584, allocations: 205.1 MB / 222.4 MB, free: 4.559 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.3897/0.3897, allocations: 39.94 MB / 309.7 MB, free: 9.312 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.001532/0.001532, allocations: 75.16 kB / 377.6 MB, free: 12.65 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1556/0.1571, allocations: 56.87 MB / 434.5 MB, free: 3.676 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.SpringDamperSeries): time 0.01285/0.17, allocations: 10.57 MB / 445.1 MB, free: 9.055 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.008344/0.1784, allocations: 3.245 MB / 448.3 MB, free: 5.801 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002093/0.1805, allocations: 55.81 kB / 448.4 MB, free: 5.746 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004544/0.1851, allocations: 2.367 MB / 450.7 MB, free: 3.371 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004624/0.1898, allocations: 1.217 MB / 451.9 MB, free: 2.148 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002036/0.1918, allocations: 0.5185 MB / 452.5 MB, free: 1.629 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.2913/0.4831, allocations: 2.959 MB / 455.4 MB, free: 36.63 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003943/0.4871, allocations: 3.032 MB / 458.4 MB, free: 36.34 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002235/0.4894, allocations: 1.278 MB / 459.7 MB, free: 36.22 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002336/0.4918, allocations: 1.724 MB / 461.4 MB, free: 36 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006291/0.4924, allocations: 294.4 kB / 461.7 MB, free: 36 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001924/0.4943, allocations: 0.9848 MB / 462.7 MB, free: 36 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001487/0.4958, allocations: 1.608 MB / 464.3 MB, free: 35.82 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001868/0.4977, allocations: 1.976 MB / 466.3 MB, free: 34.95 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006377/0.5041, allocations: 6.05 MB / 472.4 MB, free: 32.95 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.396e-05/0.5042, allocations: 4 kB / 472.4 MB, free: 32.94 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.306e-06/0.5042, allocations: 0 / 472.4 MB, free: 32.94 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002621/0.5044, allocations: 0 / 472.4 MB, free: 32.94 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: 1473 * Number of variables: 1473 Notification: Performance of Generate backend data structure: time 0.01077/0.5152, allocations: 4.26 MB / 476.6 MB, free: 30.59 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.354e-05/0.5153, allocations: 17.17 kB / 476.6 MB, free: 30.58 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006125/0.5214, allocations: 1.799 MB / 478.4 MB, free: 30.26 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004423/0.5259, allocations: 1.754 MB / 480.2 MB, free: 29.39 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001503/0.5261, allocations: 227.4 kB / 480.4 MB, free: 29.31 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006354/0.5267, allocations: 306.8 kB / 480.7 MB, free: 29.24 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02407/0.5508, allocations: 10.62 MB / 491.3 MB, free: 24.88 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001224/0.551, allocations: 42.11 kB / 491.4 MB, free: 24.88 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004552/0.5514, allocations: 144.6 kB / 491.5 MB, free: 24.81 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004204/0.5557, allocations: 2.039 MB / 493.6 MB, free: 24.47 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02533/0.581, allocations: 9.319 MB / 0.4911 GB, free: 21.99 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.047/0.6281, allocations: 38.03 MB / 0.5282 GB, free: 4.617 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0108/0.6389, allocations: 4.169 MB / 0.5323 GB, free: 300 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002931/0.6419, allocations: 2.301 MB / 0.5345 GB, free: 13.98 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009036/0.651, allocations: 6.013 MB / 0.5404 GB, free: 7.746 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.446e-05/0.651, allocations: 59.23 kB / 0.5405 GB, free: 7.684 MB / 414.1 MB Notification: Performance of pre-optimization done (n=181): time 4.248e-06/0.6511, allocations: 4 kB / 0.5405 GB, free: 7.68 MB / 414.1 MB Notification: Performance of matching and sorting (n=210): time 0.06371/0.7148, allocations: 21.95 MB / 0.5619 GB, free: 1.613 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.099e-05/0.7149, allocations: 152.3 kB / 0.5621 GB, free: 1.438 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005909/0.7208, allocations: 3.387 MB / 0.5654 GB, free: 14.04 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008344/0.7217, allocations: 53.7 kB / 0.5654 GB, free: 13.98 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002864/0.7246, allocations: 2.798 MB / 0.5681 GB, free: 11.19 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001972/0.7266, allocations: 0.7909 MB / 0.5689 GB, free: 10.4 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002056/0.7287, allocations: 1.193 MB / 0.5701 GB, free: 9.199 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000144/0.7288, allocations: 313.1 kB / 0.5704 GB, free: 8.891 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003372/0.7322, allocations: 2.331 MB / 0.5727 GB, free: 6.555 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006055/0.7383, allocations: 5.787 MB / 0.5783 GB, free: 15.11 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01107/0.7493, allocations: 8.804 MB / 0.5869 GB, free: 4.805 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001103/0.7495, allocations: 36 kB / 0.5869 GB, free: 4.77 MB / 462.1 MB Notification: Performance of matching and sorting (n=775) (initialization): time 0.02026/0.7698, allocations: 8.681 MB / 0.5954 GB, free: 12.06 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001332/0.7699, allocations: 59.98 kB / 0.5955 GB, free: 12 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002545/0.7702, allocations: 120 kB / 0.5956 GB, free: 11.89 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002978/0.7732, allocations: 1.035 MB / 0.5966 GB, free: 10.84 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005928/0.7792, allocations: 1.38 MB / 0.5979 GB, free: 9.457 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006625/0.7858, allocations: 5.825 MB / 0.6036 GB, free: 3.363 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006499/0.7924, allocations: 323.5 kB / 0.6039 GB, free: 3.047 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00142/0.7938, allocations: 363.9 kB / 0.6043 GB, free: 2.691 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 553 * Number of states: 0 () * Number of discrete variables: 36 (prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],universal1.cylinderColor[3],universal1.cylinderColor[2],universal1.cylinderColor[1],pointMass.sphereColor[3],pointMass.sphereColor[2],pointMass.sphereColor[1],s1.color[3],s1.color[2],s1.color[1],s1.massColor[3],s1.massColor[2],s1.massColor[1],sps1.color[3],sps1.color[2],sps1.color[1],sps1.color_b[3],sps1.color_b[2],sps1.color_b[1],sps1.color_a[3],sps1.color_a[2],sps1.color_a[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 (734): * Single equations (assignments): 727 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(3,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,9,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004784/0.7986, allocations: 1.935 MB / 0.6062 GB, free: 0.75 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008768/0.7995, allocations: 312.6 kB / 0.6065 GB, free: 452 kB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00706/0.8066, allocations: 3.953 MB / 0.6103 GB, free: 12.47 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.046e-05/0.8066, allocations: 20 kB / 0.6104 GB, free: 12.45 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.271e-05/0.8067, allocations: 8 kB / 0.6104 GB, free: 12.44 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.668e-05/0.8067, allocations: 11.95 kB / 0.6104 GB, free: 12.43 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.016/0.8227, allocations: 8.877 MB / 0.619 GB, free: 3.496 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.806e-05/0.8228, allocations: 3.938 kB / 0.6191 GB, free: 3.492 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001768/0.8245, allocations: 352.2 kB / 0.6194 GB, free: 3.148 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00244/0.827, allocations: 0.8733 MB / 0.6202 GB, free: 2.266 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002298/0.8272, allocations: 32 kB / 0.6203 GB, free: 2.234 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3035/1.131, allocations: 5.088 MB / 0.6252 GB, free: 143.1 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-06/1.131, allocations: 3.516 kB / 0.6252 GB, free: 143.1 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009306/1.14, allocations: 6.866 MB / 0.6319 GB, free: 141.1 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001772/1.142, allocations: 0.6755 MB / 0.6326 GB, free: 140.9 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005882/1.143, allocations: 35.47 kB / 0.6326 GB, free: 140.9 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00156/1.144, allocations: 120.4 kB / 0.6328 GB, free: 140.9 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003695/1.145, allocations: 114.9 kB / 0.6329 GB, free: 140.8 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001486/1.145, allocations: 51.41 kB / 0.6329 GB, free: 140.8 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003118/1.148, allocations: 2.082 MB / 0.6349 GB, free: 140.1 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.5e-07/1.148, allocations: 2.25 kB / 0.635 GB, free: 140.1 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005873/1.154, allocations: 0.9746 MB / 0.6359 GB, free: 140 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 7 (sps1.s_damper,universal1.phi_a,universal1.phi_b,universal1.w_a,universal1.w_b,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 (178): * Single equations (assignments): 171 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(3,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007337/1.154, allocations: 174.6 kB / 0.6361 GB, free: 139.9 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01492/1.169, allocations: 7.846 MB / 0.6437 GB, free: 137.7 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.087e-05/1.169, allocations: 1.25 kB / 0.6437 GB, free: 137.7 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004842/1.174, allocations: 2.473 MB / 0.6461 GB, free: 136.5 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002868/1.177, allocations: 356 kB / 0.6465 GB, free: 136.3 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01929/1.197, allocations: 9.133 MB / 0.6554 GB, free: 132.4 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005236/1.202, allocations: 3.025 MB / 0.6584 GB, free: 131.2 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.006324/1.208, allocations: 1.864 MB / 0.6602 GB, free: 131 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001082/1.209, allocations: 241.8 kB / 0.6604 GB, free: 131 MB / 494.1 MB Notification: Performance of SimCode: time 1.042e-06/1.209, allocations: 0 / 0.6604 GB, free: 131 MB / 494.1 MB Notification: Performance of Templates: time 0.06899/1.278, allocations: 37.03 MB / 0.6966 GB, free: 107.8 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.SpringDamperSeries.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.SpringDamperSeries.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.SpringDamperSeries -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe 2>&1)