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.001314/0.001314, allocations: 109.9 kB / 18.45 MB, free: 4.602 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.00138/0.00138, allocations: 185.9 kB / 19.38 MB, free: 3.68 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.414/1.414, allocations: 222.9 MB / 243.1 MB, free: 15.04 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.2266/0.2266, allocations: 44.18 MB / 337.4 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001369/0.001369, allocations: 59.91 kB / 471.2 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3528/0.3541, allocations: 60.82 MB / 0.5196 GB, free: 3.598 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithMass): time 0.01661/0.3708, allocations: 15.01 MB / 0.5342 GB, free: 8.715 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01538/0.3862, allocations: 5.001 MB / 0.5391 GB, free: 4.777 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004088/0.3904, allocations: 98.06 kB / 0.5392 GB, free: 4.762 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008271/0.3987, allocations: 4.017 MB / 0.5431 GB, free: 2.066 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007705/0.4064, allocations: 2.426 MB / 0.5455 GB, free: 328 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003463/0.4099, allocations: 1.152 MB / 0.5466 GB, free: 15.54 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01167/0.4216, allocations: 6.514 MB / 0.553 GB, free: 9.766 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006997/0.4287, allocations: 4.696 MB / 0.5576 GB, free: 5.004 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005244/0.434, allocations: 2.204 MB / 0.5597 GB, free: 2.793 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005757/0.4398, allocations: 3.038 MB / 0.5627 GB, free: 15.75 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002564/0.4424, allocations: 460 kB / 0.5631 GB, free: 15.3 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004905/0.4473, allocations: 1.541 MB / 0.5646 GB, free: 13.75 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004956/0.4523, allocations: 2.763 MB / 0.5673 GB, free: 10.98 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006501/0.4588, allocations: 3.006 MB / 0.5703 GB, free: 7.961 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01398/0.4728, allocations: 9.46 MB / 0.5795 GB, free: 14.47 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.4729, allocations: 0 / 0.5795 GB, free: 14.47 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.4729, allocations: 0 / 0.5795 GB, free: 14.47 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003637/0.4733, allocations: 4 kB / 0.5795 GB, free: 14.46 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.02064/0.4939, allocations: 6.749 MB / 0.5861 GB, free: 7.637 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.728e-05/0.494, allocations: 8.031 kB / 0.5861 GB, free: 7.629 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02697/0.521, allocations: 3.289 MB / 0.5893 GB, free: 4.328 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01119/0.5322, allocations: 4.191 MB / 0.5934 GB, free: 80 kB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003227/0.5325, allocations: 316.3 kB / 0.5937 GB, free: 15.76 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001611/0.5342, allocations: 427.6 kB / 0.5941 GB, free: 15.34 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02851/0.5627, allocations: 13.81 MB / 0.6076 GB, free: 0.6602 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002891/0.563, allocations: 63.42 kB / 0.6077 GB, free: 0.5977 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001606/0.5646, allocations: 191.8 kB / 0.6079 GB, free: 420 kB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004411/0.5691, allocations: 2.531 MB / 0.6103 GB, free: 13.88 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02667/0.5957, allocations: 11.81 MB / 0.6219 GB, free: 2.059 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07596/0.6718, allocations: 53.47 MB / 0.6741 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01729/0.6891, allocations: 5.913 MB / 0.6799 GB, free: 5.004 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005289/0.6944, allocations: 3.592 MB / 0.6834 GB, free: 1.398 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02626/0.7207, allocations: 15.44 MB / 0.6984 GB, free: 1.391 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.837e-05/0.7208, allocations: 60.5 kB / 0.6985 GB, free: 1.324 MB / 0.545 GB Notification: Performance of pre-optimization done (n=230): time 5.59e-06/0.7208, allocations: 0 / 0.6985 GB, free: 1.324 MB / 0.545 GB Notification: Performance of matching and sorting (n=267): time 0.3985/1.119, allocations: 28.6 MB / 0.7264 GB, free: 166.4 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.248e-05/1.119, allocations: 258.4 kB / 0.7267 GB, free: 166.1 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008777/1.128, allocations: 5.059 MB / 0.7316 GB, free: 164.3 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0006832/1.129, allocations: 62.73 kB / 0.7317 GB, free: 164.2 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002596/1.132, allocations: 3.895 MB / 0.7355 GB, free: 161.3 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.00127/1.133, allocations: 0.9953 MB / 0.7365 GB, free: 160.5 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00214/1.135, allocations: 1.549 MB / 0.738 GB, free: 159.8 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.572e-05/1.135, allocations: 309.1 kB / 0.7383 GB, free: 159.5 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003499/1.139, allocations: 3.015 MB / 0.7412 GB, free: 158.5 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005449/1.144, allocations: 7.343 MB / 0.7484 GB, free: 151.7 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01056/1.155, allocations: 11.09 MB / 0.7592 GB, free: 142.9 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001478/1.155, allocations: 45.22 kB / 0.7593 GB, free: 142.9 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1004) (initialization): time 0.01912/1.174, allocations: 11.19 MB / 0.7702 GB, free: 131.9 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.000146/1.174, allocations: 75.94 kB / 0.7702 GB, free: 131.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002001/1.174, allocations: 152 kB / 0.7704 GB, free: 131.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002951/1.177, allocations: 1.236 MB / 0.7716 GB, free: 130.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00628/1.184, allocations: 1.829 MB / 0.7734 GB, free: 128.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008399/1.192, allocations: 8.358 MB / 0.7815 GB, free: 120 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006077/1.198, allocations: 431.9 kB / 0.782 GB, free: 119.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001069/1.199, allocations: 452 kB / 0.7824 GB, free: 119.2 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.004625/1.204, allocations: 2.631 MB / 0.785 GB, free: 116.5 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001236/1.205, allocations: 460.4 kB / 0.7854 GB, free: 116.1 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008383/1.214, allocations: 5.247 MB / 0.7905 GB, free: 110.8 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.814e-05/1.214, allocations: 11.95 kB / 0.7905 GB, free: 110.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.303e-06/1.214, allocations: 0 / 0.7905 GB, free: 110.8 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001712/1.215, allocations: 499 kB / 0.791 GB, free: 110.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001249/1.217, allocations: 47.98 kB / 0.7911 GB, free: 110.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002779/1.219, allocations: 167.7 kB / 0.7912 GB, free: 110.1 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004468/1.22, allocations: 157.8 kB / 0.7914 GB, free: 109.9 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.009062/1.229, allocations: 5.744 MB / 0.797 GB, free: 104.2 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.008337/1.237, allocations: 7.798 MB / 0.8046 GB, free: 96.34 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002013/1.239, allocations: 2.112 MB / 0.8067 GB, free: 94.23 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004741/1.244, allocations: 3.162 MB / 0.8097 GB, free: 91.08 MB / 0.5606 GB Notification: Performance of Backend: time 4.21e-07/1.244, allocations: 0 / 0.8097 GB, free: 91.08 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01004/1.254, allocations: 5.726 MB / 0.8153 GB, free: 85.39 MB / 0.5606 GB Notification: Performance of SimCode: time 0.01764/1.272, allocations: 11.91 MB / 0.827 GB, free: 73.46 MB / 0.5606 GB Notification: Performance of Templates: time 0.09554/1.367, allocations: 64.63 MB / 0.8901 GB, free: 9.125 MB / 0.5606 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/LineForceWithMass/LineForceWithMass.csv","/var/lib/jenkins1/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