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.001174/0.001174, allocations: 103.2 kB / 17.21 MB, free: 6.266 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.001241/0.001241, allocations: 190 kB / 18.12 MB, free: 5.359 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.448/1.448, allocations: 222.9 MB / 241.8 MB, free: 15.44 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.228/0.228, allocations: 44.18 MB / 336.1 MB, free: 2.996 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001875/0.001875, allocations: 63.94 kB / 407.7 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1233/0.1252, allocations: 60.83 MB / 468.5 MB, free: 14.85 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.3617/0.487, allocations: 72.35 MB / 0.5282 GB, free: 9.789 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04442/0.5314, allocations: 14.42 MB / 0.5423 GB, free: 3.527 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01968/0.5512, allocations: 318.3 kB / 0.5426 GB, free: 3.477 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006669/0.5579, allocations: 3.729 MB / 0.5462 GB, free: 1.438 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006706/0.5646, allocations: 2.118 MB / 0.5483 GB, free: 15.95 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002921/0.5676, allocations: 0.9363 MB / 0.5492 GB, free: 15.34 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01179/0.5794, allocations: 8.727 MB / 0.5577 GB, free: 9.441 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007203/0.5866, allocations: 4.548 MB / 0.5622 GB, free: 4.855 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004112/0.5908, allocations: 1.779 MB / 0.5639 GB, free: 3.07 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005169/0.596, allocations: 2.862 MB / 0.5667 GB, free: 204 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00188/0.5979, allocations: 292 kB / 0.567 GB, free: 15.91 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004978/0.6029, allocations: 1.435 MB / 0.5684 GB, free: 14.48 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004275/0.6072, allocations: 2.408 MB / 0.5707 GB, free: 12.06 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006138/0.6133, allocations: 2.687 MB / 0.5733 GB, free: 9.359 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0157/0.6291, allocations: 8.528 MB / 0.5817 GB, free: 0.8047 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.887e-06/0.6291, allocations: 0 / 0.5817 GB, free: 0.8047 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.655e-06/0.6292, allocations: 4 kB / 0.5817 GB, free: 0.8008 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004756/0.6296, allocations: 0 / 0.5817 GB, free: 0.8008 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: 1787 * Number of variables: 1787 Notification: Performance of Generate backend data structure: time 0.01846/0.6481, allocations: 6.145 MB / 0.5877 GB, free: 10.58 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.964e-05/0.6482, allocations: 8.031 kB / 0.5877 GB, free: 10.57 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01083/0.659, allocations: 2.591 MB / 0.5902 GB, free: 7.973 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008905/0.6679, allocations: 3.773 MB / 0.5939 GB, free: 4.145 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002347/0.6682, allocations: 283.8 kB / 0.5942 GB, free: 3.867 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001212/0.6694, allocations: 387.7 kB / 0.5945 GB, free: 3.488 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02315/0.6926, allocations: 11.99 MB / 0.6063 GB, free: 6.652 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002045/0.6929, allocations: 63.42 kB / 0.6063 GB, free: 6.59 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005682/0.6935, allocations: 183.8 kB / 0.6065 GB, free: 6.41 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003771/0.6972, allocations: 2.264 MB / 0.6087 GB, free: 4.145 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02169/0.7189, allocations: 9.943 MB / 0.6184 GB, free: 10.18 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.062/0.781, allocations: 46.81 MB / 0.6641 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01098/0.792, allocations: 3.901 MB / 0.6679 GB, free: 6.012 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003117/0.7952, allocations: 2.145 MB / 0.67 GB, free: 3.855 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01241/0.8076, allocations: 5.901 MB / 0.6758 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.581e-05/0.8077, allocations: 55.06 kB / 0.6758 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=150): time 5.27e-06/0.8077, allocations: 0 / 0.6758 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of matching and sorting (n=162): time 0.04698/0.8547, allocations: 17.5 MB / 0.6929 GB, free: 12.06 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001688/0.8549, allocations: 230.1 kB / 0.6932 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01001/0.8649, allocations: 5.68 MB / 0.6987 GB, free: 6.129 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0008124/0.8658, allocations: 49.7 kB / 0.6987 GB, free: 6.074 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.00463/0.8704, allocations: 3.794 MB / 0.7025 GB, free: 2.23 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001556/0.872, allocations: 0.6638 MB / 0.7031 GB, free: 1.559 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002141/0.8742, allocations: 1.412 MB / 0.7045 GB, free: 140 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.2572/1.131, allocations: 301.1 kB / 0.7048 GB, free: 190.1 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004899/1.136, allocations: 2.298 MB / 0.707 GB, free: 190.1 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007541/1.144, allocations: 6.602 MB / 0.7135 GB, free: 184.1 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01096/1.155, allocations: 9.578 MB / 0.7228 GB, free: 175.9 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002454/1.155, allocations: 43.88 kB / 0.7229 GB, free: 175.9 MB / 0.5294 GB Notification: Performance of matching and sorting (n=904) (initialization): time 0.01973/1.175, allocations: 9.634 MB / 0.7323 GB, free: 172.6 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001087/1.175, allocations: 71.19 kB / 0.7323 GB, free: 172.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001794/1.175, allocations: 151.6 kB / 0.7325 GB, free: 172.6 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003002/1.178, allocations: 1.241 MB / 0.7337 GB, free: 172.4 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004445/1.183, allocations: 1.568 MB / 0.7352 GB, free: 172.2 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007878/1.191, allocations: 7.901 MB / 0.7429 GB, free: 167.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005415/1.196, allocations: 361.7 kB / 0.7433 GB, free: 167.5 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007671/1.197, allocations: 430.1 kB / 0.7437 GB, free: 167.5 MB / 0.5294 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.003329/1.2, allocations: 2.511 MB / 0.7461 GB, free: 165.6 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000648/1.201, allocations: 464.6 kB / 0.7466 GB, free: 165.4 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005008/1.206, allocations: 3.388 MB / 0.7499 GB, free: 162.8 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.301e-05/1.206, allocations: 23.94 kB / 0.7499 GB, free: 162.7 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.017e-05/1.206, allocations: 7.516 kB / 0.7499 GB, free: 162.7 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.165e-05/1.206, allocations: 7.266 kB / 0.7499 GB, free: 162.7 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01181/1.218, allocations: 8.314 MB / 0.758 GB, free: 154.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.435e-05/1.218, allocations: 4.281 kB / 0.7581 GB, free: 154.8 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001109/1.219, allocations: 259.6 kB / 0.7583 GB, free: 154.5 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00236/1.221, allocations: 0.9975 MB / 0.7593 GB, free: 153.5 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001412/1.221, allocations: 32 kB / 0.7593 GB, free: 153.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006964/1.228, allocations: 7.234 MB / 0.7664 GB, free: 146.1 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/1.228, allocations: 4 kB / 0.7664 GB, free: 146 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006719/1.235, allocations: 5.864 MB / 0.7721 GB, free: 140.3 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001094/1.236, allocations: 0.5224 MB / 0.7726 GB, free: 139.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004754/1.237, allocations: 32 kB / 0.7726 GB, free: 139.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001433/1.238, allocations: 87.88 kB / 0.7727 GB, free: 139.6 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002464/1.238, allocations: 98.06 kB / 0.7728 GB, free: 139.5 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001044/1.239, allocations: 49.53 kB / 0.7729 GB, free: 139.5 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.004059/1.243, allocations: 3.633 MB / 0.7764 GB, free: 135.9 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.2e-07/1.243, allocations: 0 / 0.7764 GB, free: 135.9 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.005031/1.248, allocations: 1.175 MB / 0.7776 GB, free: 134.7 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.0003478/1.248, allocations: 161.8 kB / 0.7777 GB, free: 134.5 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.006655/1.255, allocations: 5.561 MB / 0.7831 GB, free: 129 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.09e-06/1.255, allocations: 0 / 0.7831 GB, free: 129 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001726/1.256, allocations: 1.611 MB / 0.7847 GB, free: 127.3 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003367/1.26, allocations: 0.5935 MB / 0.7853 GB, free: 126.8 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01604/1.276, allocations: 13.38 MB / 0.7984 GB, free: 113.3 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00309/1.279, allocations: 3.861 MB / 0.8021 GB, free: 109.5 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.004427/1.283, allocations: 2.123 MB / 0.8042 GB, free: 107.3 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000705/1.284, allocations: 295.4 kB / 0.8045 GB, free: 107 MB / 0.5294 GB Notification: Performance of SimCode: time 6.41e-07/1.284, allocations: 0 / 0.8045 GB, free: 107 MB / 0.5294 GB Notification: Performance of Templates: time 0.06676/1.351, allocations: 43.86 MB / 0.8473 GB, free: 63.39 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