Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques.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.FrameTorques,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.FrameTorques") translateModel(ModelicaTest.MultiBody.Forces.FrameTorques,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.FrameTorques") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001086/0.001086, allocations: 104.5 kB / 17.63 MB, free: 5.344 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.001208/0.001208, allocations: 192 kB / 18.56 MB, free: 4.434 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.312/1.312, allocations: 222.9 MB / 242.2 MB, free: 15.16 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.1959/0.1959, allocations: 44.18 MB / 336.6 MB, free: 2.77 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001157/0.001157, allocations: 72.66 kB / 408.4 MB, free: 27.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1216/0.1228, allocations: 60.82 MB / 469.2 MB, free: 14.39 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.01438/0.1372, allocations: 12.87 MB / 482.1 MB, free: 1.457 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01001/0.1473, allocations: 4.528 MB / 486.6 MB, free: 12.91 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002662/0.15, allocations: 91.75 kB / 486.7 MB, free: 12.82 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006582/0.1566, allocations: 3.734 MB / 490.5 MB, free: 9.078 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006151/0.1628, allocations: 2.253 MB / 492.7 MB, free: 6.816 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002229/0.1651, allocations: 1.002 MB / 493.7 MB, free: 5.812 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.008516/0.1736, allocations: 6.034 MB / 499.8 MB, free: 15.77 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005398/0.179, allocations: 4.608 MB / 0.4925 GB, free: 11.09 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003144/0.1822, allocations: 1.986 MB / 0.4945 GB, free: 9.098 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004283/0.1865, allocations: 2.667 MB / 0.4971 GB, free: 6.422 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001655/0.1882, allocations: 416 kB / 0.4975 GB, free: 6.016 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003894/0.1921, allocations: 1.455 MB / 0.4989 GB, free: 4.559 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00402/0.1961, allocations: 2.494 MB / 0.5013 GB, free: 2.059 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.2596/0.4558, allocations: 2.787 MB / 0.5041 GB, free: 21.07 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01565/0.4715, allocations: 8.616 MB / 0.5125 GB, free: 20.5 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.166e-06/0.4715, allocations: 0 / 0.5125 GB, free: 20.5 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.314e-06/0.4715, allocations: 1.156 kB / 0.5125 GB, free: 20.5 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003989/0.472, allocations: 0 / 0.5125 GB, free: 20.5 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1787 * Number of variables: 1787 Notification: Performance of Generate backend data structure: time 0.02436/0.4963, allocations: 6.143 MB / 0.5185 GB, free: 18.11 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.205e-05/0.4964, allocations: 9.344 kB / 0.5185 GB, free: 18.11 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01339/0.5098, allocations: 2.6 MB / 0.521 GB, free: 17.75 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01229/0.5221, allocations: 3.763 MB / 0.5247 GB, free: 17.04 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003288/0.5225, allocations: 285 kB / 0.525 GB, free: 17.03 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002291/0.5248, allocations: 391.9 kB / 0.5253 GB, free: 17.02 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02133/0.5461, allocations: 11.99 MB / 0.5371 GB, free: 10.34 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001536/0.5463, allocations: 54.14 kB / 0.5371 GB, free: 10.33 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005114/0.5468, allocations: 189.1 kB / 0.5373 GB, free: 10.25 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003297/0.5501, allocations: 2.269 MB / 0.5395 GB, free: 9.398 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0194/0.5696, allocations: 9.932 MB / 0.5492 GB, free: 1.66 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06965/0.6392, allocations: 46.82 MB / 0.5949 GB, free: 2.18 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01112/0.6504, allocations: 3.911 MB / 0.5987 GB, free: 14.12 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002973/0.6535, allocations: 2.141 MB / 0.6008 GB, free: 11.97 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01019/0.6637, allocations: 5.89 MB / 0.6066 GB, free: 6.027 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.889e-05/0.6637, allocations: 55.12 kB / 0.6066 GB, free: 5.965 MB / 446.1 MB Notification: Performance of pre-optimization done (n=150): time 4.288e-06/0.6637, allocations: 0 / 0.6066 GB, free: 5.965 MB / 446.1 MB Notification: Performance of matching and sorting (n=162): time 0.04492/0.7087, allocations: 17.5 MB / 0.6237 GB, free: 4.289 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001226/0.7088, allocations: 228.5 kB / 0.6239 GB, free: 4.02 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008841/0.7177, allocations: 5.676 MB / 0.6295 GB, free: 14.36 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005745/0.7183, allocations: 45.7 kB / 0.6295 GB, free: 14.31 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003035/0.7213, allocations: 3.799 MB / 0.6332 GB, free: 10.52 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001025/0.7224, allocations: 0.6635 MB / 0.6339 GB, free: 9.863 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001976/0.7243, allocations: 1.419 MB / 0.6353 GB, free: 8.438 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001083/0.7245, allocations: 301.1 kB / 0.6356 GB, free: 8.141 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003254/0.7277, allocations: 2.305 MB / 0.6378 GB, free: 5.836 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007398/0.7351, allocations: 6.607 MB / 0.6443 GB, free: 13.17 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01235/0.7475, allocations: 9.576 MB / 0.6536 GB, free: 2.09 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002199/0.7478, allocations: 44 kB / 0.6537 GB, free: 2.047 MB / 494.1 MB Notification: Performance of matching and sorting (n=904) (initialization): time 0.02195/0.7698, allocations: 9.621 MB / 0.6631 GB, free: 8.688 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001797/0.77, allocations: 76.03 kB / 0.6631 GB, free: 8.613 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002534/0.7703, allocations: 152 kB / 0.6633 GB, free: 8.465 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003445/0.7737, allocations: 1.236 MB / 0.6645 GB, free: 7.223 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005264/0.779, allocations: 1.567 MB / 0.666 GB, free: 5.652 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01107/0.7901, allocations: 8.474 MB / 0.6743 GB, free: 12.9 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006882/0.797, allocations: 374.5 kB / 0.6746 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001934/0.799, allocations: 431.9 kB / 0.6751 GB, free: 12.12 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 692 * Number of states: 0 () * Number of discrete variables: 49 (frameTorque2.arrow.arrowLine.twoHeadedArrow,frameTorque2.arrow.headAtOrigin,frameTorque1.arrow.arrowLine.twoHeadedArrow,frameTorque1.arrow.headAtOrigin,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],FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.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 (842): * Single equations (assignments): 835 * 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 {(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.007674/0.8067, allocations: 2.514 MB / 0.6775 GB, free: 9.59 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001622/0.8083, allocations: 454.1 kB / 0.6779 GB, free: 9.141 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00906/0.8174, allocations: 3.396 MB / 0.6813 GB, free: 5.727 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.17e-05/0.8175, allocations: 23.05 kB / 0.6813 GB, free: 5.707 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.186e-05/0.8175, allocations: 4 kB / 0.6813 GB, free: 5.703 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.111e-05/0.8176, allocations: 11.97 kB / 0.6813 GB, free: 5.691 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02282/0.8404, allocations: 8.318 MB / 0.6894 GB, free: 13.31 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.075e-05/0.8405, allocations: 4 kB / 0.6894 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001283/0.8418, allocations: 251.6 kB / 0.6897 GB, free: 13.06 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002903/0.8447, allocations: 1.001 MB / 0.6906 GB, free: 12.05 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002675/0.845, allocations: 35.67 kB / 0.6907 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009497/0.8545, allocations: 7.794 MB / 0.6983 GB, free: 3.953 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.084e-06/0.8545, allocations: 12 kB / 0.6983 GB, free: 3.941 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2218/1.076, allocations: 5.858 MB / 0.704 GB, free: 184.3 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001683/1.078, allocations: 0.5195 MB / 0.7045 GB, free: 184.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001555/1.08, allocations: 31 kB / 0.7046 GB, free: 184.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002441/1.082, allocations: 90.2 kB / 0.7046 GB, free: 184.2 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004073/1.083, allocations: 97.27 kB / 0.7047 GB, free: 184.2 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001203/1.083, allocations: 47.52 kB / 0.7048 GB, free: 184.2 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.00671/1.089, allocations: 3.63 MB / 0.7083 GB, free: 184 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.71e-07/1.089, allocations: 0 / 0.7083 GB, free: 184 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.008625/1.098, allocations: 1.175 MB / 0.7095 GB, free: 184 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (120): * Single equations (assignments): 115 * 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,11,100.0%), (1,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004469/1.098, allocations: 169.6 kB / 0.7096 GB, free: 183.9 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0092/1.108, allocations: 5.964 MB / 0.7155 GB, free: 181.9 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 9.067e-06/1.108, allocations: 0 / 0.7155 GB, free: 181.9 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001898/1.11, allocations: 1.619 MB / 0.717 GB, free: 181.2 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004135/1.114, allocations: 0.6217 MB / 0.7176 GB, free: 181 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01953/1.133, allocations: 11.12 MB / 0.7285 GB, free: 176.3 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00457/1.138, allocations: 3.865 MB / 0.7323 GB, free: 174.7 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.004706/1.143, allocations: 2.124 MB / 0.7344 GB, free: 173.3 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007371/1.143, allocations: 299.2 kB / 0.7346 GB, free: 173 MB / 0.5294 GB Notification: Performance of SimCode: time 1.302e-06/1.143, allocations: 0 / 0.7346 GB, free: 173 MB / 0.5294 GB Notification: Performance of Templates: time 0.07434/1.218, allocations: 45.56 MB / 0.7791 GB, free: 128.2 MB / 0.5294 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/FrameTorques/FrameTorques.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches