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.001039/0.001039, allocations: 117.2 kB / 17.78 MB, free: 5.262 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.0009933/0.0009933, allocations: 184.2 kB / 18.71 MB, free: 4.34 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.348/1.348, allocations: 222.9 MB / 242.4 MB, free: 15.08 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.2307/0.2307, allocations: 44.19 MB / 336.7 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001185/0.001185, allocations: 63.91 kB / 470.6 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4248/0.426, allocations: 60.82 MB / 0.5189 GB, free: 3.598 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.01489/0.441, allocations: 12.89 MB / 0.5315 GB, free: 10.4 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01424/0.4553, allocations: 4.513 MB / 0.5359 GB, free: 6.859 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004267/0.4596, allocations: 87.09 kB / 0.536 GB, free: 6.844 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007936/0.4675, allocations: 3.734 MB / 0.5396 GB, free: 4.344 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007575/0.4752, allocations: 2.322 MB / 0.5419 GB, free: 2.684 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002908/0.4781, allocations: 0.9973 MB / 0.5429 GB, free: 2.02 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01058/0.4887, allocations: 6.045 MB / 0.5488 GB, free: 13.39 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008025/0.4968, allocations: 4.602 MB / 0.5533 GB, free: 8.723 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005738/0.5026, allocations: 1.998 MB / 0.5552 GB, free: 6.719 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004879/0.5075, allocations: 2.656 MB / 0.5578 GB, free: 4.055 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001853/0.5094, allocations: 416 kB / 0.5582 GB, free: 3.648 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004245/0.5136, allocations: 1.463 MB / 0.5596 GB, free: 2.184 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003915/0.5176, allocations: 2.517 MB / 0.5621 GB, free: 15.66 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00604/0.5236, allocations: 2.792 MB / 0.5648 GB, free: 12.85 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01273/0.5364, allocations: 8.892 MB / 0.5735 GB, free: 3.93 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.795e-06/0.5365, allocations: 0 / 0.5735 GB, free: 3.93 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.5365, allocations: 0 / 0.5735 GB, free: 3.93 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003474/0.5368, allocations: 4 kB / 0.5735 GB, free: 3.926 MB / 430.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.01597/0.5528, allocations: 6.141 MB / 0.5795 GB, free: 13.71 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.146e-05/0.5529, allocations: 12.03 kB / 0.5795 GB, free: 13.7 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01154/0.5644, allocations: 2.595 MB / 0.5821 GB, free: 11.09 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009519/0.574, allocations: 3.844 MB / 0.5858 GB, free: 7.195 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000294/0.5743, allocations: 283.7 kB / 0.5861 GB, free: 6.918 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001737/0.5761, allocations: 391.7 kB / 0.5865 GB, free: 6.535 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02736/0.6035, allocations: 11.98 MB / 0.5982 GB, free: 9.703 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002153/0.6038, allocations: 55.44 kB / 0.5982 GB, free: 9.648 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005662/0.6043, allocations: 187.8 kB / 0.5984 GB, free: 9.465 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003965/0.6083, allocations: 2.268 MB / 0.6006 GB, free: 7.195 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02088/0.6292, allocations: 9.939 MB / 0.6103 GB, free: 13.24 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06422/0.6935, allocations: 46.6 MB / 0.6558 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01014/0.7036, allocations: 3.909 MB / 0.6596 GB, free: 9.258 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002772/0.7064, allocations: 2.143 MB / 0.6617 GB, free: 7.098 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009778/0.7162, allocations: 5.893 MB / 0.6675 GB, free: 1.113 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.531e-05/0.7163, allocations: 60.09 kB / 0.6675 GB, free: 1.047 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=150): time 3.186e-06/0.7163, allocations: 0 / 0.6675 GB, free: 1.047 MB / 0.5137 GB Notification: Performance of matching and sorting (n=162): time 0.04471/0.761, allocations: 17.5 MB / 0.6846 GB, free: 15.33 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000132/0.7612, allocations: 226.2 kB / 0.6848 GB, free: 15.06 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007891/0.7691, allocations: 5.673 MB / 0.6904 GB, free: 9.406 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0003387/0.7694, allocations: 49.69 kB / 0.6904 GB, free: 9.352 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.00268/0.7721, allocations: 3.798 MB / 0.6941 GB, free: 5.504 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007591/0.7729, allocations: 0.6521 MB / 0.6948 GB, free: 4.844 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001665/0.7746, allocations: 1.427 MB / 0.6962 GB, free: 3.406 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001083/0.7747, allocations: 305.1 kB / 0.6965 GB, free: 3.105 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003232/0.7779, allocations: 2.297 MB / 0.6987 GB, free: 0.8047 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006164/0.7841, allocations: 6.6 MB / 0.7052 GB, free: 8.062 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01104/0.7952, allocations: 9.58 MB / 0.7145 GB, free: 12.35 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001097/0.7953, allocations: 44 kB / 0.7145 GB, free: 12.31 MB / 0.5762 GB Notification: Performance of matching and sorting (n=904) (initialization): time 0.01775/0.8131, allocations: 9.63 MB / 0.724 GB, free: 2.664 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 8.67e-05/0.8132, allocations: 71.98 kB / 0.724 GB, free: 2.594 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001426/0.8133, allocations: 152 kB / 0.7242 GB, free: 2.445 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003034/0.8164, allocations: 1.238 MB / 0.7254 GB, free: 1.203 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.3415/1.158, allocations: 1.565 MB / 0.7269 GB, free: 176.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01052/1.168, allocations: 8.462 MB / 0.7352 GB, free: 172.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006359/1.175, allocations: 361.6 kB / 0.7355 GB, free: 172.6 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007749/1.176, allocations: 425.5 kB / 0.7359 GB, free: 172.5 MB / 0.5762 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.004479/1.18, allocations: 2.526 MB / 0.7384 GB, free: 171.6 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001022/1.181, allocations: 458 kB / 0.7388 GB, free: 171.6 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006147/1.187, allocations: 3.398 MB / 0.7421 GB, free: 170.5 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.042e-05/1.187, allocations: 22.86 kB / 0.7422 GB, free: 170.5 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.506e-05/1.187, allocations: 5.312 kB / 0.7422 GB, free: 170.5 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.505e-05/1.187, allocations: 6.5 kB / 0.7422 GB, free: 170.5 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01319/1.201, allocations: 8.301 MB / 0.7503 GB, free: 167.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.138e-05/1.201, allocations: 3.875 kB / 0.7503 GB, free: 167.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001114/1.202, allocations: 255.6 kB / 0.7505 GB, free: 167.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002401/1.204, allocations: 1.003 MB / 0.7515 GB, free: 167.4 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001065/1.204, allocations: 27.56 kB / 0.7515 GB, free: 167.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00732/1.212, allocations: 7.803 MB / 0.7592 GB, free: 162.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.387e-06/1.212, allocations: 5.656 kB / 0.7592 GB, free: 162.6 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007231/1.219, allocations: 5.859 MB / 0.7649 GB, free: 159.5 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009671/1.22, allocations: 0.5196 MB / 0.7654 GB, free: 159.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004511/1.22, allocations: 34.12 kB / 0.7654 GB, free: 159.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001449/1.222, allocations: 94.19 kB / 0.7655 GB, free: 159.2 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000251/1.222, allocations: 95 kB / 0.7656 GB, free: 159.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000109/1.222, allocations: 42.62 kB / 0.7656 GB, free: 159.2 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.004383/1.227, allocations: 3.633 MB / 0.7692 GB, free: 156.6 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.6e-07/1.227, allocations: 0 / 0.7692 GB, free: 156.6 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.005078/1.232, allocations: 1.178 MB / 0.7703 GB, free: 155.4 MB / 0.5762 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.0003601/1.232, allocations: 161.1 kB / 0.7705 GB, free: 155.2 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00694/1.239, allocations: 5.585 MB / 0.7759 GB, free: 149.7 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5e-06/1.239, allocations: 0 / 0.7759 GB, free: 149.7 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001907/1.241, allocations: 1.613 MB / 0.7775 GB, free: 148.1 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003585/1.244, allocations: 0.6237 MB / 0.7781 GB, free: 147.5 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01866/1.263, allocations: 10.99 MB / 0.7889 GB, free: 136.5 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003679/1.267, allocations: 3.865 MB / 0.7926 GB, free: 132.6 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.004627/1.272, allocations: 2.131 MB / 0.7947 GB, free: 130.5 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008135/1.272, allocations: 295.4 kB / 0.795 GB, free: 130.2 MB / 0.5762 GB Notification: Performance of SimCode: time 1.503e-06/1.272, allocations: 0 / 0.795 GB, free: 130.2 MB / 0.5762 GB Notification: Performance of Templates: time 0.06778/1.34, allocations: 41.27 MB / 0.8353 GB, free: 89.2 MB / 0.5762 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