Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.FrameForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces") translateModel(ModelicaTest.MultiBody.Forces.FrameForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001221/0.001221, allocations: 112.6 kB / 17.04 MB, free: 6.074 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.002456/0.002456, allocations: 195 kB / 17.97 MB, free: 5.16 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.485/1.485, allocations: 205.1 MB / 223.8 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2177/0.2177, allocations: 43.52 MB / 314.7 MB, free: 480 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001702/0.001702, allocations: 69.73 kB / 384.2 MB, free: 56.37 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1328/0.1345, allocations: 57.79 MB / 442 MB, free: 6.141 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.01419/0.1487, allocations: 13.71 MB / 455.7 MB, free: 8.359 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01141/0.1602, allocations: 4.603 MB / 460.3 MB, free: 3.742 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00338/0.1636, allocations: 87.75 kB / 460.4 MB, free: 3.656 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007449/0.1711, allocations: 3.765 MB / 464.1 MB, free: 15.88 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007694/0.1789, allocations: 2.361 MB / 466.5 MB, free: 13.51 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002856/0.1818, allocations: 1.006 MB / 467.5 MB, free: 12.5 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01067/0.1925, allocations: 5.908 MB / 473.4 MB, free: 6.582 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007016/0.1995, allocations: 4.694 MB / 478.1 MB, free: 1.82 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004773/0.2043, allocations: 2.079 MB / 480.2 MB, free: 15.73 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005198/0.2096, allocations: 2.823 MB / 483 MB, free: 12.9 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001271/0.2109, allocations: 451.9 kB / 483.5 MB, free: 12.46 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003136/0.214, allocations: 1.463 MB / 484.9 MB, free: 11 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00296/0.217, allocations: 2.618 MB / 487.5 MB, free: 8.371 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003989/0.221, allocations: 2.944 MB / 490.5 MB, free: 5.41 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0118/0.2328, allocations: 9.359 MB / 499.8 MB, free: 12.02 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.467e-06/0.2329, allocations: 0 / 499.8 MB, free: 12.02 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.805e-06/0.2329, allocations: 3.938 kB / 499.8 MB, free: 12.02 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003613/0.2333, allocations: 4 kB / 499.8 MB, free: 12.01 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1888 * Number of variables: 1888 Notification: Performance of Generate backend data structure: time 0.01924/0.2525, allocations: 6.381 MB / 0.4944 GB, free: 5.555 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.755e-05/0.2526, allocations: 11.89 kB / 0.4944 GB, free: 5.543 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01293/0.2655, allocations: 2.63 MB / 0.4969 GB, free: 2.902 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009793/0.2753, allocations: 4.027 MB / 0.5009 GB, free: 14.82 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003039/0.2757, allocations: 300 kB / 0.5012 GB, free: 14.53 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001788/0.2775, allocations: 407.6 kB / 0.5016 GB, free: 14.13 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02528/0.3028, allocations: 12.62 MB / 0.5139 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001994/0.303, allocations: 59.52 kB / 0.5139 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000558/0.3036, allocations: 187.8 kB / 0.5141 GB, free: 416 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004015/0.3076, allocations: 2.405 MB / 0.5165 GB, free: 14 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02265/0.3303, allocations: 10.54 MB / 0.5268 GB, free: 3.438 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3656/0.6959, allocations: 48.59 MB / 0.5742 GB, free: 47.89 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01045/0.7064, allocations: 4.798 MB / 0.5789 GB, free: 45.21 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002957/0.7094, allocations: 2.436 MB / 0.5813 GB, free: 43.91 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01232/0.7218, allocations: 7.168 MB / 0.5883 GB, free: 38.59 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.731e-05/0.7219, allocations: 51.81 kB / 0.5883 GB, free: 38.53 MB / 414.1 MB Notification: Performance of pre-optimization done (n=181): time 5.47e-06/0.7219, allocations: 0 / 0.5883 GB, free: 38.53 MB / 414.1 MB Notification: Performance of matching and sorting (n=193): time 0.0411/0.763, allocations: 17.99 MB / 0.6059 GB, free: 20.43 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.143e-05/0.7631, allocations: 209.2 kB / 0.6061 GB, free: 20.18 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007605/0.7707, allocations: 5.843 MB / 0.6118 GB, free: 14.36 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006237/0.7714, allocations: 53.7 kB / 0.6118 GB, free: 14.3 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002263/0.7737, allocations: 3.946 MB / 0.6157 GB, free: 10.36 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001037/0.7747, allocations: 0.7618 MB / 0.6164 GB, free: 9.602 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001738/0.7765, allocations: 1.51 MB / 0.6179 GB, free: 8.086 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 6.024e-05/0.7765, allocations: 309.1 kB / 0.6182 GB, free: 7.781 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003119/0.7797, allocations: 2.599 MB / 0.6207 GB, free: 5.18 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006319/0.786, allocations: 7.036 MB / 0.6276 GB, free: 11.95 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0128/0.7988, allocations: 10.34 MB / 0.6377 GB, free: 15.42 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000157/0.799, allocations: 44 kB / 0.6378 GB, free: 15.38 MB / 446.1 MB Notification: Performance of matching and sorting (n=964) (initialization): time 0.02604/0.8251, allocations: 10.41 MB / 0.6479 GB, free: 4.953 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003285/0.8255, allocations: 68 kB / 0.648 GB, free: 4.887 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004573/0.8259, allocations: 156 kB / 0.6481 GB, free: 4.734 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003808/0.8298, allocations: 1.226 MB / 0.6493 GB, free: 3.504 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006675/0.8365, allocations: 1.7 MB / 0.651 GB, free: 1.801 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01152/0.848, allocations: 8.355 MB / 0.6592 GB, free: 9.195 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007232/0.8553, allocations: 403.3 kB / 0.6595 GB, free: 8.801 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001699/0.857, allocations: 448 kB / 0.66 GB, free: 8.363 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 712 * Number of states: 0 () * Number of discrete variables: 45 (FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[1],frameForce2.color[3],frameForce2.color[2],frameForce2.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameForce1.color[3],frameForce1.color[2],frameForce1.color[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],BodyCylinder1.color[3],BodyCylinder1.color[2],BodyCylinder1.color[1],BodyCylinder1.body.sphereColor[3],BodyCylinder1.body.sphereColor[2],BodyCylinder1.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 (904): * Single equations (assignments): 897 * 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,13,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006795/0.8638, allocations: 2.638 MB / 0.6625 GB, free: 5.715 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001595/0.8655, allocations: 479.2 kB / 0.663 GB, free: 5.242 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008908/0.8744, allocations: 3.969 MB / 0.6669 GB, free: 1.254 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.748e-05/0.8745, allocations: 24 kB / 0.6669 GB, free: 1.23 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.961e-05/0.8745, allocations: 11.94 kB / 0.6669 GB, free: 1.219 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.147e-05/0.8745, allocations: 11.91 kB / 0.6669 GB, free: 1.207 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02057/0.8951, allocations: 9.257 MB / 0.676 GB, free: 7.883 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.25e-05/0.8952, allocations: 4 kB / 0.676 GB, free: 7.879 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001763/0.8969, allocations: 363.4 kB / 0.6763 GB, free: 7.523 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002774/0.8997, allocations: 0.9868 MB / 0.6773 GB, free: 6.531 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003175/0.9001, allocations: 32 kB / 0.6773 GB, free: 6.5 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009903/0.91, allocations: 7.685 MB / 0.6848 GB, free: 14.54 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.835e-06/0.91, allocations: 8 kB / 0.6848 GB, free: 14.53 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01215/0.9222, allocations: 6.743 MB / 0.6914 GB, free: 7.727 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003976/0.9262, allocations: 0.8306 MB / 0.6922 GB, free: 6.871 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001466/0.9277, allocations: 31.98 kB / 0.6922 GB, free: 6.84 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002441/0.9302, allocations: 111.8 kB / 0.6924 GB, free: 6.73 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003536/0.9306, allocations: 109.2 kB / 0.6925 GB, free: 6.625 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000154/0.9307, allocations: 64.77 kB / 0.6925 GB, free: 6.562 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.007145/0.9379, allocations: 3.733 MB / 0.6962 GB, free: 2.852 MB / 494.1 MB Notification: Performance of sort global known variables: time 9.22e-07/0.9379, allocations: 0 / 0.6962 GB, free: 2.852 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.008973/0.9469, allocations: 1.277 MB / 0.6974 GB, free: 1.582 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * 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 (154): * Single equations (assignments): 149 * 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,10,100.0%), (1,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006073/0.9476, allocations: 160.1 kB / 0.6976 GB, free: 1.422 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01156/0.9591, allocations: 6.254 MB / 0.7037 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 9.237e-06/0.9592, allocations: 0 / 0.7037 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.002777/0.962, allocations: 1.882 MB / 0.7055 GB, free: 9.273 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004159/0.9662, allocations: 0.6284 MB / 0.7061 GB, free: 8.664 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02474/0.9909, allocations: 11.74 MB / 0.7176 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006377/0.9974, allocations: 4.017 MB / 0.7215 GB, free: 8.828 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.006226/1.004, allocations: 2.294 MB / 0.7237 GB, free: 6.523 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001335/1.005, allocations: 315.4 kB / 0.7241 GB, free: 6.215 MB / 0.5137 GB Notification: Performance of SimCode: time 1.332e-06/1.005, allocations: 0 / 0.7241 GB, free: 6.215 MB / 0.5137 GB Notification: Performance of Templates: time 0.3561/1.361, allocations: 42.23 MB / 0.7653 GB, free: 160.9 MB / 0.5137 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/FrameForces/FrameForces.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches