Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithMass.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.LineForceWithMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001258/0.001258, allocations: 114.4 kB / 17.78 MB, free: 5.262 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.00124/0.00124, allocations: 183.8 kB / 18.71 MB, free: 4.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.386/1.386, allocations: 222.9 MB / 242.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2081/0.2081, allocations: 44.19 MB / 336.7 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001382/0.001382, allocations: 59.91 kB / 470.5 MB, free: 13.15 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3529/0.3543, allocations: 60.82 MB / 0.5189 GB, free: 3.605 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithMass): time 0.01621/0.3706, allocations: 15.02 MB / 0.5336 GB, free: 8.711 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01356/0.3842, allocations: 4.986 MB / 0.5384 GB, free: 4.785 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004499/0.3887, allocations: 102.2 kB / 0.5385 GB, free: 4.766 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008536/0.3972, allocations: 4.013 MB / 0.5425 GB, free: 2.074 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007194/0.4045, allocations: 2.354 MB / 0.5448 GB, free: 388 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003146/0.4077, allocations: 1.169 MB / 0.5459 GB, free: 15.59 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01254/0.4202, allocations: 6.515 MB / 0.5523 GB, free: 9.828 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006833/0.4271, allocations: 4.686 MB / 0.5568 GB, free: 5.074 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004095/0.4312, allocations: 2.22 MB / 0.559 GB, free: 2.848 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00557/0.4368, allocations: 3.022 MB / 0.562 GB, free: 15.82 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002421/0.4393, allocations: 456 kB / 0.5624 GB, free: 15.37 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004442/0.4437, allocations: 1.545 MB / 0.5639 GB, free: 13.82 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003232/0.447, allocations: 2.704 MB / 0.5665 GB, free: 11.11 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00477/0.4518, allocations: 3.018 MB / 0.5695 GB, free: 8.078 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01207/0.4639, allocations: 9.487 MB / 0.5788 GB, free: 14.55 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.4639, allocations: 0 / 0.5788 GB, free: 14.55 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.4639, allocations: 0 / 0.5788 GB, free: 14.55 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002263/0.4642, allocations: 0 / 0.5788 GB, free: 14.55 MB / 446.1 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.01589/0.4801, allocations: 6.918 MB / 0.5855 GB, free: 7.547 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.387e-05/0.4801, allocations: 12.03 kB / 0.5855 GB, free: 7.535 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02427/0.5044, allocations: 3.336 MB / 0.5888 GB, free: 4.191 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01224/0.5167, allocations: 4.197 MB / 0.5929 GB, free: 15.93 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002653/0.517, allocations: 312.3 kB / 0.5932 GB, free: 15.62 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001917/0.5189, allocations: 431.6 kB / 0.5936 GB, free: 15.2 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02424/0.5432, allocations: 13.82 MB / 0.6071 GB, free: 0.5156 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000152/0.5434, allocations: 59.53 kB / 0.6071 GB, free: 468 kB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005307/0.5439, allocations: 203.8 kB / 0.6073 GB, free: 264 kB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003821/0.5477, allocations: 2.527 MB / 0.6098 GB, free: 13.73 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02301/0.5708, allocations: 11.8 MB / 0.6213 GB, free: 1.918 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06492/0.6357, allocations: 53.56 MB / 0.6736 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01588/0.6516, allocations: 5.909 MB / 0.6794 GB, free: 4.781 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004935/0.6566, allocations: 3.595 MB / 0.6829 GB, free: 1.172 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02478/0.6814, allocations: 15.46 MB / 0.698 GB, free: 1.152 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.376e-05/0.6815, allocations: 72.5 kB / 0.6981 GB, free: 1.074 MB / 0.545 GB Notification: Performance of pre-optimization done (n=230): time 4.899e-06/0.6815, allocations: 0 / 0.6981 GB, free: 1.074 MB / 0.545 GB Notification: Performance of matching and sorting (n=267): time 0.3818/1.063, allocations: 28.89 MB / 0.7263 GB, free: 166.2 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001062/1.063, allocations: 258.6 kB / 0.7265 GB, free: 166 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00715/1.071, allocations: 5.075 MB / 0.7315 GB, free: 164.2 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.000482/1.071, allocations: 71.66 kB / 0.7316 GB, free: 164.2 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001945/1.073, allocations: 4.032 MB / 0.7355 GB, free: 161.5 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009113/1.074, allocations: 1.045 MB / 0.7365 GB, free: 160.8 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001833/1.076, allocations: 1.56 MB / 0.738 GB, free: 160 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.82e-05/1.076, allocations: 305.1 kB / 0.7383 GB, free: 159.7 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003239/1.079, allocations: 3.015 MB / 0.7413 GB, free: 158.7 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00444/1.084, allocations: 7.348 MB / 0.7484 GB, free: 151.9 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00927/1.093, allocations: 11.1 MB / 0.7593 GB, free: 143 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001058/1.093, allocations: 44 kB / 0.7593 GB, free: 143 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1004) (initialization): time 0.01681/1.11, allocations: 11.22 MB / 0.7703 GB, free: 131.8 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001074/1.11, allocations: 71.94 kB / 0.7704 GB, free: 131.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001608/1.11, allocations: 152 kB / 0.7705 GB, free: 131.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002671/1.113, allocations: 1.235 MB / 0.7717 GB, free: 130.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005637/1.118, allocations: 1.821 MB / 0.7735 GB, free: 128.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007248/1.126, allocations: 8.374 MB / 0.7817 GB, free: 119.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006895/1.133, allocations: 427.5 kB / 0.7821 GB, free: 119.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001336/1.134, allocations: 452 kB / 0.7825 GB, free: 119 MB / 0.5606 GB 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,12,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004635/1.139, allocations: 2.63 MB / 0.7851 GB, free: 116.4 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001206/1.14, allocations: 484.8 kB / 0.7855 GB, free: 115.9 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007542/1.147, allocations: 5.242 MB / 0.7907 GB, free: 110.6 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.195e-05/1.147, allocations: 28 kB / 0.7907 GB, free: 110.6 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.506e-05/1.147, allocations: 4 kB / 0.7907 GB, free: 110.6 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.277e-05/1.148, allocations: 15.95 kB / 0.7907 GB, free: 110.6 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01983/1.167, allocations: 11.64 MB / 0.8021 GB, free: 98.95 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.808e-05/1.167, allocations: 11.98 kB / 0.8021 GB, free: 98.94 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002377/1.17, allocations: 499.3 kB / 0.8025 GB, free: 98.45 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002489/1.172, allocations: 0.9925 MB / 0.8035 GB, free: 97.45 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003402/1.173, allocations: 44.5 kB / 0.8036 GB, free: 97.41 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006879/1.18, allocations: 7.697 MB / 0.8111 GB, free: 89.43 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/1.18, allocations: 0 / 0.8111 GB, free: 89.43 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01101/1.191, allocations: 8.761 MB / 0.8196 GB, free: 80.6 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0013/1.192, allocations: 0.5134 MB / 0.8201 GB, free: 80.07 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001121/1.193, allocations: 44 kB / 0.8202 GB, free: 80.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002524/1.196, allocations: 179.7 kB / 0.8203 GB, free: 79.85 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004112/1.196, allocations: 145.8 kB / 0.8205 GB, free: 79.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002041/1.196, allocations: 75.92 kB / 0.8206 GB, free: 79.63 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00453/1.201, allocations: 3.158 MB / 0.8236 GB, free: 76.48 MB / 0.5606 GB Notification: Performance of sort global known variables: time 4.21e-07/1.201, allocations: 0 / 0.8236 GB, free: 76.48 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00655/1.207, allocations: 1.375 MB / 0.825 GB, free: 75.11 MB / 0.5606 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,10,100.0%), (1,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006613/1.208, allocations: 192.2 kB / 0.8252 GB, free: 74.92 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.009495/1.218, allocations: 7.331 MB / 0.8323 GB, free: 67.59 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.345e-06/1.218, allocations: 0.9375 kB / 0.8323 GB, free: 67.59 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00336/1.221, allocations: 2.569 MB / 0.8348 GB, free: 65 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005949/1.227, allocations: 0.5924 MB / 0.8354 GB, free: 64.41 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02056/1.248, allocations: 12.94 MB / 0.8481 GB, free: 51.45 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005101/1.253, allocations: 4.101 MB / 0.8521 GB, free: 47.32 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.005282/1.258, allocations: 2.372 MB / 0.8544 GB, free: 44.94 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001365/1.259, allocations: 323.4 kB / 0.8547 GB, free: 44.62 MB / 0.5606 GB Notification: Performance of SimCode: time 5.71e-07/1.259, allocations: 0 / 0.8547 GB, free: 44.62 MB / 0.5606 GB Notification: Performance of Templates: time 0.07931/1.339, allocations: 47.93 MB / 0.9015 GB, free: 13 MB / 0.5762 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithMass.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithMass.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithMass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/LineForceWithMass/LineForceWithMass.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches