Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 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.LineForceWithMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="ModelicaTest_3.2.3_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_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.001132/0.001132, allocations: 109.1 kB / 17.09 MB, free: 6.008 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.001106/0.001107, allocations: 198.2 kB / 18.02 MB, free: 5.082 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.285/1.285, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2021/0.2021, allocations: 43.52 MB / 314.8 MB, free: 464 kB / 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.00153/0.00153, allocations: 63.91 kB / 442.5 MB, free: 5.648 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.107/0.1085, allocations: 57.79 MB / 0.4886 GB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithMass): time 0.01656/0.1251, allocations: 15.05 MB / 0.5033 GB, free: 12.67 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01064/0.1358, allocations: 5.004 MB / 0.5081 GB, free: 7.652 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002199/0.1381, allocations: 103.7 kB / 0.5082 GB, free: 7.551 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007043/0.1451, allocations: 4.022 MB / 0.5122 GB, free: 3.516 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005854/0.151, allocations: 2.354 MB / 0.5145 GB, free: 1.152 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002619/0.1537, allocations: 1.158 MB / 0.5156 GB, free: 15.99 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.008385/0.1621, allocations: 6.18 MB / 0.5216 GB, free: 9.789 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006163/0.1682, allocations: 4.694 MB / 0.5262 GB, free: 5.027 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003613/0.1719, allocations: 2.22 MB / 0.5284 GB, free: 2.801 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2231/0.395, allocations: 3.034 MB / 0.5314 GB, free: 10.51 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001906/0.397, allocations: 458.7 kB / 0.5318 GB, free: 10.51 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004205/0.4012, allocations: 1.541 MB / 0.5333 GB, free: 10.51 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003944/0.4052, allocations: 2.766 MB / 0.536 GB, free: 10.51 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004574/0.4098, allocations: 3.017 MB / 0.5389 GB, free: 9.684 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01237/0.4222, allocations: 9.462 MB / 0.5482 GB, free: 8.312 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.4222, allocations: 0 / 0.5482 GB, free: 8.312 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.4222, allocations: 0 / 0.5482 GB, free: 8.312 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003672/0.4226, allocations: 1.125 kB / 0.5482 GB, free: 8.312 MB / 414.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.01943/0.442, allocations: 6.766 MB / 0.5548 GB, free: 5.766 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.562e-05/0.4421, allocations: 11.62 kB / 0.5548 GB, free: 5.766 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0252/0.4673, allocations: 3.296 MB / 0.558 GB, free: 5.387 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01023/0.4775, allocations: 4.289 MB / 0.5622 GB, free: 3.473 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001826/0.4778, allocations: 313.2 kB / 0.5625 GB, free: 3.367 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001429/0.4792, allocations: 426.8 kB / 0.5629 GB, free: 3.258 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02511/0.5043, allocations: 13.82 MB / 0.5764 GB, free: 11.12 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002229/0.5046, allocations: 58.77 kB / 0.5765 GB, free: 11.11 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001403/0.506, allocations: 195.7 kB / 0.5767 GB, free: 11.02 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00394/0.5099, allocations: 2.53 MB / 0.5791 GB, free: 9.27 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0248/0.5347, allocations: 11.8 MB / 0.5906 GB, free: 13.7 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0753/0.6101, allocations: 53.49 MB / 0.6429 GB, free: 7.418 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01694/0.6271, allocations: 5.913 MB / 0.6487 GB, free: 1.363 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005189/0.6323, allocations: 3.593 MB / 0.6522 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02498/0.6573, allocations: 15.43 MB / 0.6672 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.02e-05/0.6574, allocations: 67.47 kB / 0.6673 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=230): time 5.701e-06/0.6574, allocations: 0 / 0.6673 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of matching and sorting (n=267): time 0.09551/0.7529, allocations: 28.64 MB / 0.6953 GB, free: 1.117 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000128/0.7531, allocations: 261.3 kB / 0.6955 GB, free: 0.8086 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01078/0.7639, allocations: 5.091 MB / 0.7005 GB, free: 11.73 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0007535/0.7647, allocations: 61.7 kB / 0.7006 GB, free: 11.66 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.003331/0.768, allocations: 3.889 MB / 0.7043 GB, free: 7.773 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001708/0.7697, allocations: 1.002 MB / 0.7053 GB, free: 6.781 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004652/0.7744, allocations: 1.547 MB / 0.7068 GB, free: 5.227 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.603e-05/0.7745, allocations: 309.1 kB / 0.7071 GB, free: 4.922 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005379/0.7799, allocations: 3.013 MB / 0.7101 GB, free: 1.906 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008379/0.7883, allocations: 7.342 MB / 0.7172 GB, free: 8.52 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01418/0.8025, allocations: 11.1 MB / 0.7281 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001385/0.8027, allocations: 40 kB / 0.7281 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1004) (initialization): time 0.02457/0.8273, allocations: 11.2 MB / 0.7391 GB, free: 0.8984 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.000196/0.8275, allocations: 71.94 kB / 0.7391 GB, free: 0.8281 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002641/0.8278, allocations: 152 kB / 0.7393 GB, free: 0.6797 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003537/0.8313, allocations: 1.228 MB / 0.7405 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00695/0.8383, allocations: 1.833 MB / 0.7423 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01046/0.8488, allocations: 8.365 MB / 0.7504 GB, free: 4.977 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006572/0.8554, allocations: 426.3 kB / 0.7508 GB, free: 4.562 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001704/0.8571, allocations: 456 kB / 0.7513 GB, free: 4.117 MB / 0.5919 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.006282/0.8634, allocations: 2.627 MB / 0.7538 GB, free: 1.477 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001286/0.8647, allocations: 473.9 kB / 0.7543 GB, free: 1.008 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2411/1.106, allocations: 5.227 MB / 0.7594 GB, free: 207.5 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.614e-05/1.106, allocations: 16.84 kB / 0.7594 GB, free: 207.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.104e-06/1.106, allocations: 2.188 kB / 0.7594 GB, free: 207.5 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002541/1.108, allocations: 0.8814 MB / 0.7603 GB, free: 207.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00165/1.11, allocations: 44.39 kB / 0.7603 GB, free: 207.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00303/1.113, allocations: 172.4 kB / 0.7605 GB, free: 207.4 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005734/1.114, allocations: 161 kB / 0.7606 GB, free: 207.4 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01108/1.125, allocations: 5.749 MB / 0.7662 GB, free: 206.6 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.009765/1.135, allocations: 7.801 MB / 0.7739 GB, free: 203.6 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002576/1.137, allocations: 2.113 MB / 0.7759 GB, free: 202.9 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.008123/1.145, allocations: 3.18 MB / 0.779 GB, free: 201.8 MB / 0.5919 GB Notification: Performance of Backend: time 6.01e-07/1.145, allocations: 0.9688 kB / 0.779 GB, free: 201.8 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01262/1.158, allocations: 5.723 MB / 0.7846 GB, free: 199.7 MB / 0.5919 GB Notification: Performance of SimCode: time 0.02313/1.181, allocations: 11.94 MB / 0.7963 GB, free: 192 MB / 0.5919 GB Notification: Performance of Templates: time 0.1008/1.282, allocations: 65.24 MB / 0.86 GB, free: 128.2 MB / 0.5919 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithMass.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithMass.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithMass_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/LineForceWithMass/LineForceWithMass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches