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.001188/0.001188, allocations: 111.8 kB / 18.45 MB, free: 4.602 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.001183/0.001183, allocations: 182.3 kB / 19.38 MB, free: 3.684 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.279/1.279, allocations: 222.9 MB / 243.1 MB, free: 15.07 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.1981/0.1981, allocations: 44.18 MB / 337.4 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001358/0.001358, allocations: 67.89 kB / 471.2 MB, free: 13.15 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3177/0.3191, allocations: 60.81 MB / 0.5196 GB, free: 3.613 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.01579/0.3349, allocations: 12.89 MB / 0.5321 GB, free: 10.42 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0105/0.3455, allocations: 4.522 MB / 0.5366 GB, free: 6.867 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003052/0.3486, allocations: 86.59 kB / 0.5366 GB, free: 6.852 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00767/0.3563, allocations: 3.734 MB / 0.5403 GB, free: 4.352 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007081/0.3634, allocations: 2.254 MB / 0.5425 GB, free: 2.738 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002831/0.3663, allocations: 1 MB / 0.5435 GB, free: 2.07 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.009934/0.3762, allocations: 6.047 MB / 0.5494 GB, free: 13.48 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0068/0.3831, allocations: 4.602 MB / 0.5539 GB, free: 8.809 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003949/0.3871, allocations: 1.986 MB / 0.5558 GB, free: 6.816 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004603/0.3917, allocations: 2.66 MB / 0.5584 GB, free: 4.148 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001675/0.3934, allocations: 416 kB / 0.5588 GB, free: 3.742 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003973/0.3974, allocations: 1.463 MB / 0.5602 GB, free: 2.277 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003467/0.4009, allocations: 2.517 MB / 0.5627 GB, free: 15.75 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005024/0.406, allocations: 2.792 MB / 0.5654 GB, free: 12.95 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01154/0.4176, allocations: 8.884 MB / 0.5741 GB, free: 4.031 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.4176, allocations: 0 / 0.5741 GB, free: 4.031 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.4176, allocations: 0 / 0.5741 GB, free: 4.031 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003622/0.418, allocations: 4 kB / 0.5741 GB, free: 4.027 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.016/0.434, allocations: 6.149 MB / 0.5801 GB, free: 13.8 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.207e-05/0.4341, allocations: 12.03 kB / 0.5801 GB, free: 13.79 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01257/0.4467, allocations: 2.591 MB / 0.5826 GB, free: 11.19 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008868/0.4556, allocations: 3.848 MB / 0.5864 GB, free: 7.289 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003177/0.4559, allocations: 283.7 kB / 0.5867 GB, free: 7.012 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001621/0.4576, allocations: 387.7 kB / 0.587 GB, free: 6.633 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02333/0.4809, allocations: 11.98 MB / 0.5987 GB, free: 9.797 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002564/0.4812, allocations: 63.41 kB / 0.5988 GB, free: 9.734 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001322/0.4825, allocations: 183.8 kB / 0.599 GB, free: 9.555 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003917/0.4865, allocations: 2.268 MB / 0.6012 GB, free: 7.285 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02021/0.5067, allocations: 9.935 MB / 0.6109 GB, free: 13.34 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05882/0.5656, allocations: 46.6 MB / 0.6564 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01006/0.5757, allocations: 3.924 MB / 0.6602 GB, free: 9.344 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002903/0.5786, allocations: 2.139 MB / 0.6623 GB, free: 7.188 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0104/0.589, allocations: 5.897 MB / 0.6681 GB, free: 1.195 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.91e-05/0.5891, allocations: 52.05 kB / 0.6681 GB, free: 1.137 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=150): time 4.609e-06/0.5891, allocations: 0 / 0.6681 GB, free: 1.137 MB / 0.5137 GB Notification: Performance of matching and sorting (n=162): time 0.04688/0.636, allocations: 17.5 MB / 0.6852 GB, free: 15.41 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001133/0.6361, allocations: 222.2 kB / 0.6854 GB, free: 15.14 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009224/0.6454, allocations: 5.673 MB / 0.691 GB, free: 9.488 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0003538/0.6458, allocations: 45.7 kB / 0.691 GB, free: 9.438 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.002757/0.6485, allocations: 3.802 MB / 0.6947 GB, free: 5.59 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008978/0.6494, allocations: 0.656 MB / 0.6954 GB, free: 4.926 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002513/0.652, allocations: 1.427 MB / 0.6968 GB, free: 3.488 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.189e-05/0.6521, allocations: 301.1 kB / 0.6971 GB, free: 3.191 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003371/0.6555, allocations: 2.301 MB / 0.6993 GB, free: 0.8867 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006213/0.6617, allocations: 6.6 MB / 0.7058 GB, free: 8.148 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01046/0.6722, allocations: 9.576 MB / 0.7151 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001526/0.6724, allocations: 44 kB / 0.7151 GB, free: 12.4 MB / 0.5762 GB Notification: Performance of matching and sorting (n=904) (initialization): time 0.01736/0.6897, allocations: 9.632 MB / 0.7246 GB, free: 2.754 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001701/0.6899, allocations: 72.22 kB / 0.7246 GB, free: 2.684 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002255/0.6902, allocations: 152 kB / 0.7248 GB, free: 2.535 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003231/0.6934, allocations: 1.235 MB / 0.726 GB, free: 1.293 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.2903/0.9837, allocations: 1.568 MB / 0.7275 GB, free: 176.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0112/0.995, allocations: 8.467 MB / 0.7358 GB, free: 172.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006055/1.001, allocations: 368.4 kB / 0.7361 GB, free: 172.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001568/1.003, allocations: 427.8 kB / 0.7365 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.005083/1.008, allocations: 2.512 MB / 0.739 GB, free: 171.5 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001038/1.009, allocations: 464.1 kB / 0.7394 GB, free: 171.5 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006042/1.015, allocations: 3.394 MB / 0.7427 GB, free: 170.4 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-05/1.015, allocations: 18.72 kB / 0.7428 GB, free: 170.4 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.81e-05/1.015, allocations: 8.328 kB / 0.7428 GB, free: 170.4 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.615e-05/1.015, allocations: 9.438 kB / 0.7428 GB, free: 170.4 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01403/1.029, allocations: 8.303 MB / 0.7509 GB, free: 167.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.767e-05/1.029, allocations: 3.688 kB / 0.7509 GB, free: 167.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001164/1.03, allocations: 254.4 kB / 0.7511 GB, free: 167.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002387/1.033, allocations: 0.9957 MB / 0.7521 GB, free: 167.3 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001512/1.033, allocations: 31.88 kB / 0.7521 GB, free: 167.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007251/1.04, allocations: 7.806 MB / 0.7598 GB, free: 162.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/1.04, allocations: 3.906 kB / 0.7598 GB, free: 162.6 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007806/1.048, allocations: 5.857 MB / 0.7655 GB, free: 159.6 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00139/1.049, allocations: 0.5238 MB / 0.766 GB, free: 159.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006577/1.05, allocations: 31.7 kB / 0.766 GB, free: 159.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001552/1.052, allocations: 94.19 kB / 0.7661 GB, free: 159.2 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002667/1.052, allocations: 98.59 kB / 0.7662 GB, free: 159.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001028/1.052, allocations: 45.91 kB / 0.7662 GB, free: 159.2 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.004618/1.057, allocations: 3.63 MB / 0.7698 GB, free: 156.7 MB / 0.5762 GB Notification: Performance of sort global known variables: time 4.4e-07/1.057, allocations: 0 / 0.7698 GB, free: 156.7 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.006052/1.063, allocations: 1.171 MB / 0.7709 GB, free: 155.5 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.000455/1.063, allocations: 165.1 kB / 0.7711 GB, free: 155.4 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.007256/1.07, allocations: 5.586 MB / 0.7765 GB, free: 149.8 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.026e-05/1.07, allocations: 4 kB / 0.7766 GB, free: 149.8 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001838/1.072, allocations: 1.611 MB / 0.7781 GB, free: 148.2 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00362/1.076, allocations: 0.6249 MB / 0.7787 GB, free: 147.6 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01641/1.092, allocations: 11.49 MB / 0.79 GB, free: 136.1 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003586/1.096, allocations: 3.838 MB / 0.7937 GB, free: 132.2 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001082/1.097, allocations: 339.4 kB / 0.794 GB, free: 131.9 MB / 0.5762 GB Notification: Performance of SimCode: time 9.71e-07/1.097, allocations: 0 / 0.794 GB, free: 131.9 MB / 0.5762 GB Notification: Performance of Templates: time 0.1139/1.211, allocations: 115.1 MB / 0.9064 GB, free: 16.89 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/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