Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.LineForceWithMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.LineForceWithMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.LineForceWithMass") translateModel(ModelicaTest.MultiBody.Forces.LineForceWithMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.LineForceWithMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008684/0.0008684, allocations: 173.8 kB / 16.72 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.19/1.19, allocations: 205.4 MB / 222.9 MB, free: 9.023 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007275/0.0007275, allocations: 94.3 kB / 271.2 MB, free: 8.242 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2852/0.2852, allocations: 43.56 MB / 363.1 MB, free: 51.86 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003384/0.0003384, allocations: 12 kB / 432 MB, free: 5.59 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09254/0.0929, allocations: 58.84 MB / 490.8 MB, free: 10.66 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithMass): time 0.1975/0.2905, allocations: 58 MB / 0.536 GB, free: 9.016 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02259/0.3131, allocations: 12.45 MB / 0.5481 GB, free: 0.543 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009545/0.3227, allocations: 284.6 kB / 0.5484 GB, free: 0.4961 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008009/0.3307, allocations: 2.974 MB / 0.5513 GB, free: 15.43 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02275/0.3535, allocations: 8.889 MB / 0.56 GB, free: 11.7 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004995/0.3585, allocations: 1.073 MB / 0.561 GB, free: 11.29 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0427/0.4013, allocations: 35.31 MB / 0.5955 GB, free: 15.01 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00858/0.4099, allocations: 6.044 MB / 0.6014 GB, free: 8.922 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003517/0.4134, allocations: 1.845 MB / 0.6032 GB, free: 7.07 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004117/0.4176, allocations: 2.851 MB / 0.606 GB, free: 4.211 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008707/0.4185, allocations: 204 kB / 0.6062 GB, free: 4.012 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002827/0.4213, allocations: 1.357 MB / 0.6075 GB, free: 2.652 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002265/0.4236, allocations: 2.396 MB / 0.6098 GB, free: 256 kB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00289/0.4265, allocations: 2.549 MB / 0.6123 GB, free: 13.68 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007361/0.4339, allocations: 7.217 MB / 0.6194 GB, free: 6.445 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.194e-06/0.4339, allocations: 7.938 kB / 0.6194 GB, free: 6.438 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.033e-06/0.434, allocations: 0 / 0.6194 GB, free: 6.438 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002641/0.4342, allocations: 0 / 0.6194 GB, free: 6.438 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1941 * Number of variables: 1941 Notification: Performance of Generate backend data structure: time 0.01416/0.4484, allocations: 5.603 MB / 0.6249 GB, free: 0.7578 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.051e-05/0.4485, allocations: 12.03 kB / 0.6249 GB, free: 0.7461 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02274/0.4712, allocations: 3.375 MB / 0.6282 GB, free: 13.36 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008913/0.4802, allocations: 4.196 MB / 0.6323 GB, free: 9.105 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002786/0.4805, allocations: 308.5 kB / 0.6326 GB, free: 8.801 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001367/0.4819, allocations: 435.5 kB / 0.633 GB, free: 8.375 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02299/0.5049, allocations: 13.8 MB / 0.6465 GB, free: 9.699 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001427/0.5051, allocations: 55.47 kB / 0.6465 GB, free: 9.645 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004791/0.5055, allocations: 207.8 kB / 0.6467 GB, free: 9.441 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003602/0.5092, allocations: 2.519 MB / 0.6492 GB, free: 6.922 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02243/0.5316, allocations: 11.78 MB / 0.6607 GB, free: 11.12 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2381/0.7697, allocations: 53.78 MB / 0.7132 GB, free: 102.7 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01361/0.7834, allocations: 5.917 MB / 0.719 GB, free: 100.7 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003899/0.7873, allocations: 3.584 MB / 0.7225 GB, free: 99.15 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01965/0.807, allocations: 15.44 MB / 0.7375 GB, free: 90.86 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.133e-05/0.8071, allocations: 61.89 kB / 0.7376 GB, free: 90.81 MB / 490.7 MB Notification: Performance of pre-optimization done (n=230): time 5.74e-06/0.8071, allocations: 0 / 0.7376 GB, free: 90.81 MB / 490.7 MB Notification: Performance of matching and sorting (n=267): time 0.07385/0.8809, allocations: 28.69 MB / 0.7656 GB, free: 77.1 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.418e-05/0.8811, allocations: 264.8 kB / 0.7659 GB, free: 76.79 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005834/0.8869, allocations: 5.046 MB / 0.7708 GB, free: 71.75 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005376/0.8875, allocations: 70.41 kB / 0.7709 GB, free: 71.67 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001772/0.8892, allocations: 3.892 MB / 0.7747 GB, free: 67.78 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009675/0.8902, allocations: 1.005 MB / 0.7756 GB, free: 66.79 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003307/0.8906, allocations: 155.9 kB / 0.7758 GB, free: 66.63 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002639/0.8908, allocations: 0.6285 MB / 0.7764 GB, free: 66 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003496/0.8943, allocations: 2.978 MB / 0.7793 GB, free: 63.02 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004784/0.8991, allocations: 7.319 MB / 0.7865 GB, free: 53.61 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009554/0.9087, allocations: 11.05 MB / 0.7973 GB, free: 40.44 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.825e-05/0.9088, allocations: 40 kB / 0.7973 GB, free: 40.4 MB / 490.7 MB Notification: Performance of matching and sorting (n=1004) (initialization): time 0.01626/0.9251, allocations: 11.13 MB / 0.8082 GB, free: 29.26 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.847e-05/0.9252, allocations: 68 kB / 0.8082 GB, free: 29.19 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001144/0.9254, allocations: 152 kB / 0.8084 GB, free: 29.04 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002517/0.9279, allocations: 1.222 MB / 0.8096 GB, free: 27.82 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005381/0.9333, allocations: 1.833 MB / 0.8114 GB, free: 25.98 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007273/0.9406, allocations: 7.786 MB / 0.819 GB, free: 17.95 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005348/0.9459, allocations: 423.4 kB / 0.8194 GB, free: 17.54 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000968/0.9469, allocations: 460 kB / 0.8198 GB, free: 17.09 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 687 * Number of states: 0 () * Number of discrete variables: 57 (lineForceWithMass.lineShapeColor[3],lineForceWithMass.lineShapeColor[2],lineForceWithMass.lineShapeColor[1],lineForceWithMass.massColor[3],lineForceWithMass.massColor[2],lineForceWithMass.massColor[1],rod4.color[3],rod4.color[2],rod4.color[1],rod3.color[3],rod3.color[2],rod3.color[1],bodyBox2.color[3],bodyBox2.color[2],bodyBox2.color[1],bodyBox2.body.sphereColor[3],bodyBox2.body.sphereColor[2],bodyBox2.body.sphereColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],rod2.color[3],rod2.color[2],rod2.color[1],jointUPS.cylinderColor[3],jointUPS.cylinderColor[2],jointUPS.cylinderColor[1],jointUPS.sphereColor[3],jointUPS.sphereColor[2],jointUPS.sphereColor[1],jointUPS.axisColor[3],jointUPS.axisColor[2],jointUPS.axisColor[1],rod1.color[3],rod1.color[2],rod1.color[1],bodyBox1.color[3],bodyBox1.color[2],bodyBox1.color[1],bodyBox1.body.sphereColor[3],bodyBox1.body.sphereColor[2],bodyBox1.body.sphereColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[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 (954): * Single equations (assignments): 949 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 12,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004023/0.951, allocations: 2.627 MB / 0.8224 GB, free: 14.45 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008242/0.9518, allocations: 466 kB / 0.8228 GB, free: 13.99 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007347/0.9592, allocations: 5.223 MB / 0.8279 GB, free: 8.738 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.642e-05/0.9592, allocations: 32.75 kB / 0.8279 GB, free: 8.707 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.103e-05/0.9592, allocations: 4 kB / 0.828 GB, free: 8.703 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-05/0.9593, allocations: 11.95 kB / 0.828 GB, free: 8.691 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01796/0.9772, allocations: 11.75 MB / 0.8394 GB, free: 12.94 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.118e-05/0.9773, allocations: 3.938 kB / 0.8394 GB, free: 12.94 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002575/0.9799, allocations: 0.5031 MB / 0.8399 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002629/0.9825, allocations: 0.9789 MB / 0.8409 GB, free: 11.45 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003068/0.9829, allocations: 47.98 kB / 0.8409 GB, free: 11.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008351/0.9912, allocations: 7.11 MB / 0.8479 GB, free: 4.031 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.9913, allocations: 1.5 kB / 0.8479 GB, free: 4.031 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01291/1.004, allocations: 8.706 MB / 0.8564 GB, free: 11.25 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002376/1.007, allocations: 0.8854 MB / 0.8572 GB, free: 10.34 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009409/1.008, allocations: 54.09 kB / 0.8573 GB, free: 10.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00234/1.01, allocations: 179.8 kB / 0.8575 GB, free: 10.12 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004369/1.01, allocations: 145.9 kB / 0.8576 GB, free: 9.977 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002165/1.011, allocations: 71.94 kB / 0.8577 GB, free: 9.906 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.005174/1.016, allocations: 3.154 MB / 0.8608 GB, free: 6.766 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.71e-07/1.016, allocations: 0 / 0.8608 GB, free: 6.766 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006212/1.022, allocations: 1.37 MB / 0.8621 GB, free: 5.398 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (revolute1.phi,revolute1.w,revolute2.phi,revolute2.w) * 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 (227): * Single equations (assignments): 222 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 10,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004886/1.022, allocations: 189.2 kB / 0.8623 GB, free: 5.215 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.1921/1.215, allocations: 7.264 MB / 0.8694 GB, free: 156.6 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.875e-06/1.215, allocations: 1.031 kB / 0.8694 GB, free: 156.6 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003741/1.218, allocations: 2.546 MB / 0.8719 GB, free: 156.3 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003886/1.222, allocations: 0.5565 MB / 0.8724 GB, free: 156.3 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02088/1.243, allocations: 15.52 MB / 0.8876 GB, free: 150.2 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004292/1.248, allocations: 4.08 MB / 0.8915 GB, free: 148.7 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001607/1.249, allocations: 383.3 kB / 0.8919 GB, free: 148.7 MB / 0.5105 GB Notification: Performance of SimCode: time 6.71e-07/1.249, allocations: 0 / 0.8919 GB, free: 148.7 MB / 0.5105 GB Notification: Performance of Templates: time 0.1284/1.378, allocations: 123.8 MB / 1.013 GB, free: 52.48 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.LineForceWithMass.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.LineForceWithMass.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.LineForceWithMass --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.LineForceWithMass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/LineForceWithMass/LineForceWithMass.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.LineForceWithMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches