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.001161/0.001161, allocations: 109.8 kB / 17.78 MB, free: 5.266 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.001306/0.001306, allocations: 183.9 kB / 18.71 MB, free: 4.34 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.354/1.354, allocations: 222.9 MB / 242.4 MB, free: 15.06 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.2039/0.2039, allocations: 44.19 MB / 336.7 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 63.91 kB / 470.5 MB, free: 13.17 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.385/0.3863, allocations: 60.81 MB / 0.5189 GB, free: 3.617 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.01497/0.4014, allocations: 12.87 MB / 0.5315 GB, free: 10.42 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01043/0.4118, allocations: 4.512 MB / 0.5359 GB, free: 6.879 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003451/0.4153, allocations: 87.5 kB / 0.536 GB, free: 6.863 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007855/0.4232, allocations: 3.733 MB / 0.5396 GB, free: 4.363 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007561/0.4308, allocations: 2.254 MB / 0.5418 GB, free: 2.75 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00268/0.4335, allocations: 0.9997 MB / 0.5428 GB, free: 2.082 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01201/0.4456, allocations: 6.026 MB / 0.5487 GB, free: 13.52 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005781/0.4514, allocations: 4.594 MB / 0.5532 GB, free: 8.859 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003944/0.4554, allocations: 1.99 MB / 0.5551 GB, free: 6.863 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004464/0.4599, allocations: 2.652 MB / 0.5577 GB, free: 4.203 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001608/0.4615, allocations: 420 kB / 0.5581 GB, free: 3.793 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004231/0.4657, allocations: 1.455 MB / 0.5595 GB, free: 2.336 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003778/0.4695, allocations: 2.49 MB / 0.5619 GB, free: 15.84 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004554/0.4741, allocations: 2.785 MB / 0.5647 GB, free: 13.04 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01268/0.4868, allocations: 8.918 MB / 0.5734 GB, free: 4.086 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.727e-06/0.4869, allocations: 0 / 0.5734 GB, free: 4.086 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.605e-06/0.4869, allocations: 0 / 0.5734 GB, free: 4.086 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004139/0.4873, allocations: 0 / 0.5734 GB, free: 4.086 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.01635/0.5037, allocations: 6.295 MB / 0.5795 GB, free: 13.71 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.5038, allocations: 8.031 kB / 0.5795 GB, free: 13.7 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01232/0.5161, allocations: 2.626 MB / 0.5821 GB, free: 11.07 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009693/0.5258, allocations: 3.853 MB / 0.5858 GB, free: 7.164 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003006/0.5262, allocations: 283.7 kB / 0.5861 GB, free: 6.887 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001738/0.5279, allocations: 387.7 kB / 0.5865 GB, free: 6.508 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02783/0.5558, allocations: 11.97 MB / 0.5982 GB, free: 9.68 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002864/0.5561, allocations: 63.45 kB / 0.5982 GB, free: 9.617 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001519/0.5576, allocations: 183.8 kB / 0.5984 GB, free: 9.438 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004461/0.5621, allocations: 2.268 MB / 0.6006 GB, free: 7.168 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02334/0.5855, allocations: 9.935 MB / 0.6103 GB, free: 13.22 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06598/0.6515, allocations: 46.55 MB / 0.6558 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01027/0.6618, allocations: 3.927 MB / 0.6596 GB, free: 9.293 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002942/0.6648, allocations: 2.17 MB / 0.6617 GB, free: 7.109 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01121/0.676, allocations: 6.545 MB / 0.6681 GB, free: 480 kB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.263e-05/0.6761, allocations: 51.5 kB / 0.6682 GB, free: 420 kB / 0.5137 GB Notification: Performance of pre-optimization done (n=154): time 3.597e-06/0.6761, allocations: 0 / 0.6682 GB, free: 420 kB / 0.5137 GB Notification: Performance of matching and sorting (n=166): time 0.04658/0.7227, allocations: 16.88 MB / 0.6847 GB, free: 15.43 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001327/0.7229, allocations: 204.9 kB / 0.6849 GB, free: 15.18 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009425/0.7323, allocations: 5.669 MB / 0.6904 GB, free: 9.535 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0003183/0.7327, allocations: 45.7 kB / 0.6905 GB, free: 9.484 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.003101/0.7358, allocations: 3.923 MB / 0.6943 GB, free: 5.527 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001003/0.7368, allocations: 0.698 MB / 0.695 GB, free: 4.824 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002657/0.7395, allocations: 1.444 MB / 0.6964 GB, free: 3.371 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001033/0.7396, allocations: 309.1 kB / 0.6967 GB, free: 3.066 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003864/0.7435, allocations: 2.321 MB / 0.6989 GB, free: 0.7422 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00647/0.75, allocations: 6.627 MB / 0.7054 GB, free: 7.977 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01012/0.7601, allocations: 9.619 MB / 0.7148 GB, free: 12.22 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001108/0.7602, allocations: 51.94 kB / 0.7149 GB, free: 12.17 MB / 0.5762 GB Notification: Performance of matching and sorting (n=908) (initialization): time 0.01625/0.7765, allocations: 9.692 MB / 0.7243 GB, free: 2.469 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001088/0.7766, allocations: 72 kB / 0.7244 GB, free: 2.398 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001892/0.7768, allocations: 152 kB / 0.7245 GB, free: 2.25 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003018/0.7799, allocations: 1.208 MB / 0.7257 GB, free: 1.035 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.2886/1.068, allocations: 1.581 MB / 0.7273 GB, free: 176.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0104/1.079, allocations: 8.335 MB / 0.7354 GB, free: 172.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005452/1.084, allocations: 366.5 kB / 0.7357 GB, free: 172.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001207/1.086, allocations: 429 kB / 0.7362 GB, free: 172.7 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.005207/1.091, allocations: 2.515 MB / 0.7386 GB, free: 171.8 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001101/1.092, allocations: 488.1 kB / 0.7391 GB, free: 171.8 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006578/1.099, allocations: 3.437 MB / 0.7424 GB, free: 170.6 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.743e-05/1.099, allocations: 18.88 kB / 0.7424 GB, free: 170.6 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.345e-05/1.099, allocations: 6.625 kB / 0.7425 GB, free: 170.6 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.574e-05/1.099, allocations: 8.719 kB / 0.7425 GB, free: 170.6 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01392/1.113, allocations: 8.269 MB / 0.7505 GB, free: 167.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.255e-05/1.113, allocations: 3.719 kB / 0.7505 GB, free: 167.8 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001259/1.114, allocations: 300.6 kB / 0.7508 GB, free: 167.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002334/1.116, allocations: 0.9866 MB / 0.7518 GB, free: 167.6 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001214/1.116, allocations: 29.19 kB / 0.7518 GB, free: 167.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006873/1.123, allocations: 7.692 MB / 0.7593 GB, free: 162.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/1.123, allocations: 7.859 kB / 0.7593 GB, free: 162.7 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007312/1.131, allocations: 5.896 MB / 0.7651 GB, free: 159.7 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001207/1.132, allocations: 0.5477 MB / 0.7656 GB, free: 159.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005128/1.132, allocations: 36.11 kB / 0.7657 GB, free: 159.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001447/1.134, allocations: 90.03 kB / 0.7658 GB, free: 159.3 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002316/1.134, allocations: 94.81 kB / 0.7658 GB, free: 159.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001023/1.134, allocations: 50.48 kB / 0.7659 GB, free: 159.3 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.004174/1.138, allocations: 3.622 MB / 0.7694 GB, free: 156.5 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.8e-07/1.138, allocations: 0 / 0.7694 GB, free: 156.5 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.004902/1.143, allocations: 1.183 MB / 0.7706 GB, free: 155.3 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.0003743/1.144, allocations: 168.6 kB / 0.7707 GB, free: 155.1 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.006403/1.15, allocations: 5.614 MB / 0.7762 GB, free: 149.6 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/1.15, allocations: 192 / 0.7762 GB, free: 149.6 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001618/1.152, allocations: 1.626 MB / 0.7778 GB, free: 147.9 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003154/1.155, allocations: 0.616 MB / 0.7784 GB, free: 147.3 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01396/1.169, allocations: 11.14 MB / 0.7893 GB, free: 136.2 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00328/1.172, allocations: 3.85 MB / 0.7931 GB, free: 132.3 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.004517/1.177, allocations: 2.141 MB / 0.7951 GB, free: 130.2 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009905/1.178, allocations: 299.4 kB / 0.7954 GB, free: 129.9 MB / 0.5762 GB Notification: Performance of SimCode: time 1.092e-06/1.178, allocations: 4 kB / 0.7954 GB, free: 129.9 MB / 0.5762 GB Notification: Performance of Templates: time 0.07027/1.248, allocations: 42.02 MB / 0.8365 GB, free: 88.16 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