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.001356/0.001356, allocations: 109.3 kB / 18.45 MB, free: 4.578 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.00145/0.00145, allocations: 183 kB / 19.38 MB, free: 3.66 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.284/1.284, allocations: 222.9 MB / 243.1 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.2024/0.2024, allocations: 44.19 MB / 337.4 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001311/0.001311, allocations: 63.89 kB / 471.2 MB, free: 13.17 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.304/0.3054, allocations: 60.81 MB / 0.5196 GB, free: 3.613 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.01387/0.3193, allocations: 12.87 MB / 0.5321 GB, free: 10.43 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01074/0.3301, allocations: 4.509 MB / 0.5365 GB, free: 6.891 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003055/0.3332, allocations: 86.81 kB / 0.5366 GB, free: 6.875 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007441/0.3406, allocations: 3.734 MB / 0.5403 GB, free: 4.375 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006913/0.3476, allocations: 2.253 MB / 0.5425 GB, free: 2.762 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002805/0.3505, allocations: 1.008 MB / 0.5435 GB, free: 2.086 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.009117/0.3596, allocations: 6.031 MB / 0.5493 GB, free: 13.5 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006127/0.3658, allocations: 4.587 MB / 0.5538 GB, free: 8.84 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003511/0.3693, allocations: 1.99 MB / 0.5558 GB, free: 6.844 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003987/0.3733, allocations: 2.656 MB / 0.5584 GB, free: 4.18 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001387/0.3748, allocations: 412 kB / 0.5587 GB, free: 3.777 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003426/0.3782, allocations: 1.463 MB / 0.5602 GB, free: 2.312 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003009/0.3812, allocations: 2.509 MB / 0.5626 GB, free: 15.8 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004422/0.3857, allocations: 2.788 MB / 0.5654 GB, free: 12.99 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01057/0.3963, allocations: 8.872 MB / 0.574 GB, free: 4.09 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.415e-06/0.3963, allocations: 4 kB / 0.574 GB, free: 4.086 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.245e-06/0.3963, allocations: 0 / 0.574 GB, free: 4.086 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003035/0.3967, allocations: 0 / 0.574 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.01461/0.4113, allocations: 6.134 MB / 0.58 GB, free: 13.88 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.67e-05/0.4113, allocations: 8.031 kB / 0.58 GB, free: 13.87 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01219/0.4235, allocations: 2.599 MB / 0.5826 GB, free: 11.26 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008224/0.4318, allocations: 3.832 MB / 0.5863 GB, free: 7.375 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002608/0.4321, allocations: 283.6 kB / 0.5866 GB, free: 7.098 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001334/0.4334, allocations: 383.6 kB / 0.5869 GB, free: 6.723 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02279/0.4562, allocations: 11.98 MB / 0.5986 GB, free: 9.887 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002183/0.4565, allocations: 55.47 kB / 0.5987 GB, free: 9.832 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001152/0.4577, allocations: 183.8 kB / 0.5989 GB, free: 9.652 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003947/0.4616, allocations: 2.268 MB / 0.6011 GB, free: 7.383 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02008/0.4817, allocations: 9.931 MB / 0.6108 GB, free: 13.43 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05516/0.5369, allocations: 46.47 MB / 0.6562 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01017/0.5472, allocations: 3.921 MB / 0.66 GB, free: 9.586 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002925/0.5501, allocations: 2.166 MB / 0.6621 GB, free: 7.406 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01128/0.5614, allocations: 6.535 MB / 0.6685 GB, free: 0.7734 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.723e-05/0.5615, allocations: 51.5 kB / 0.6685 GB, free: 0.7148 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=154): time 4.639e-06/0.5615, allocations: 0 / 0.6685 GB, free: 0.7148 MB / 0.5137 GB Notification: Performance of matching and sorting (n=166): time 0.04671/0.6083, allocations: 16.59 MB / 0.6847 GB, free: 15.99 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001077/0.6084, allocations: 200.9 kB / 0.6849 GB, free: 15.75 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009977/0.6184, allocations: 5.668 MB / 0.6905 GB, free: 10.11 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0003911/0.6188, allocations: 49.7 kB / 0.6905 GB, free: 10.05 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.00319/0.622, allocations: 3.779 MB / 0.6942 GB, free: 6.227 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001135/0.6232, allocations: 0.6753 MB / 0.6949 GB, free: 5.543 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00342/0.6266, allocations: 1.423 MB / 0.6962 GB, free: 4.109 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001058/0.6268, allocations: 305.1 kB / 0.6965 GB, free: 3.809 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00384/0.6306, allocations: 2.325 MB / 0.6988 GB, free: 1.48 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007126/0.6378, allocations: 6.627 MB / 0.7053 GB, free: 8.711 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01136/0.6491, allocations: 9.623 MB / 0.7147 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002005/0.6494, allocations: 44 kB / 0.7147 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of matching and sorting (n=908) (initialization): time 0.01966/0.6691, allocations: 9.669 MB / 0.7242 GB, free: 3.23 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001846/0.6693, allocations: 75.98 kB / 0.7242 GB, free: 3.156 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002525/0.6696, allocations: 152 kB / 0.7244 GB, free: 3.008 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003337/0.6729, allocations: 1.2 MB / 0.7255 GB, free: 1.801 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005266/0.6782, allocations: 1.587 MB / 0.7271 GB, free: 216 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2816/0.9599, allocations: 8.327 MB / 0.7352 GB, free: 172.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005265/0.9652, allocations: 378.2 kB / 0.7356 GB, free: 172.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001356/0.9666, allocations: 420.5 kB / 0.736 GB, free: 172.4 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.005601/0.9722, allocations: 2.52 MB / 0.7385 GB, free: 171.5 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001232/0.9734, allocations: 465.8 kB / 0.7389 GB, free: 171.5 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007035/0.9805, allocations: 3.434 MB / 0.7422 GB, free: 170.3 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.621e-05/0.9806, allocations: 18.69 kB / 0.7423 GB, free: 170.3 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.294e-05/0.9806, allocations: 5.219 kB / 0.7423 GB, free: 170.3 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.317e-05/0.9806, allocations: 9.031 kB / 0.7423 GB, free: 170.3 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01744/0.9981, allocations: 8.268 MB / 0.7504 GB, free: 167.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.356e-05/0.9981, allocations: 3.969 kB / 0.7504 GB, free: 167.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001398/0.9995, allocations: 297 kB / 0.7506 GB, free: 167.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00251/1.002, allocations: 0.9832 MB / 0.7516 GB, free: 167.3 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002015/1.002, allocations: 35.19 kB / 0.7516 GB, free: 167.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007351/1.01, allocations: 7.677 MB / 0.7591 GB, free: 162.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.04e-06/1.01, allocations: 6.719 kB / 0.7591 GB, free: 162.6 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008295/1.018, allocations: 5.87 MB / 0.7649 GB, free: 159.7 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001526/1.02, allocations: 0.5251 MB / 0.7654 GB, free: 159.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001158/1.021, allocations: 35.16 kB / 0.7654 GB, free: 159.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002176/1.023, allocations: 93.5 kB / 0.7655 GB, free: 159.4 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003111/1.023, allocations: 93.44 kB / 0.7656 GB, free: 159.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001305/1.023, allocations: 47.86 kB / 0.7656 GB, free: 159.3 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.006407/1.03, allocations: 3.618 MB / 0.7692 GB, free: 157.3 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7.21e-07/1.03, allocations: 6.844 kB / 0.7692 GB, free: 157.3 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.007073/1.037, allocations: 1.184 MB / 0.7703 GB, free: 156.1 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.000643/1.038, allocations: 161.5 kB / 0.7705 GB, free: 155.9 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.007882/1.046, allocations: 5.615 MB / 0.776 GB, free: 150.4 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 8.917e-06/1.046, allocations: 0 / 0.776 GB, free: 150.4 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001999/1.048, allocations: 1.622 MB / 0.7776 GB, free: 148.8 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004826/1.052, allocations: 0.6241 MB / 0.7782 GB, free: 148.2 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01962/1.072, allocations: 11.46 MB / 0.7894 GB, free: 136.7 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005234/1.077, allocations: 3.834 MB / 0.7931 GB, free: 132.8 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00119/1.079, allocations: 343.4 kB / 0.7934 GB, free: 132.5 MB / 0.5762 GB Notification: Performance of SimCode: time 9.02e-07/1.079, allocations: 0 / 0.7934 GB, free: 132.5 MB / 0.5762 GB Notification: Performance of Templates: time 0.1229/1.202, allocations: 115.2 MB / 0.9059 GB, free: 17.39 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/FrameForces/FrameForces.csv","/var/lib/jenkins1/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