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.001083/0.001082, allocations: 98.94 kB / 18.01 MB, free: 5.73 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.0009903/0.0009903, allocations: 176.2 kB / 18.91 MB, free: 4.871 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.379/1.379, allocations: 223.3 MB / 243 MB, free: 96 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1993/0.1993, allocations: 44.25 MB / 338.3 MB, free: 2.645 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003106/0.0003106, allocations: 8 kB / 411 MB, free: 27.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1142/0.1145, allocations: 61.92 MB / 472.9 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.3054/0.42, allocations: 70.61 MB / 0.5308 GB, free: 9.812 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03382/0.4539, allocations: 14.36 MB / 0.5448 GB, free: 4.355 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01541/0.4693, allocations: 316.6 kB / 0.5451 GB, free: 4.305 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002126/0.4715, allocations: 0.4934 MB / 0.5456 GB, free: 4.113 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00674/0.4783, allocations: 2.13 MB / 0.5477 GB, free: 2.887 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002382/0.4807, allocations: 0.8119 MB / 0.5485 GB, free: 2.406 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01059/0.4913, allocations: 8.733 MB / 0.557 GB, free: 14.12 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01012/0.5015, allocations: 6.346 MB / 0.5632 GB, free: 7.832 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003344/0.5048, allocations: 1.474 MB / 0.5646 GB, free: 6.352 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00431/0.5092, allocations: 2.48 MB / 0.5671 GB, free: 3.863 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00113/0.5103, allocations: 172 kB / 0.5672 GB, free: 3.695 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003348/0.5137, allocations: 1.31 MB / 0.5685 GB, free: 2.383 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003225/0.517, allocations: 2.24 MB / 0.5707 GB, free: 140 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004698/0.5217, allocations: 2.482 MB / 0.5731 GB, free: 13.63 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008666/0.5304, allocations: 6.835 MB / 0.5798 GB, free: 6.781 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.5304, allocations: 0 / 0.5798 GB, free: 6.781 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.5304, allocations: 0 / 0.5798 GB, free: 6.781 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003402/0.5308, allocations: 4 kB / 0.5798 GB, free: 6.777 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.01217/0.543, allocations: 5.062 MB / 0.5847 GB, free: 1.645 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.78e-05/0.543, allocations: 8.031 kB / 0.5847 GB, free: 1.637 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01254/0.5556, allocations: 2.657 MB / 0.5873 GB, free: 14.97 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008498/0.5641, allocations: 3.766 MB / 0.591 GB, free: 11.15 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002794/0.5644, allocations: 287.7 kB / 0.5913 GB, free: 10.87 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001457/0.5659, allocations: 391.7 kB / 0.5917 GB, free: 10.48 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02587/0.5918, allocations: 12.01 MB / 0.6034 GB, free: 13.63 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002986/0.5921, allocations: 55.47 kB / 0.6034 GB, free: 13.57 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001561/0.5937, allocations: 187.8 kB / 0.6036 GB, free: 13.39 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00441/0.5981, allocations: 2.264 MB / 0.6058 GB, free: 11.12 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02179/0.6199, allocations: 9.959 MB / 0.6156 GB, free: 1.152 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06108/0.6811, allocations: 46.85 MB / 0.6613 GB, free: 0.9883 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01084/0.6919, allocations: 3.92 MB / 0.6651 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003034/0.695, allocations: 2.139 MB / 0.6672 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01098/0.706, allocations: 5.894 MB / 0.673 GB, free: 4.77 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.144e-05/0.7061, allocations: 56.05 kB / 0.673 GB, free: 4.707 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=150): time 5.491e-06/0.7061, allocations: 4 kB / 0.673 GB, free: 4.703 MB / 0.4981 GB Notification: Performance of matching and sorting (n=162): time 0.05114/0.7573, allocations: 17.47 MB / 0.6901 GB, free: 3.012 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001371/0.7575, allocations: 222.1 kB / 0.6903 GB, free: 2.742 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01157/0.769, allocations: 5.688 MB / 0.6959 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0004632/0.7695, allocations: 49.7 kB / 0.6959 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003486/0.773, allocations: 3.798 MB / 0.6996 GB, free: 9.172 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001006/0.7741, allocations: 0.656 MB / 0.7003 GB, free: 8.508 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000815/0.7749, allocations: 0.603 MB / 0.7008 GB, free: 7.898 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001077/0.775, allocations: 309.1 kB / 0.7011 GB, free: 7.594 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003418/0.7784, allocations: 2.293 MB / 0.7034 GB, free: 5.297 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2406/1.019, allocations: 6.597 MB / 0.7098 GB, free: 184 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0113/1.03, allocations: 9.574 MB / 0.7192 GB, free: 177.2 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002394/1.031, allocations: 48.38 kB / 0.7192 GB, free: 177.2 MB / 0.5294 GB Notification: Performance of matching and sorting (n=904) (initialization): time 0.01986/1.051, allocations: 9.636 MB / 0.7286 GB, free: 173.9 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001523/1.051, allocations: 71.73 kB / 0.7287 GB, free: 173.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002386/1.051, allocations: 154.6 kB / 0.7288 GB, free: 173.9 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003141/1.054, allocations: 1.236 MB / 0.7301 GB, free: 173.7 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004674/1.059, allocations: 1.57 MB / 0.7316 GB, free: 173.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008096/1.067, allocations: 7.905 MB / 0.7393 GB, free: 168.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005396/1.072, allocations: 366.8 kB / 0.7397 GB, free: 168.8 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007787/1.073, allocations: 425.2 kB / 0.7401 GB, free: 168.8 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.003991/1.077, allocations: 2.518 MB / 0.7425 GB, free: 167.7 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007992/1.078, allocations: 461 kB / 0.743 GB, free: 167.7 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00557/1.084, allocations: 3.391 MB / 0.7463 GB, free: 166.6 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-05/1.084, allocations: 22.48 kB / 0.7463 GB, free: 166.6 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.346e-05/1.084, allocations: 11.22 kB / 0.7463 GB, free: 166.5 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.506e-05/1.084, allocations: 7.578 kB / 0.7463 GB, free: 166.5 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01321/1.097, allocations: 8.313 MB / 0.7544 GB, free: 160 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.208e-05/1.097, allocations: 4 kB / 0.7544 GB, free: 160 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001132/1.098, allocations: 256 kB / 0.7547 GB, free: 159.8 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002401/1.1, allocations: 0.9966 MB / 0.7556 GB, free: 158.8 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000128/1.101, allocations: 36.84 kB / 0.7557 GB, free: 158.7 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006801/1.107, allocations: 7.225 MB / 0.7627 GB, free: 151.3 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/1.107, allocations: 4 kB / 0.7627 GB, free: 151.3 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007196/1.115, allocations: 5.854 MB / 0.7685 GB, free: 145.5 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001432/1.116, allocations: 0.5341 MB / 0.769 GB, free: 145 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006451/1.117, allocations: 31.94 kB / 0.769 GB, free: 145 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001617/1.118, allocations: 96.58 kB / 0.7691 GB, free: 144.9 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002557/1.119, allocations: 92.81 kB / 0.7692 GB, free: 144.8 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001064/1.119, allocations: 48.88 kB / 0.7692 GB, free: 144.7 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.004784/1.124, allocations: 3.629 MB / 0.7728 GB, free: 141.1 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.1e-07/1.124, allocations: 0 / 0.7728 GB, free: 141.1 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.006674/1.13, allocations: 1.188 MB / 0.7739 GB, free: 139.9 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.0004182/1.131, allocations: 157.5 kB / 0.7741 GB, free: 139.8 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.00756/1.138, allocations: 5.56 MB / 0.7795 GB, free: 134.2 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 8.085e-06/1.138, allocations: 1.812 kB / 0.7795 GB, free: 134.2 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001839/1.14, allocations: 1.62 MB / 0.7811 GB, free: 132.6 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005551/1.146, allocations: 0.5776 MB / 0.7817 GB, free: 132 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0192/1.165, allocations: 13.95 MB / 0.7953 GB, free: 118 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003874/1.169, allocations: 3.838 MB / 0.799 GB, free: 114.1 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001161/1.17, allocations: 343.4 kB / 0.7994 GB, free: 113.8 MB / 0.5294 GB Notification: Performance of SimCode: time 9.42e-07/1.17, allocations: 0 / 0.7994 GB, free: 113.8 MB / 0.5294 GB Notification: Performance of Templates: time 0.3624/1.532, allocations: 113.2 MB / 0.9099 GB, free: 172.3 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/FrameTorques/FrameTorques.csv","/var/lib/jenkins1/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