Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force.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.Force,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force") translateModel(ModelicaTest.MultiBody.Forces.Force,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001059/0.001059, allocations: 106.4 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.001105/0.001105, allocations: 187.2 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.444/1.444, allocations: 222.9 MB / 243.1 MB, free: 15.05 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.2319/0.2319, allocations: 44.19 MB / 337.4 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001583/0.001583, allocations: 59.91 kB / 471.2 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.404/0.4056, allocations: 60.83 MB / 0.5196 GB, free: 3.586 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Force): time 0.01721/0.4229, allocations: 15.73 MB / 0.535 GB, free: 8.137 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01215/0.4351, allocations: 4.946 MB / 0.5398 GB, free: 4.223 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003674/0.4388, allocations: 112.8 kB / 0.5399 GB, free: 4.199 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01044/0.4492, allocations: 5.024 MB / 0.5448 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008597/0.4579, allocations: 2.634 MB / 0.5474 GB, free: 14.93 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003631/0.4616, allocations: 1.1 MB / 0.5484 GB, free: 14.18 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01461/0.4762, allocations: 6.884 MB / 0.5552 GB, free: 7.512 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009558/0.4858, allocations: 5.811 MB / 0.5608 GB, free: 1.625 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005559/0.4914, allocations: 2.438 MB / 0.5632 GB, free: 15.18 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006347/0.4978, allocations: 3.275 MB / 0.5664 GB, free: 11.89 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002652/0.5005, allocations: 0.5117 MB / 0.5669 GB, free: 11.38 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005182/0.5057, allocations: 1.412 MB / 0.5683 GB, free: 9.969 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005167/0.5109, allocations: 3.07 MB / 0.5713 GB, free: 6.891 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00848/0.5195, allocations: 3.429 MB / 0.5746 GB, free: 3.441 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01513/0.5346, allocations: 10.64 MB / 0.585 GB, free: 8.762 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.5347, allocations: 4 kB / 0.585 GB, free: 8.758 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.5347, allocations: 0 / 0.585 GB, free: 8.758 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0004565/0.5351, allocations: 0 / 0.585 GB, free: 8.758 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: 2219 * Number of variables: 2219 Notification: Performance of Generate backend data structure: time 0.0235/0.5587, allocations: 7.522 MB / 0.5924 GB, free: 1.148 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.658e-05/0.5587, allocations: 8.031 kB / 0.5924 GB, free: 1.141 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0161/0.5749, allocations: 2.761 MB / 0.5951 GB, free: 14.36 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01208/0.587, allocations: 4.374 MB / 0.5994 GB, free: 9.906 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004046/0.5874, allocations: 361.7 kB / 0.5997 GB, free: 9.551 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00212/0.5896, allocations: 487.6 kB / 0.6002 GB, free: 9.074 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0322/0.6218, allocations: 15.05 MB / 0.6149 GB, free: 9.023 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000352/0.6222, allocations: 67.38 kB / 0.6149 GB, free: 8.957 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001787/0.624, allocations: 231.8 kB / 0.6152 GB, free: 8.73 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00558/0.6296, allocations: 2.871 MB / 0.618 GB, free: 5.852 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02966/0.6592, allocations: 12.81 MB / 0.6305 GB, free: 9.012 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08354/0.7428, allocations: 58.84 MB / 0.6879 GB, free: 12.69 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01908/0.7619, allocations: 7.277 MB / 0.695 GB, free: 5.258 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004996/0.767, allocations: 3.896 MB / 0.6989 GB, free: 1.348 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01686/0.7839, allocations: 9.012 MB / 0.7077 GB, free: 8.172 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.811e-05/0.784, allocations: 60.56 kB / 0.7077 GB, free: 8.102 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=246): time 5.34e-06/0.784, allocations: 0 / 0.7077 GB, free: 8.102 MB / 0.5606 GB Notification: Performance of matching and sorting (n=288): time 0.3802/1.164, allocations: 32.85 MB / 0.7398 GB, free: 160.7 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.689e-05/1.164, allocations: 244.5 kB / 0.74 GB, free: 160.5 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008446/1.173, allocations: 6.71 MB / 0.7466 GB, free: 157.6 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0007712/1.174, allocations: 65.45 kB / 0.7466 GB, free: 157.5 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002252/1.176, allocations: 4.466 MB / 0.751 GB, free: 153.6 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001267/1.177, allocations: 1.105 MB / 0.7521 GB, free: 152.7 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001983/1.179, allocations: 1.803 MB / 0.7538 GB, free: 151.5 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.58e-05/1.179, allocations: 301.1 kB / 0.7541 GB, free: 151.2 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003976/1.183, allocations: 3.624 MB / 0.7577 GB, free: 147.5 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005404/1.189, allocations: 8.661 MB / 0.7661 GB, free: 136.5 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01096/1.2, allocations: 13.21 MB / 0.779 GB, free: 120.8 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001091/1.2, allocations: 55.94 kB / 0.7791 GB, free: 120.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1144) (initialization): time 0.02218/1.222, allocations: 14.08 MB / 0.7928 GB, free: 106.7 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001827/1.222, allocations: 84 kB / 0.7929 GB, free: 106.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000227/1.222, allocations: 172 kB / 0.7931 GB, free: 106.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005336/1.228, allocations: 2.264 MB / 0.7953 GB, free: 104.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006465/1.234, allocations: 2.027 MB / 0.7973 GB, free: 102.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01536/1.25, allocations: 14.23 MB / 0.8112 GB, free: 87.62 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00724/1.257, allocations: 0.507 MB / 0.8117 GB, free: 87.12 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001526/1.258, allocations: 0.5117 MB / 0.8122 GB, free: 86.61 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 802 * Number of states: 0 () * Number of discrete variables: 67 (force2.forceArrow.arrowLine.twoHeadedArrow,force2.forceArrow.headAtOrigin,force1.forceArrow.arrowLine.twoHeadedArrow,force1.forceArrow.headAtOrigin,fixed4.color[3],fixed4.color[2],fixed4.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],force2.connectionLineColor[3],force2.connectionLineColor[2],force2.connectionLineColor[1],force2.forceColor[3],force2.forceColor[2],force2.forceColor[1],force1.connectionLineColor[3],force1.connectionLineColor[2],force1.connectionLineColor[1],force1.forceColor[3],force1.forceColor[2],force1.forceColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.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 (1064): * Single equations (assignments): 1057 * Array equations: 5 * 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,22,100.0%), (2,22,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005707/1.264, allocations: 3.05 MB / 0.8151 GB, free: 83.55 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001774/1.266, allocations: 0.5553 MB / 0.8157 GB, free: 82.98 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01296/1.279, allocations: 7.228 MB / 0.8227 GB, free: 75.74 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.652e-05/1.279, allocations: 19.94 kB / 0.8228 GB, free: 75.72 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.205e-06/1.279, allocations: 0 / 0.8228 GB, free: 75.72 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001814/1.281, allocations: 0.6231 MB / 0.8234 GB, free: 75.07 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001232/1.282, allocations: 47.94 kB / 0.8234 GB, free: 75.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002823/1.285, allocations: 207.5 kB / 0.8236 GB, free: 74.82 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000536/1.285, allocations: 201.9 kB / 0.8238 GB, free: 74.62 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01383/1.299, allocations: 7.597 MB / 0.8312 GB, free: 67.07 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01113/1.31, allocations: 9.519 MB / 0.8405 GB, free: 57.48 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002801/1.313, allocations: 2.575 MB / 0.843 GB, free: 54.9 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00764/1.321, allocations: 4.276 MB / 0.8472 GB, free: 50.63 MB / 0.5606 GB Notification: Performance of Backend: time 1.152e-06/1.321, allocations: 0 / 0.8472 GB, free: 50.63 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01519/1.336, allocations: 6.763 MB / 0.8538 GB, free: 43.91 MB / 0.5606 GB Notification: Performance of SimCode: time 0.02838/1.365, allocations: 14.1 MB / 0.8676 GB, free: 29.76 MB / 0.5606 GB Notification: Performance of Templates: time 0.4004/1.765, allocations: 76.41 MB / 0.9422 GB, free: 202.4 MB / 0.6075 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/Force/Force.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches