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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00102/0.00102, allocations: 110.4 kB / 17.78 MB, free: 5.312 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.0009581/0.000958, allocations: 187.1 kB / 18.71 MB, free: 4.387 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.269/1.269, allocations: 222.9 MB / 242.4 MB, free: 15.19 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.2081/0.2081, allocations: 44.19 MB / 336.7 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001206/0.001206, allocations: 59.91 kB / 470.5 MB, free: 13.17 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.376/0.3772, allocations: 60.82 MB / 0.5189 GB, free: 3.605 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.01287/0.3901, allocations: 12.86 MB / 0.5315 GB, free: 10.43 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01058/0.4008, allocations: 4.513 MB / 0.5359 GB, free: 6.883 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003522/0.4043, allocations: 86.78 kB / 0.536 GB, free: 6.867 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006885/0.4112, allocations: 3.734 MB / 0.5396 GB, free: 4.367 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00574/0.4171, allocations: 2.257 MB / 0.5418 GB, free: 2.75 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002111/0.4192, allocations: 1.001 MB / 0.5428 GB, free: 2.082 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.007659/0.4269, allocations: 6.024 MB / 0.5487 GB, free: 13.55 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004546/0.4314, allocations: 4.598 MB / 0.5532 GB, free: 8.879 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002541/0.434, allocations: 1.99 MB / 0.5551 GB, free: 6.883 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002994/0.437, allocations: 2.66 MB / 0.5577 GB, free: 4.215 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006528/0.4377, allocations: 416 kB / 0.5581 GB, free: 3.809 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002223/0.4399, allocations: 1.459 MB / 0.5595 GB, free: 2.348 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001909/0.4418, allocations: 2.505 MB / 0.562 GB, free: 15.84 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002353/0.4442, allocations: 2.788 MB / 0.5647 GB, free: 13.03 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007771/0.452, allocations: 8.876 MB / 0.5734 GB, free: 4.125 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.452, allocations: 0 / 0.5734 GB, free: 4.125 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.452, allocations: 0 / 0.5734 GB, free: 4.125 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001643/0.4522, allocations: 0 / 0.5734 GB, free: 4.125 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: 1784 * Number of variables: 1784 Notification: Performance of Generate backend data structure: time 0.0105/0.4627, allocations: 6.13 MB / 0.5793 GB, free: 13.92 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.4627, allocations: 12.03 kB / 0.5794 GB, free: 13.91 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01091/0.4737, allocations: 2.595 MB / 0.5819 GB, free: 11.3 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007624/0.4813, allocations: 3.836 MB / 0.5856 GB, free: 7.414 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002028/0.4815, allocations: 279.7 kB / 0.5859 GB, free: 7.141 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009321/0.4825, allocations: 391.6 kB / 0.5863 GB, free: 6.758 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01856/0.501, allocations: 11.98 MB / 0.598 GB, free: 9.926 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001312/0.5012, allocations: 51.53 kB / 0.598 GB, free: 9.875 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004274/0.5016, allocations: 183.8 kB / 0.5982 GB, free: 9.695 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003494/0.5051, allocations: 2.272 MB / 0.6004 GB, free: 7.422 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01812/0.5233, allocations: 9.931 MB / 0.6101 GB, free: 13.48 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05868/0.582, allocations: 46.46 MB / 0.6555 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01026/0.5923, allocations: 3.925 MB / 0.6593 GB, free: 9.625 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002965/0.5953, allocations: 2.162 MB / 0.6614 GB, free: 7.449 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01089/0.6062, allocations: 6.531 MB / 0.6678 GB, free: 0.8203 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.637e-05/0.6063, allocations: 51.5 kB / 0.6679 GB, free: 0.7617 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=154): time 5.029e-06/0.6063, allocations: 0 / 0.6679 GB, free: 0.7617 MB / 0.5137 GB Notification: Performance of matching and sorting (n=166): time 0.046/0.6523, allocations: 16.59 MB / 0.6841 GB, free: 40 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001232/0.6525, allocations: 200.8 kB / 0.6843 GB, free: 15.8 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007488/0.66, allocations: 5.668 MB / 0.6898 GB, free: 10.15 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0003441/0.6603, allocations: 49.7 kB / 0.6898 GB, free: 10.1 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.002657/0.663, allocations: 3.779 MB / 0.6935 GB, free: 6.27 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008636/0.6639, allocations: 0.6753 MB / 0.6942 GB, free: 5.586 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001797/0.6657, allocations: 1.423 MB / 0.6956 GB, free: 4.152 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001019/0.6658, allocations: 309.1 kB / 0.6959 GB, free: 3.848 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003081/0.6689, allocations: 2.317 MB / 0.6981 GB, free: 1.527 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00595/0.6748, allocations: 6.627 MB / 0.7046 GB, free: 8.758 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0107/0.6856, allocations: 9.633 MB / 0.714 GB, free: 12.99 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001205/0.6857, allocations: 44 kB / 0.7141 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of matching and sorting (n=908) (initialization): time 0.01773/0.7035, allocations: 9.666 MB / 0.7235 GB, free: 3.27 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 9.838e-05/0.7036, allocations: 68 kB / 0.7236 GB, free: 3.203 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001902/0.7038, allocations: 152 kB / 0.7237 GB, free: 3.055 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003201/0.707, allocations: 1.208 MB / 0.7249 GB, free: 1.84 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005067/0.7121, allocations: 1.583 MB / 0.7264 GB, free: 260 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3139/1.026, allocations: 8.33 MB / 0.7346 GB, free: 173.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005331/1.031, allocations: 371.8 kB / 0.7349 GB, free: 173.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009847/1.032, allocations: 420.6 kB / 0.7353 GB, free: 173.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 (frameForce2.arrow.arrowLine.twoHeadedArrow,frameForce2.arrow.headAtOrigin,frameForce1.arrow.arrowLine.twoHeadedArrow,frameForce1.arrow.headAtOrigin,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 (848): * Single equations (assignments): 841 * 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%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003948/1.036, allocations: 2.519 MB / 0.7378 GB, free: 172.5 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009011/1.037, allocations: 463.7 kB / 0.7382 GB, free: 172.5 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00603/1.043, allocations: 3.435 MB / 0.7416 GB, free: 171.4 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.483e-05/1.043, allocations: 22.34 kB / 0.7416 GB, free: 171.4 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.581e-05/1.043, allocations: 5.406 kB / 0.7416 GB, free: 171.4 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.915e-05/1.043, allocations: 8.562 kB / 0.7416 GB, free: 171.4 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01564/1.059, allocations: 8.27 MB / 0.7497 GB, free: 168.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.451e-05/1.059, allocations: 3.406 kB / 0.7497 GB, free: 168.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001336/1.06, allocations: 303.9 kB / 0.75 GB, free: 168.6 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002403/1.063, allocations: 0.9788 MB / 0.7509 GB, free: 168.4 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001334/1.063, allocations: 34.08 kB / 0.751 GB, free: 168.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007249/1.07, allocations: 7.683 MB / 0.7585 GB, free: 163.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-06/1.07, allocations: 3.938 kB / 0.7585 GB, free: 163.7 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007467/1.078, allocations: 5.87 MB / 0.7642 GB, free: 160.8 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001573/1.079, allocations: 0.5269 MB / 0.7647 GB, free: 160.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005429/1.08, allocations: 27.62 kB / 0.7648 GB, free: 160.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001423/1.081, allocations: 95.27 kB / 0.7648 GB, free: 160.5 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002398/1.082, allocations: 98.41 kB / 0.7649 GB, free: 160.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001035/1.082, allocations: 57.56 kB / 0.765 GB, free: 160.4 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.00438/1.086, allocations: 3.616 MB / 0.7685 GB, free: 158.6 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.31e-07/1.086, allocations: 0 / 0.7685 GB, free: 158.6 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.005298/1.091, allocations: 1.182 MB / 0.7697 GB, free: 157.5 MB / 0.5762 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 () * Number of clocked 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 (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.0003926/1.092, allocations: 170.5 kB / 0.7698 GB, free: 157.4 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.006608/1.098, allocations: 5.604 MB / 0.7753 GB, free: 151.8 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.014e-06/1.099, allocations: 4 kB / 0.7753 GB, free: 151.8 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.00162/1.1, allocations: 1.626 MB / 0.7769 GB, free: 150.2 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003236/1.103, allocations: 0.614 MB / 0.7775 GB, free: 149.6 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01487/1.118, allocations: 10.97 MB / 0.7882 GB, free: 138.6 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003593/1.122, allocations: 3.85 MB / 0.792 GB, free: 134.7 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.003976/1.126, allocations: 2.139 MB / 0.7941 GB, free: 132.6 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007378/1.127, allocations: 295.4 kB / 0.7943 GB, free: 132.3 MB / 0.5762 GB Notification: Performance of SimCode: time 1.693e-06/1.127, allocations: 0 / 0.7943 GB, free: 132.3 MB / 0.5762 GB Notification: Performance of Templates: time 0.06699/1.194, allocations: 41.99 MB / 0.8354 GB, free: 90.68 MB / 0.5762 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches