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.002461/0.00247, allocations: 179.4 kB / 16.41 MB, free: 5.707 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.744/1.744, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.0008242/0.000824, allocations: 98.56 kB / 270.9 MB, free: 8.359 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.3934/0.3934, allocations: 43.56 MB / 362.7 MB, free: 51.86 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004099/0.0004099, allocations: 16 kB / 431.4 MB, free: 5.918 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1351/0.1356, allocations: 58.83 MB / 490.2 MB, free: 11 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithMass): time 0.3131/0.4488, allocations: 58 MB / 0.5354 GB, free: 9.211 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.03235/0.4812, allocations: 12.45 MB / 0.5475 GB, free: 0.7422 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01587/0.4971, allocations: 280.7 kB / 0.5478 GB, free: 0.6992 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0108/0.5079, allocations: 2.979 MB / 0.5507 GB, free: 15.64 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03023/0.5382, allocations: 8.857 MB / 0.5594 GB, free: 11.92 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00569/0.5439, allocations: 1.015 MB / 0.5604 GB, free: 11.53 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.04813/0.5921, allocations: 35.25 MB / 0.5948 GB, free: 15.48 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01016/0.6023, allocations: 5.58 MB / 0.6002 GB, free: 9.879 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004463/0.6068, allocations: 1.837 MB / 0.602 GB, free: 8.035 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005089/0.6119, allocations: 2.851 MB / 0.6048 GB, free: 5.176 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001101/0.6131, allocations: 200 kB / 0.605 GB, free: 4.98 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003283/0.6164, allocations: 1.151 MB / 0.6061 GB, free: 3.828 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003117/0.6195, allocations: 2.412 MB / 0.6085 GB, free: 1.41 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001874/0.6214, allocations: 1.092 MB / 0.6095 GB, free: 316 kB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009692/0.6311, allocations: 7.213 MB / 0.6166 GB, free: 9.078 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.618e-06/0.6312, allocations: 0 / 0.6166 GB, free: 9.078 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.868e-06/0.6312, allocations: 0 / 0.6166 GB, free: 9.078 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0003807/0.6316, allocations: 0 / 0.6166 GB, free: 9.078 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.01373/0.6453, allocations: 5.677 MB / 0.6221 GB, free: 3.324 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.676e-05/0.6454, allocations: 8.031 kB / 0.6221 GB, free: 3.316 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02531/0.6707, allocations: 3.374 MB / 0.6254 GB, free: 15.93 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01037/0.6811, allocations: 4.122 MB / 0.6295 GB, free: 11.75 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002982/0.6815, allocations: 313 kB / 0.6298 GB, free: 11.44 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001601/0.6831, allocations: 427.7 kB / 0.6302 GB, free: 11.02 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02681/0.7099, allocations: 13.81 MB / 0.6437 GB, free: 12.34 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001896/0.7102, allocations: 59.44 kB / 0.6437 GB, free: 12.28 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008013/0.711, allocations: 195.8 kB / 0.6439 GB, free: 12.09 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00411/0.7151, allocations: 2.527 MB / 0.6464 GB, free: 9.562 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02538/0.7405, allocations: 11.78 MB / 0.6579 GB, free: 13.77 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3942/1.135, allocations: 53.75 MB / 0.7104 GB, free: 102.2 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02146/1.156, allocations: 5.917 MB / 0.7161 GB, free: 100.2 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00649/1.163, allocations: 3.583 MB / 0.7196 GB, free: 98.67 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02826/1.191, allocations: 15.44 MB / 0.7347 GB, free: 90.38 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.374e-05/1.191, allocations: 63.56 kB / 0.7348 GB, free: 90.32 MB / 490.7 MB Notification: Performance of pre-optimization done (n=230): time 7.985e-06/1.191, allocations: 0 / 0.7348 GB, free: 90.32 MB / 490.7 MB Notification: Performance of matching and sorting (n=267): time 0.08402/1.275, allocations: 28.68 MB / 0.7628 GB, free: 79.52 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.598e-05/1.275, allocations: 257.3 kB / 0.763 GB, free: 79.21 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005596/1.281, allocations: 5.053 MB / 0.768 GB, free: 74.16 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005345/1.282, allocations: 69.7 kB / 0.768 GB, free: 74.09 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001737/1.283, allocations: 3.888 MB / 0.7718 GB, free: 70.2 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009183/1.284, allocations: 0.9994 MB / 0.7728 GB, free: 69.21 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003077/1.285, allocations: 155 kB / 0.773 GB, free: 69.06 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002597/1.285, allocations: 0.6324 MB / 0.7736 GB, free: 68.42 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003335/1.288, allocations: 2.978 MB / 0.7765 GB, free: 65.44 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004645/1.293, allocations: 7.323 MB / 0.7836 GB, free: 56.04 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005092/1.298, allocations: 4.532 MB / 0.7881 GB, free: 51.51 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.185e-05/1.298, allocations: 44 kB / 0.7881 GB, free: 51.47 MB / 490.7 MB Notification: Performance of matching and sorting (n=1004) (initialization): time 0.01545/1.313, allocations: 11.12 MB / 0.799 GB, free: 40.33 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.333e-05/1.314, allocations: 72 kB / 0.799 GB, free: 40.26 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001169/1.314, allocations: 148 kB / 0.7992 GB, free: 40.11 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002657/1.316, allocations: 1.24 MB / 0.8004 GB, free: 38.87 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005694/1.322, allocations: 1.836 MB / 0.8022 GB, free: 37.03 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007396/1.329, allocations: 7.777 MB / 0.8098 GB, free: 29 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006098/1.336, allocations: 427.4 kB / 0.8102 GB, free: 28.59 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001377/1.337, allocations: 453.7 kB / 0.8106 GB, free: 28.14 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.005381/1.342, allocations: 2.635 MB / 0.8132 GB, free: 25.5 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001082/1.344, allocations: 473.9 kB / 0.8136 GB, free: 25.03 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007533/1.351, allocations: 5.219 MB / 0.8187 GB, free: 19.79 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.721e-05/1.351, allocations: 28 kB / 0.8188 GB, free: 19.76 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.418e-05/1.351, allocations: 8 kB / 0.8188 GB, free: 19.75 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.671e-05/1.351, allocations: 11.95 kB / 0.8188 GB, free: 19.74 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01906/1.37, allocations: 11.75 MB / 0.8303 GB, free: 7.992 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.9e-05/1.37, allocations: 4 kB / 0.8303 GB, free: 7.988 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002361/1.373, allocations: 0.5031 MB / 0.8308 GB, free: 7.484 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002416/1.375, allocations: 0.9791 MB / 0.8317 GB, free: 6.5 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002806/1.375, allocations: 51.98 kB / 0.8318 GB, free: 6.449 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006693/1.382, allocations: 7.104 MB / 0.8387 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/1.382, allocations: 3.938 kB / 0.8387 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01403/1.396, allocations: 8.695 MB / 0.8472 GB, free: 6.32 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002605/1.399, allocations: 0.8932 MB / 0.8481 GB, free: 5.402 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007104/1.4, allocations: 40 kB / 0.8481 GB, free: 5.363 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002122/1.402, allocations: 179.8 kB / 0.8483 GB, free: 5.188 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003299/1.402, allocations: 153.7 kB / 0.8484 GB, free: 5.039 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002168/1.402, allocations: 75.98 kB / 0.8485 GB, free: 4.965 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.005098/1.407, allocations: 3.149 MB / 0.8516 GB, free: 1.832 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4.81e-07/1.407, allocations: 0 / 0.8516 GB, free: 1.832 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.007064/1.415, allocations: 1.377 MB / 0.8529 GB, free: 472 kB / 0.4948 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.0005686/1.415, allocations: 186.7 kB / 0.8531 GB, free: 284 kB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01124/1.426, allocations: 7.256 MB / 0.8602 GB, free: 9.023 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.947e-06/1.426, allocations: 4 kB / 0.8602 GB, free: 9.02 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003493/1.43, allocations: 2.545 MB / 0.8627 GB, free: 6.453 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00339/1.433, allocations: 0.5721 MB / 0.8632 GB, free: 5.883 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2326/1.666, allocations: 15.51 MB / 0.8784 GB, free: 151.1 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004649/1.671, allocations: 4.081 MB / 0.8824 GB, free: 150.3 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001853/1.672, allocations: 382.2 kB / 0.8827 GB, free: 150.3 MB / 0.5105 GB Notification: Performance of SimCode: time 1.422e-06/1.672, allocations: 0.5 kB / 0.8827 GB, free: 150.3 MB / 0.5105 GB Notification: Performance of Templates: time 0.1463/1.819, allocations: 124 MB / 1.004 GB, free: 61.4 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