Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces.conf.json 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001176/0.001175, allocations: 179.6 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.206/1.206, allocations: 221.4 MB / 236 MB, free: 2.953 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008743/0.0008743, allocations: 84.06 kB / 287 MB, free: 252 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1672/0.1672, allocations: 44.16 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.786e-05/2.788e-05, allocations: 4.219 kB / 451.8 MB, free: 9.434 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1155/0.1155, allocations: 61.91 MB / 0.5017 GB, free: 11.46 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3973/0.5129, allocations: 108.1 MB / 0.6073 GB, free: 13.17 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002488/0.5132, allocations: 79.95 kB / 0.6074 GB, free: 13.09 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2588/0.772, allocations: 108.1 MB / 0.7129 GB, free: 380 kB / 0.5105 GB Notification: Performance of FrontEnd: time 1.563e-06/0.772, allocations: 3.938 kB / 0.7129 GB, free: 376 kB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001903/0.7722, allocations: 108 kB / 0.713 GB, free: 268 kB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1784 * Number of variables: 1784 Notification: Performance of Generate backend data structure: time 0.2867/1.059, allocations: 5.132 MB / 0.718 GB, free: 114.2 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.179e-05/1.059, allocations: 7.875 kB / 0.718 GB, free: 114.2 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0287/1.088, allocations: 6.878 MB / 0.7248 GB, free: 113.8 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01734/1.105, allocations: 6.381 MB / 0.731 GB, free: 113.2 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005394/1.106, allocations: 379.5 kB / 0.7314 GB, free: 113.2 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002511/1.108, allocations: 0.5069 MB / 0.7318 GB, free: 113.2 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03126/1.139, allocations: 12.32 MB / 0.7439 GB, free: 109.9 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000533/1.14, allocations: 72.06 kB / 0.744 GB, free: 109.9 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002448/1.143, allocations: 249.7 kB / 0.7442 GB, free: 109.9 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001702/1.144, allocations: 1.132 MB / 0.7453 GB, free: 109.9 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01944/1.164, allocations: 9.656 MB / 0.7547 GB, free: 109.9 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0572/1.221, allocations: 56.33 MB / 0.8097 GB, free: 68.17 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009594/1.231, allocations: 4.32 MB / 0.814 GB, free: 66.57 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002127/1.233, allocations: 1.955 MB / 0.8159 GB, free: 65.73 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009597/1.242, allocations: 6.218 MB / 0.8219 GB, free: 62.68 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.57e-05/1.242, allocations: 49.66 kB / 0.822 GB, free: 62.62 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=154): time 6.492e-06/1.243, allocations: 0 / 0.822 GB, free: 62.62 MB / 0.5105 GB Notification: Performance of matching and sorting (n=166): time 0.03166/1.274, allocations: 12.09 MB / 0.8338 GB, free: 56.7 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.292e-05/1.274, allocations: 200.9 kB / 0.834 GB, free: 56.45 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008268/1.283, allocations: 4.95 MB / 0.8388 GB, free: 52.1 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0002813/1.283, allocations: 45.7 kB / 0.8389 GB, free: 52.05 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.002454/1.285, allocations: 3.867 MB / 0.8426 GB, free: 48.57 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007737/1.286, allocations: 0.6636 MB / 0.8433 GB, free: 47.99 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006077/1.287, allocations: 131.4 kB / 0.8434 GB, free: 47.86 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0005118/1.287, allocations: 0.5849 MB / 0.844 GB, free: 47.35 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002928/1.29, allocations: 1.952 MB / 0.8459 GB, free: 45.6 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004525/1.295, allocations: 6.233 MB / 0.852 GB, free: 37.6 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004246/1.299, allocations: 3.49 MB / 0.8554 GB, free: 34.61 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.351e-05/1.299, allocations: 44 kB / 0.8554 GB, free: 34.57 MB / 0.5105 GB Notification: Performance of matching and sorting (n=865) (initialization): time 0.0132/1.312, allocations: 8.299 MB / 0.8635 GB, free: 27.23 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 7.647e-05/1.312, allocations: 79.89 kB / 0.8636 GB, free: 27.16 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001202/1.313, allocations: 152 kB / 0.8637 GB, free: 27.01 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001122/1.314, allocations: 0.5873 MB / 0.8643 GB, free: 26.5 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003933/1.318, allocations: 1.492 MB / 0.8658 GB, free: 25.19 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004736/1.322, allocations: 5.6 MB / 0.8712 GB, free: 19.86 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004894/1.327, allocations: 338.5 kB / 0.8716 GB, free: 19.54 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007809/1.328, allocations: 415.8 kB / 0.872 GB, free: 19.14 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 697 * Number of states: 0 () * Number of discrete variables: 49 (FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[1],frameForce2.arrow.arrowLine.twoHeadedArrow,frameForce2.arrow.headAtOrigin,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.arrow.arrowLine.twoHeadedArrow,frameForce1.arrow.headAtOrigin,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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (815): * Single equations (assignments): 810 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008207/1.329, allocations: 0.6297 MB / 0.8726 GB, free: 18.51 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007012/1.33, allocations: 469.9 kB / 0.873 GB, free: 18.04 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003698/1.333, allocations: 2.445 MB / 0.8754 GB, free: 16.02 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.351e-05/1.333, allocations: 27.56 kB / 0.8754 GB, free: 16 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.775e-06/1.333, allocations: 4 kB / 0.8754 GB, free: 15.99 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.251e-05/1.333, allocations: 11.12 kB / 0.8755 GB, free: 15.99 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01052/1.344, allocations: 7.151 MB / 0.8824 GB, free: 10.16 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.35e-05/1.344, allocations: 7.938 kB / 0.8824 GB, free: 10.15 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000977/1.345, allocations: 229.2 kB / 0.8827 GB, free: 9.965 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000861/1.346, allocations: 337.1 kB / 0.883 GB, free: 9.711 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001039/1.346, allocations: 32 kB / 0.883 GB, free: 9.68 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004127/1.35, allocations: 4.938 MB / 0.8878 GB, free: 4.895 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.059e-06/1.35, allocations: 4.109 kB / 0.8878 GB, free: 4.891 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005643/1.356, allocations: 5.063 MB / 0.8928 GB, free: 96 kB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001698/1.357, allocations: 0.5301 MB / 0.8933 GB, free: 15.54 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005675/1.358, allocations: 35.7 kB / 0.8933 GB, free: 15.51 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001439/1.36, allocations: 67.92 kB / 0.8934 GB, free: 15.45 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002274/1.36, allocations: 99.86 kB / 0.8935 GB, free: 15.35 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000106/1.36, allocations: 48 kB / 0.8935 GB, free: 15.3 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.005596/1.365, allocations: 3.532 MB / 0.897 GB, free: 11.8 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.81e-07/1.365, allocations: 0 / 0.897 GB, free: 11.8 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.006771/1.372, allocations: 1.11 MB / 0.8981 GB, free: 10.69 MB / 0.5261 GB 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (126): * Single equations (assignments): 121 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 10,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004922/1.373, allocations: 177.5 kB / 0.8982 GB, free: 10.52 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.008207/1.381, allocations: 4.935 MB / 0.9031 GB, free: 5.594 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.013e-05/1.381, allocations: 4 kB / 0.9031 GB, free: 5.59 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001969/1.383, allocations: 1.401 MB / 0.9044 GB, free: 4.16 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003343/1.386, allocations: 0.5892 MB / 0.905 GB, free: 3.594 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2858/1.672, allocations: 8.697 MB / 0.9135 GB, free: 113 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005844/1.678, allocations: 3.963 MB / 0.9174 GB, free: 112.2 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.006668/1.685, allocations: 2.161 MB / 0.9195 GB, free: 112.2 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008839/1.686, allocations: 291.2 kB / 0.9198 GB, free: 112.2 MB / 0.5261 GB Notification: Performance of SimCode: time 1.372e-06/1.686, allocations: 1.812 kB / 0.9198 GB, free: 112.2 MB / 0.5261 GB Notification: Performance of Templates: time 0.07165/1.757, allocations: 39.8 MB / 0.9586 GB, free: 110.7 MB / 0.5261 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/FrameForces/FrameForces.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches