Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques2.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.FrameTorques2,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.FrameTorques2") translateModel(ModelicaTest.MultiBody.Forces.FrameTorques2,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.FrameTorques2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001182/0.001182, allocations: 113.9 kB / 18.46 MB, free: 4.617 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.001144/0.001144, allocations: 186.1 kB / 19.39 MB, free: 3.691 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.325/1.325, allocations: 222.9 MB / 243.1 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.2011/0.2011, allocations: 44.19 MB / 337.4 MB, free: 2.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001283/0.001283, allocations: 67.89 kB / 471.2 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2904/0.2917, allocations: 60.81 MB / 0.5196 GB, free: 3.605 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques2): time 0.01854/0.3102, allocations: 18.25 MB / 0.5374 GB, free: 6.168 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01201/0.3223, allocations: 5.69 MB / 0.543 GB, free: 1.641 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003912/0.3262, allocations: 135.8 kB / 0.5431 GB, free: 1.613 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01115/0.3374, allocations: 6.321 MB / 0.5493 GB, free: 13.39 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007447/0.3449, allocations: 3.105 MB / 0.5523 GB, free: 10.48 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003265/0.3482, allocations: 1.587 MB / 0.5539 GB, free: 8.895 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01199/0.3602, allocations: 9.854 MB / 0.5635 GB, free: 15.02 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00913/0.3693, allocations: 8.065 MB / 0.5714 GB, free: 6.859 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004876/0.3742, allocations: 3.201 MB / 0.5745 GB, free: 3.648 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005725/0.38, allocations: 4.308 MB / 0.5787 GB, free: 15.33 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001657/0.3817, allocations: 0.6953 MB / 0.5794 GB, free: 14.63 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003522/0.3852, allocations: 1.717 MB / 0.581 GB, free: 12.91 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004181/0.3894, allocations: 3.983 MB / 0.5849 GB, free: 8.922 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00586/0.3953, allocations: 4.355 MB / 0.5892 GB, free: 4.543 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01464/0.4099, allocations: 13.51 MB / 0.6024 GB, free: 6.973 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.4099, allocations: 4 kB / 0.6024 GB, free: 6.969 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.41, allocations: 0 / 0.6024 GB, free: 6.969 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0003817/0.4103, allocations: 0 / 0.6024 GB, free: 6.969 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2607 * Number of variables: 2607 Notification: Performance of Generate backend data structure: time 0.02232/0.4327, allocations: 9.51 MB / 0.6117 GB, free: 13.35 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/0.4327, allocations: 8.031 kB / 0.6117 GB, free: 13.34 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01887/0.4516, allocations: 3.646 MB / 0.6152 GB, free: 9.684 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01361/0.4652, allocations: 6.24 MB / 0.6213 GB, free: 3.367 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000383/0.4656, allocations: 455.9 kB / 0.6218 GB, free: 2.918 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001901/0.4676, allocations: 0.6129 MB / 0.6224 GB, free: 2.305 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03378/0.5013, allocations: 17.86 MB / 0.6398 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003291/0.5017, allocations: 87.3 kB / 0.6399 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001759/0.5035, allocations: 279.8 kB / 0.6402 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006024/0.5095, allocations: 3.147 MB / 0.6432 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03038/0.5399, allocations: 14.96 MB / 0.6578 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5167/1.057, allocations: 66.2 MB / 0.7225 GB, free: 125 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.018/1.075, allocations: 6.615 MB / 0.7289 GB, free: 124.3 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004334/1.079, allocations: 3.88 MB / 0.7327 GB, free: 124.3 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005104/1.08, allocations: 0.648 MB / 0.7334 GB, free: 123.7 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.837e-05/1.08, allocations: 63.64 kB / 0.7334 GB, free: 123.7 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=231): time 5.17e-06/1.08, allocations: 0 / 0.7334 GB, free: 123.7 MB / 0.5607 GB Notification: Performance of matching and sorting (n=255): time 0.07755/1.157, allocations: 32.09 MB / 0.7648 GB, free: 108.6 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.358e-05/1.157, allocations: 286.5 kB / 0.765 GB, free: 108.2 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008199/1.166, allocations: 7.441 MB / 0.7723 GB, free: 100.9 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0005531/1.166, allocations: 65.7 kB / 0.7724 GB, free: 100.9 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.002309/1.168, allocations: 5.442 MB / 0.7777 GB, free: 96.01 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009173/1.169, allocations: 1.044 MB / 0.7787 GB, free: 94.98 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00187/1.171, allocations: 1.892 MB / 0.7806 GB, free: 93.07 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 4.902e-05/1.171, allocations: 301.1 kB / 0.7808 GB, free: 92.78 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003727/1.175, allocations: 3.447 MB / 0.7842 GB, free: 89.33 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00518/1.18, allocations: 8.707 MB / 0.7927 GB, free: 78.26 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009714/1.19, allocations: 12.97 MB / 0.8054 GB, free: 63.04 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.376e-05/1.19, allocations: 52 kB / 0.8054 GB, free: 62.98 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1178) (initialization): time 0.01855/1.209, allocations: 13.97 MB / 0.8191 GB, free: 48.99 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 8.242e-05/1.209, allocations: 87.98 kB / 0.8192 GB, free: 48.9 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001287/1.209, allocations: 184 kB / 0.8193 GB, free: 48.72 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005193/1.214, allocations: 2.317 MB / 0.8216 GB, free: 46.39 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005779/1.22, allocations: 2.051 MB / 0.8236 GB, free: 44.34 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01554/1.235, allocations: 16.72 MB / 0.8399 GB, free: 27.08 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007879/1.243, allocations: 0.4996 MB / 0.8404 GB, free: 26.58 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000783/1.244, allocations: 0.524 MB / 0.8409 GB, free: 26.06 MB / 0.5607 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 839 * Number of states: 0 () * Number of discrete variables: 74 (frameTorque4.arrow.arrowLine.twoHeadedArrow,frameTorque4.arrow.headAtOrigin,frameTorque3.arrow.arrowLine.twoHeadedArrow,frameTorque3.arrow.headAtOrigin,frameTorque2.arrow.arrowLine.twoHeadedArrow,frameTorque2.arrow.headAtOrigin,frameTorque1.arrow.arrowLine.twoHeadedArrow,frameTorque1.arrow.headAtOrigin,Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],frameTorque4.color[3],frameTorque4.color[2],frameTorque4.color[1],frameTorque3.color[3],frameTorque3.color[2],frameTorque3.color[1],body4.color[3],body4.color[2],body4.color[1],body4.body.sphereColor[3],body4.body.sphereColor[2],body4.body.sphereColor[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.color[3],frameTorque2.color[2],frameTorque2.color[1],frameTorque1.color[3],frameTorque1.color[2],frameTorque1.color[1],fixed2.color[3],fixed2.color[2],fixed2.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 (1098): * Single equations (assignments): 1091 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,14,100.0%), (1,14,100.0%), (1,14,100.0%), (2,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004174/1.248, allocations: 3.525 MB / 0.8444 GB, free: 22.52 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000987/1.249, allocations: 0.6441 MB / 0.845 GB, free: 21.87 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0098/1.259, allocations: 6.461 MB / 0.8513 GB, free: 15.38 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.416e-05/1.259, allocations: 11.97 kB / 0.8513 GB, free: 15.37 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.063e-06/1.259, allocations: 7.922 kB / 0.8513 GB, free: 15.36 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001482/1.261, allocations: 0.7159 MB / 0.852 GB, free: 14.62 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009578/1.262, allocations: 36 kB / 0.8521 GB, free: 14.59 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002405/1.264, allocations: 194.8 kB / 0.8522 GB, free: 14.4 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004241/1.264, allocations: 181.7 kB / 0.8524 GB, free: 14.22 MB / 0.5607 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01101/1.275, allocations: 6.839 MB / 0.8591 GB, free: 7.41 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.008778/1.284, allocations: 8.316 MB / 0.8672 GB, free: 15.04 MB / 0.5763 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002856/1.287, allocations: 2.164 MB / 0.8693 GB, free: 12.88 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.008318/1.295, allocations: 4.72 MB / 0.8739 GB, free: 8.184 MB / 0.5763 GB Notification: Performance of Backend: time 4.2e-07/1.295, allocations: 0 / 0.8739 GB, free: 8.184 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.01481/1.31, allocations: 6.884 MB / 0.8807 GB, free: 1.301 MB / 0.5763 GB Notification: Performance of SimCode: time 0.02766/1.338, allocations: 16.9 MB / 0.8972 GB, free: 356 kB / 0.5919 GB Notification: Performance of Templates: time 0.1379/1.476, allocations: 79.64 MB / 0.9749 GB, free: 1.18 MB / 0.67 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques2.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/FrameTorques2/FrameTorques2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches