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.001053/0.001053, allocations: 94.66 kB / 15.06 MB, free: 1.086 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.001097/0.001097, allocations: 168.7 kB / 15.95 MB, free: 204 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.672/1.672, allocations: 205.4 MB / 222.1 MB, free: 5.742 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.3952/0.3952, allocations: 40 MB / 310.4 MB, free: 9.617 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.001017/0.001017, allocations: 16 kB / 378.8 MB, free: 12.35 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.161/0.1621, allocations: 57.97 MB / 436.8 MB, free: 2.281 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.SpringDamperSeries): time 0.3075/0.4696, allocations: 34.85 MB / 471.7 MB, free: 33.92 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02139/0.4911, allocations: 7.481 MB / 479.1 MB, free: 29.2 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008727/0.4998, allocations: 155.8 kB / 479.3 MB, free: 29.18 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006836/0.5067, allocations: 1.783 MB / 481.1 MB, free: 28.54 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01556/0.5223, allocations: 4.96 MB / 486 MB, free: 26.42 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003231/0.5256, allocations: 415.7 kB / 486.4 MB, free: 26.23 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006088/0.5317, allocations: 3.487 MB / 489.9 MB, free: 24.95 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005797/0.5375, allocations: 3.775 MB / 493.7 MB, free: 23.46 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002324/0.5399, allocations: 1.001 MB / 494.7 MB, free: 23.12 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003262/0.5432, allocations: 1.559 MB / 496.3 MB, free: 22.62 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009831/0.5442, allocations: 132.7 kB / 496.4 MB, free: 22.61 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002746/0.547, allocations: 0.7339 MB / 497.1 MB, free: 22.46 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002631/0.5496, allocations: 1.388 MB / 498.5 MB, free: 22.03 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001793/0.5514, allocations: 0.7551 MB / 499.3 MB, free: 21.49 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01148/0.5629, allocations: 4.791 MB / 0.4922 GB, free: 20.49 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.411e-05/0.563, allocations: 1.281 kB / 0.4922 GB, free: 20.49 MB / 382.1 MB Notification: Performance of FrontEnd: time 5.309e-06/0.563, allocations: 0 / 0.4922 GB, free: 20.49 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004703/0.5635, allocations: 0 / 0.4922 GB, free: 20.49 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.01362/0.5771, allocations: 3.517 MB / 0.4957 GB, free: 18.4 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.801e-05/0.5772, allocations: 8.594 kB / 0.4957 GB, free: 18.4 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007322/0.5845, allocations: 1.85 MB / 0.4975 GB, free: 17.43 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005491/0.5901, allocations: 1.719 MB / 0.4992 GB, free: 16.26 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003058/0.5904, allocations: 232.2 kB / 0.4994 GB, free: 16.15 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002453/0.5929, allocations: 299.7 kB / 0.4997 GB, free: 16.04 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02563/0.6185, allocations: 10.62 MB / 0.51 GB, free: 9.684 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001593/0.6188, allocations: 33.69 kB / 0.5101 GB, free: 9.664 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005111/0.6193, allocations: 150.2 kB / 0.5102 GB, free: 9.559 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004015/0.6233, allocations: 2.042 MB / 0.5122 GB, free: 8.746 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02143/0.6448, allocations: 9.283 MB / 0.5213 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06557/0.7104, allocations: 38.04 MB / 0.5584 GB, free: 9.762 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01205/0.7226, allocations: 4.152 MB / 0.5625 GB, free: 5.445 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003795/0.7264, allocations: 2.305 MB / 0.5647 GB, free: 3.125 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01112/0.7376, allocations: 6.006 MB / 0.5706 GB, free: 12.86 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.846e-05/0.7377, allocations: 59.73 kB / 0.5707 GB, free: 12.79 MB / 446.1 MB Notification: Performance of pre-optimization done (n=181): time 4.469e-06/0.7377, allocations: 0 / 0.5707 GB, free: 12.79 MB / 446.1 MB Notification: Performance of matching and sorting (n=210): time 0.067/0.8047, allocations: 21.92 MB / 0.5921 GB, free: 6.691 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.446e-05/0.8048, allocations: 149.8 kB / 0.5922 GB, free: 6.516 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005047/0.8099, allocations: 3.371 MB / 0.5955 GB, free: 3.137 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004456/0.8103, allocations: 57.7 kB / 0.5956 GB, free: 3.074 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001874/0.8122, allocations: 2.805 MB / 0.5983 GB, free: 232 kB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009864/0.8132, allocations: 0.7904 MB / 0.5991 GB, free: 15.43 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002898/0.8135, allocations: 120 kB / 0.5992 GB, free: 15.31 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0003589/0.8139, allocations: 0.5541 MB / 0.5997 GB, free: 14.75 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003606/0.8175, allocations: 2.307 MB / 0.602 GB, free: 12.43 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005538/0.8231, allocations: 5.765 MB / 0.6076 GB, free: 4.953 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005283/0.8284, allocations: 3.57 MB / 0.6111 GB, free: 1.383 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.209e-05/0.8284, allocations: 32 kB / 0.6111 GB, free: 1.352 MB / 478.1 MB Notification: Performance of matching and sorting (n=775) (initialization): time 0.0189/0.8474, allocations: 8.633 MB / 0.6196 GB, free: 8.695 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.395e-05/0.8475, allocations: 56.97 kB / 0.6196 GB, free: 8.641 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001519/0.8477, allocations: 120 kB / 0.6197 GB, free: 8.523 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002738/0.8504, allocations: 1.061 MB / 0.6208 GB, free: 7.449 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006051/0.8565, allocations: 1.372 MB / 0.6221 GB, free: 6.074 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006982/0.8635, allocations: 5.416 MB / 0.6274 GB, free: 396 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006441/0.87, allocations: 331.4 kB / 0.6277 GB, free: 64 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.3133/1.183, allocations: 352.3 kB / 0.628 GB, free: 142.6 MB / 494.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 (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(3,100.0%),(3,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 9,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006163/1.189, allocations: 1.942 MB / 0.6299 GB, free: 142.5 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008475/1.19, allocations: 304.8 kB / 0.6302 GB, free: 142.5 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007252/1.198, allocations: 3.942 MB / 0.6341 GB, free: 142.4 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.839e-05/1.198, allocations: 22.03 kB / 0.6341 GB, free: 142.4 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.592e-05/1.198, allocations: 3.219 kB / 0.6341 GB, free: 142.4 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.594e-05/1.198, allocations: 13.16 kB / 0.6341 GB, free: 142.4 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01672/1.214, allocations: 8.874 MB / 0.6428 GB, free: 139.2 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.821e-05/1.215, allocations: 1.031 kB / 0.6428 GB, free: 139.2 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001743/1.216, allocations: 348.7 kB / 0.6431 GB, free: 139.2 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002165/1.218, allocations: 0.8714 MB / 0.644 GB, free: 139 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002727/1.219, allocations: 33.73 kB / 0.644 GB, free: 138.9 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00432/1.223, allocations: 4.751 MB / 0.6486 GB, free: 135.5 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/1.223, allocations: 0 / 0.6486 GB, free: 135.5 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01024/1.233, allocations: 6.851 MB / 0.6553 GB, free: 132.7 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00187/1.235, allocations: 0.6825 MB / 0.656 GB, free: 132.5 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004775/1.236, allocations: 30.56 kB / 0.656 GB, free: 132.5 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001293/1.237, allocations: 120.7 kB / 0.6561 GB, free: 132.4 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002971/1.237, allocations: 119.6 kB / 0.6563 GB, free: 132.4 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001499/1.238, allocations: 57.77 kB / 0.6563 GB, free: 132.4 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.004079/1.242, allocations: 2.063 MB / 0.6583 GB, free: 131.7 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.7e-07/1.242, allocations: 2.469 kB / 0.6583 GB, free: 131.7 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.007623/1.249, allocations: 0.9637 MB / 0.6593 GB, free: 131.6 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 (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(3,100.0%),(3,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 6,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005932/1.25, allocations: 175.5 kB / 0.6594 GB, free: 131.5 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01377/1.264, allocations: 6.091 MB / 0.6654 GB, free: 129.1 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.319e-05/1.264, allocations: 1.469 kB / 0.6654 GB, free: 129.1 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004799/1.269, allocations: 2.46 MB / 0.6678 GB, free: 127.9 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003051/1.272, allocations: 339.6 kB / 0.6681 GB, free: 127.8 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01961/1.291, allocations: 10.72 MB / 0.6786 GB, free: 122.3 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00342/1.295, allocations: 3.029 MB / 0.6815 GB, free: 121 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004839/1.3, allocations: 1.856 MB / 0.6833 GB, free: 120.9 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00084/1.3, allocations: 240.5 kB / 0.6836 GB, free: 120.9 MB / 494.1 MB Notification: Performance of SimCode: time 2.374e-06/1.301, allocations: 0 / 0.6836 GB, free: 120.9 MB / 494.1 MB Notification: Performance of Templates: time 0.05928/1.36, allocations: 34.53 MB / 0.7173 GB, free: 91.12 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.SpringDamperSeries.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: