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.0008242/0.0008242, allocations: 91.88 kB / 17.35 MB, free: 5.945 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.0009627/0.0009628, allocations: 178.7 kB / 18.25 MB, free: 5.375 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.39/1.39, allocations: 223.3 MB / 242.3 MB, free: 14.29 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.2171/0.2171, allocations: 44.25 MB / 337.7 MB, free: 2.398 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003523/0.0003523, allocations: 8.688 kB / 410.3 MB, free: 27.26 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.147/0.1474, allocations: 61.92 MB / 472.2 MB, free: 13.31 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.3925/0.54, allocations: 70.61 MB / 0.5301 GB, free: 9.781 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04111/0.5812, allocations: 14.35 MB / 0.5442 GB, free: 4.348 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02083/0.602, allocations: 311.8 kB / 0.5445 GB, free: 4.301 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00246/0.6045, allocations: 0.4987 MB / 0.5449 GB, free: 4.109 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007136/0.6117, allocations: 2.131 MB / 0.547 GB, free: 2.879 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002216/0.6139, allocations: 0.8069 MB / 0.5478 GB, free: 2.402 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01158/0.6255, allocations: 8.731 MB / 0.5563 GB, free: 14.08 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01113/0.6367, allocations: 6.353 MB / 0.5625 GB, free: 7.789 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003959/0.6407, allocations: 1.47 MB / 0.564 GB, free: 6.312 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004845/0.6456, allocations: 2.48 MB / 0.5664 GB, free: 3.824 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001001/0.6466, allocations: 172 kB / 0.5666 GB, free: 3.656 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003157/0.6498, allocations: 1.314 MB / 0.5678 GB, free: 2.34 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002742/0.6525, allocations: 2.24 MB / 0.57 GB, free: 96 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003773/0.6563, allocations: 2.485 MB / 0.5725 GB, free: 13.59 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01137/0.6677, allocations: 8.276 MB / 0.5805 GB, free: 5.281 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.6677, allocations: 0 / 0.5805 GB, free: 5.281 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.625e-06/0.6677, allocations: 0 / 0.5805 GB, free: 5.281 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002997/0.668, allocations: 3.938 kB / 0.5805 GB, free: 5.277 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.01291/0.681, allocations: 5.062 MB / 0.5855 GB, free: 148 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.386e-05/0.681, allocations: 12.03 kB / 0.5855 GB, free: 136 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01282/0.6939, allocations: 2.657 MB / 0.5881 GB, free: 13.46 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009467/0.7034, allocations: 3.77 MB / 0.5918 GB, free: 9.637 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002569/0.7037, allocations: 291.6 kB / 0.5921 GB, free: 9.352 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001522/0.7052, allocations: 387.7 kB / 0.5924 GB, free: 8.973 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02308/0.7283, allocations: 12.01 MB / 0.6042 GB, free: 12.12 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001709/0.7285, allocations: 59.52 kB / 0.6042 GB, free: 12.06 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005257/0.729, allocations: 183.8 kB / 0.6044 GB, free: 11.88 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003889/0.7329, allocations: 2.264 MB / 0.6066 GB, free: 9.613 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02085/0.7538, allocations: 9.959 MB / 0.6163 GB, free: 15.64 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0692/0.823, allocations: 46.84 MB / 0.6621 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01044/0.8335, allocations: 3.919 MB / 0.6659 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003071/0.8366, allocations: 2.131 MB / 0.668 GB, free: 9.27 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01159/0.8482, allocations: 5.905 MB / 0.6737 GB, free: 3.266 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.68e-05/0.8483, allocations: 56.05 kB / 0.6738 GB, free: 3.203 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=150): time 4.98e-06/0.8484, allocations: 3.938 kB / 0.6738 GB, free: 3.199 MB / 0.4981 GB Notification: Performance of matching and sorting (n=162): time 0.04847/0.8968, allocations: 17.48 MB / 0.6909 GB, free: 1.5 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000134/0.897, allocations: 226.1 kB / 0.6911 GB, free: 1.227 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01034/0.9074, allocations: 5.681 MB / 0.6966 GB, free: 11.56 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0005888/0.908, allocations: 45.7 kB / 0.6967 GB, free: 11.51 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003332/0.9114, allocations: 3.802 MB / 0.7004 GB, free: 7.66 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001427/0.9128, allocations: 0.656 MB / 0.701 GB, free: 6.996 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001024/0.9138, allocations: 0.6069 MB / 0.7016 GB, free: 6.383 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001761/0.914, allocations: 309.1 kB / 0.7019 GB, free: 6.078 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004041/0.9181, allocations: 2.293 MB / 0.7041 GB, free: 3.781 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3364/1.254, allocations: 6.596 MB / 0.7106 GB, free: 183 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01533/1.27, allocations: 9.572 MB / 0.7199 GB, free: 176 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000521/1.27, allocations: 47.41 kB / 0.72 GB, free: 176 MB / 0.5294 GB Notification: Performance of matching and sorting (n=904) (initialization): time 0.02643/1.297, allocations: 9.637 MB / 0.7294 GB, free: 172.7 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002055/1.297, allocations: 71.05 kB / 0.7295 GB, free: 172.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002772/1.297, allocations: 154.9 kB / 0.7296 GB, free: 172.7 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003717/1.301, allocations: 1.233 MB / 0.7308 GB, free: 172.5 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005485/1.307, allocations: 1.57 MB / 0.7323 GB, free: 172.3 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008591/1.315, allocations: 7.897 MB / 0.7401 GB, free: 167.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005636/1.321, allocations: 372.5 kB / 0.7404 GB, free: 167.7 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001236/1.322, allocations: 429.4 kB / 0.7408 GB, free: 167.6 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.005038/1.327, allocations: 2.519 MB / 0.7433 GB, free: 166.5 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001051/1.328, allocations: 457 kB / 0.7437 GB, free: 166.5 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005883/1.334, allocations: 3.399 MB / 0.747 GB, free: 165.4 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.472e-05/1.334, allocations: 19.09 kB / 0.7471 GB, free: 165.4 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.263e-05/1.334, allocations: 13.31 kB / 0.7471 GB, free: 165.4 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.62e-05/1.334, allocations: 7.078 kB / 0.7471 GB, free: 165.4 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01378/1.348, allocations: 8.308 MB / 0.7552 GB, free: 158.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.839e-05/1.348, allocations: 4 kB / 0.7552 GB, free: 158.6 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001134/1.349, allocations: 255.6 kB / 0.7554 GB, free: 158.4 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002419/1.352, allocations: 0.9981 MB / 0.7564 GB, free: 157.4 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001868/1.352, allocations: 33.16 kB / 0.7564 GB, free: 157.3 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006661/1.359, allocations: 7.234 MB / 0.7635 GB, free: 149.9 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.06e-06/1.359, allocations: 7.938 kB / 0.7635 GB, free: 149.9 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007328/1.366, allocations: 5.852 MB / 0.7692 GB, free: 144.1 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00156/1.368, allocations: 0.5341 MB / 0.7698 GB, free: 143.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006285/1.368, allocations: 31.94 kB / 0.7698 GB, free: 143.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001498/1.37, allocations: 95.88 kB / 0.7699 GB, free: 143.5 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002537/1.37, allocations: 92.81 kB / 0.77 GB, free: 143.4 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001024/1.37, allocations: 49.58 kB / 0.77 GB, free: 143.3 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.005051/1.375, allocations: 3.629 MB / 0.7736 GB, free: 139.7 MB / 0.5294 GB Notification: Performance of sort global known variables: time 5.31e-07/1.375, allocations: 0 / 0.7736 GB, free: 139.7 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.00651/1.382, allocations: 1.19 MB / 0.7747 GB, free: 138.5 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.0004135/1.382, allocations: 154.8 kB / 0.7749 GB, free: 138.4 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.007434/1.39, allocations: 5.552 MB / 0.7803 GB, free: 132.8 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.171e-06/1.39, allocations: 2.406 kB / 0.7803 GB, free: 132.8 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001915/1.392, allocations: 1.626 MB / 0.7819 GB, free: 131.2 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006721/1.398, allocations: 0.5849 MB / 0.7824 GB, free: 130.6 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01698/1.415, allocations: 13.47 MB / 0.7956 GB, free: 117.1 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003297/1.419, allocations: 3.872 MB / 0.7994 GB, free: 113.2 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.00467/1.423, allocations: 2.128 MB / 0.8015 GB, free: 111 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007624/1.424, allocations: 291.3 kB / 0.8017 GB, free: 110.8 MB / 0.5294 GB Notification: Performance of SimCode: time 5.31e-07/1.424, allocations: 0 / 0.8017 GB, free: 110.8 MB / 0.5294 GB Notification: Performance of Templates: time 0.0699/1.494, allocations: 43.26 MB / 0.844 GB, free: 67.71 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