Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+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="mat",numberOfIntervals=5000,variableFilter="time|prismatic1.s|prismatic1.v|sps1.s_damper|universal1.phi_a|universal1.phi_b|universal1.w_a|universal1.w_b",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperSeries") translateModel(ModelicaTest.MultiBody.Forces.SpringDamperSeries,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic1.s|prismatic1.v|sps1.s_damper|universal1.phi_a|universal1.phi_b|universal1.w_a|universal1.w_b",fileNamePrefix="ModelicaTest_3.2.3_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.0009627/0.0009624, allocations: 97.53 kB / 15.69 MB, free: 488 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.001109/0.001109, allocations: 173.6 kB / 16.57 MB, free: 6.379 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.295/1.295, allocations: 205.4 MB / 222.7 MB, free: 5.68 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3429/0.3429, allocations: 43.54 MB / 314.5 MB, free: 8.758 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: Performance of FrontEnd - loaded program: time 0.0005369/0.0005371, allocations: 20 kB / 383.9 MB, free: 8.027 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1291/0.1297, allocations: 58.85 MB / 442.7 MB, free: 13.07 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.SpringDamperSeries): time 0.2429/0.3726, allocations: 32.92 MB / 475.7 MB, free: 31.48 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01617/0.3888, allocations: 7.805 MB / 483.5 MB, free: 26.16 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006629/0.3955, allocations: 156.8 kB / 483.6 MB, free: 26.13 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004868/0.4004, allocations: 1.594 MB / 485.2 MB, free: 25.61 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01322/0.4136, allocations: 4.559 MB / 489.8 MB, free: 23.41 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00201/0.4157, allocations: 367 kB / 490.1 MB, free: 23.23 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00293/0.4186, allocations: 1.742 MB / 491.9 MB, free: 22.42 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003972/0.4226, allocations: 3.755 MB / 495.6 MB, free: 20.95 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001238/0.4238, allocations: 0.837 MB / 496.5 MB, free: 20.64 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001516/0.4254, allocations: 1.106 MB / 497.6 MB, free: 20.25 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004912/0.4259, allocations: 129.6 kB / 497.7 MB, free: 20.25 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0015/0.4274, allocations: 0.7157 MB / 498.4 MB, free: 20.11 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001257/0.4286, allocations: 1.296 MB / 499.7 MB, free: 19.68 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008398/0.4295, allocations: 0.7543 MB / 0.4887 GB, free: 19.14 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006176/0.4357, allocations: 4.791 MB / 0.4934 GB, free: 18.14 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.4357, allocations: 5.875 kB / 0.4934 GB, free: 18.14 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.4357, allocations: 0 / 0.4934 GB, free: 18.14 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002277/0.436, allocations: 0 / 0.4934 GB, free: 18.14 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.008327/0.4443, allocations: 3.614 MB / 0.497 GB, free: 16.11 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.484e-05/0.4443, allocations: 9.125 kB / 0.497 GB, free: 16.11 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006993/0.4513, allocations: 2.185 MB / 0.4991 GB, free: 15.16 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004259/0.4556, allocations: 1.697 MB / 0.5008 GB, free: 14 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001907/0.4558, allocations: 231.1 kB / 0.501 GB, free: 13.89 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008619/0.4567, allocations: 299.1 kB / 0.5013 GB, free: 13.78 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0205/0.4772, allocations: 10.74 MB / 0.5118 GB, free: 7.371 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001057/0.4774, allocations: 41.09 kB / 0.5118 GB, free: 7.344 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004103/0.4778, allocations: 151.1 kB / 0.5119 GB, free: 7.238 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003209/0.481, allocations: 2.04 MB / 0.5139 GB, free: 6.426 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01906/0.5001, allocations: 9.44 MB / 0.5231 GB, free: 12.96 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04877/0.5489, allocations: 38.5 MB / 0.5607 GB, free: 5.484 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01713/0.566, allocations: 6.805 MB / 0.5674 GB, free: 14.51 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00897/0.5751, allocations: 6.388 MB / 0.5736 GB, free: 7.863 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.242e-05/0.5751, allocations: 55.81 kB / 0.5737 GB, free: 7.801 MB / 446.1 MB Notification: Performance of pre-optimization done (n=181): time 4.859e-06/0.5751, allocations: 0 / 0.5737 GB, free: 7.801 MB / 446.1 MB Notification: Performance of matching and sorting (n=210): time 0.07238/0.6475, allocations: 28.14 MB / 0.6012 GB, free: 11.42 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.37e-05/0.6477, allocations: 153.8 kB / 0.6013 GB, free: 11.24 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004293/0.652, allocations: 3.367 MB / 0.6046 GB, free: 7.867 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004094/0.6524, allocations: 57.64 kB / 0.6046 GB, free: 7.805 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001607/0.654, allocations: 2.805 MB / 0.6074 GB, free: 4.957 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008146/0.6548, allocations: 0.7944 MB / 0.6082 GB, free: 4.152 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002562/0.6551, allocations: 116 kB / 0.6083 GB, free: 4.039 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0003032/0.6554, allocations: 0.5502 MB / 0.6088 GB, free: 3.48 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003176/0.6586, allocations: 2.409 MB / 0.6112 GB, free: 1.066 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00494/0.6635, allocations: 5.839 MB / 0.6169 GB, free: 9.508 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00466/0.6682, allocations: 3.675 MB / 0.6205 GB, free: 5.836 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.523e-05/0.6683, allocations: 36 kB / 0.6205 GB, free: 5.801 MB / 494.1 MB Notification: Performance of matching and sorting (n=775) (initialization): time 0.2544/0.9227, allocations: 8.833 MB / 0.6291 GB, free: 137.9 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.84e-05/0.9228, allocations: 56.59 kB / 0.6292 GB, free: 137.9 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001208/0.923, allocations: 125.1 kB / 0.6293 GB, free: 137.9 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002388/0.9253, allocations: 1.05 MB / 0.6303 GB, free: 137.9 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004794/0.9302, allocations: 1.397 MB / 0.6317 GB, free: 137.9 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004616/0.9348, allocations: 5.51 MB / 0.6371 GB, free: 135.3 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004777/0.9396, allocations: 348.3 kB / 0.6374 GB, free: 135.3 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008246/0.9404, allocations: 357.6 kB / 0.6377 GB, free: 135.3 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.004129/0.9446, allocations: 1.949 MB / 0.6396 GB, free: 135.2 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006644/0.9452, allocations: 309.8 kB / 0.6399 GB, free: 135.2 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006357/0.9516, allocations: 4.16 MB / 0.644 GB, free: 134.1 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.075e-05/0.9516, allocations: 22.34 kB / 0.644 GB, free: 134.1 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.612e-05/0.9517, allocations: 10.66 kB / 0.644 GB, free: 134.1 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.766e-05/0.9517, allocations: 11.53 kB / 0.644 GB, free: 134.1 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01521/0.9669, allocations: 9.254 MB / 0.6531 GB, free: 130.5 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.907e-05/0.967, allocations: 5.016 kB / 0.6531 GB, free: 130.5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0019/0.9689, allocations: 370 kB / 0.6534 GB, free: 130.5 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002322/0.9712, allocations: 0.8673 MB / 0.6543 GB, free: 130.2 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002249/0.9715, allocations: 36.38 kB / 0.6543 GB, free: 130.2 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004584/0.976, allocations: 4.849 MB / 0.659 GB, free: 126.7 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.9761, allocations: 2.469 kB / 0.6591 GB, free: 126.7 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01222/0.9883, allocations: 7.272 MB / 0.6662 GB, free: 123.7 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002542/0.9909, allocations: 0.7082 MB / 0.6668 GB, free: 123.4 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008916/0.9918, allocations: 35.56 kB / 0.6669 GB, free: 123.4 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001942/0.9938, allocations: 138.8 kB / 0.667 GB, free: 123.4 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004373/0.9942, allocations: 122.1 kB / 0.6671 GB, free: 123.3 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001783/0.9944, allocations: 55.08 kB / 0.6672 GB, free: 123.3 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.004708/0.9991, allocations: 2.065 MB / 0.6692 GB, free: 122.6 MB / 494.1 MB Notification: Performance of sort global known variables: time 7.81e-07/0.9991, allocations: 0 / 0.6692 GB, free: 122.6 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.007274/1.006, allocations: 0.9776 MB / 0.6702 GB, free: 122.5 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.0006505/1.007, allocations: 183.9 kB / 0.6703 GB, free: 122.4 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01087/1.018, allocations: 6.29 MB / 0.6765 GB, free: 119.9 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.745e-06/1.018, allocations: 0 / 0.6765 GB, free: 119.9 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003881/1.022, allocations: 2.557 MB / 0.679 GB, free: 118.7 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002271/1.024, allocations: 308.4 kB / 0.6793 GB, free: 118.5 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01848/1.043, allocations: 10.88 MB / 0.6899 GB, free: 111.9 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003027/1.046, allocations: 3.1 MB / 0.6929 GB, free: 109.5 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004455/1.05, allocations: 1.873 MB / 0.6947 GB, free: 107.8 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007708/1.051, allocations: 239.4 kB / 0.695 GB, free: 107.6 MB / 494.1 MB Notification: Performance of SimCode: time 1.302e-06/1.051, allocations: 0 / 0.695 GB, free: 107.6 MB / 494.1 MB Notification: Performance of Templates: time 0.05444/1.106, allocations: 35.04 MB / 0.7292 GB, free: 72.65 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperSeries.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperSeries.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperSeries -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperSeries_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/SpringDamperSeries/SpringDamperSeries.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperSeries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches