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.001479/0.001479, allocations: 110.1 kB / 18.3 MB, free: 4.84 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.001781/0.001781, allocations: 199.3 kB / 19.23 MB, free: 3.914 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.351/1.351, allocations: 222.9 MB / 242.9 MB, free: 15.16 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.2105/0.2105, allocations: 44.17 MB / 337.3 MB, free: 2.762 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 61.06 kB / 409.1 MB, free: 27.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1027/0.104, allocations: 60.83 MB / 469.9 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.0134/0.1174, allocations: 12.86 MB / 482.8 MB, free: 1.465 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009539/0.127, allocations: 4.528 MB / 487.3 MB, free: 12.92 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002671/0.1297, allocations: 83.75 kB / 487.4 MB, free: 12.84 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007057/0.1368, allocations: 3.734 MB / 491.1 MB, free: 9.094 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006231/0.1431, allocations: 2.253 MB / 493.4 MB, free: 6.832 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002378/0.1455, allocations: 0.9981 MB / 494.4 MB, free: 5.832 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.008317/0.1538, allocations: 6.023 MB / 0.4887 GB, free: 15.8 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006252/0.1601, allocations: 4.604 MB / 0.4932 GB, free: 11.12 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0037/0.1638, allocations: 1.99 MB / 0.4951 GB, free: 9.129 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004145/0.168, allocations: 2.644 MB / 0.4977 GB, free: 6.477 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001385/0.1694, allocations: 419.9 kB / 0.4981 GB, free: 6.066 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003228/0.1727, allocations: 1.459 MB / 0.4995 GB, free: 4.605 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003105/0.1758, allocations: 2.486 MB / 0.5019 GB, free: 2.113 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.2124/0.3882, allocations: 2.788 MB / 0.5047 GB, free: 21.06 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01433/0.4026, allocations: 8.602 MB / 0.5131 GB, free: 20.5 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.061e-05/0.4026, allocations: 1.75 kB / 0.5131 GB, free: 20.5 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.126e-06/0.4026, allocations: 1.531 kB / 0.5131 GB, free: 20.5 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003984/0.4031, allocations: 1.25 kB / 0.5131 GB, free: 20.5 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: 1784 * Number of variables: 1784 Notification: Performance of Generate backend data structure: time 0.02257/0.4256, allocations: 6.127 MB / 0.5191 GB, free: 18.11 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.167e-05/0.4257, allocations: 9.812 kB / 0.5191 GB, free: 18.11 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.014/0.4397, allocations: 2.591 MB / 0.5216 GB, free: 17.76 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01098/0.4507, allocations: 3.764 MB / 0.5253 GB, free: 17.04 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003996/0.4512, allocations: 287.3 kB / 0.5255 GB, free: 17.04 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002481/0.4537, allocations: 380.5 kB / 0.5259 GB, free: 17.03 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02401/0.4777, allocations: 11.98 MB / 0.5376 GB, free: 10.38 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002155/0.4779, allocations: 51.28 kB / 0.5377 GB, free: 10.37 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001152/0.4791, allocations: 178 kB / 0.5378 GB, free: 10.29 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003593/0.4827, allocations: 2.276 MB / 0.54 GB, free: 9.434 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02005/0.5028, allocations: 9.927 MB / 0.5497 GB, free: 1.77 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06436/0.5672, allocations: 46.67 MB / 0.5953 GB, free: 2.441 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01083/0.5781, allocations: 3.931 MB / 0.5992 GB, free: 14.36 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003071/0.5812, allocations: 2.17 MB / 0.6013 GB, free: 12.18 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01217/0.5934, allocations: 6.532 MB / 0.6077 GB, free: 5.594 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.161e-05/0.5935, allocations: 47.56 kB / 0.6077 GB, free: 5.539 MB / 446.1 MB Notification: Performance of pre-optimization done (n=154): time 3.988e-06/0.5935, allocations: 0 / 0.6077 GB, free: 5.539 MB / 446.1 MB Notification: Performance of matching and sorting (n=166): time 0.04751/0.641, allocations: 16.58 MB / 0.6239 GB, free: 4.871 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.785e-05/0.6411, allocations: 200.4 kB / 0.6241 GB, free: 4.637 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009583/0.6507, allocations: 5.664 MB / 0.6296 GB, free: 14.99 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005274/0.6513, allocations: 52.98 kB / 0.6297 GB, free: 14.94 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003307/0.6546, allocations: 3.78 MB / 0.6334 GB, free: 11.16 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001094/0.6557, allocations: 0.6764 MB / 0.634 GB, free: 10.49 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002376/0.6581, allocations: 1.423 MB / 0.6354 GB, free: 9.062 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001198/0.6582, allocations: 313 kB / 0.6357 GB, free: 8.754 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00368/0.6619, allocations: 2.317 MB / 0.638 GB, free: 6.434 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006943/0.6689, allocations: 6.619 MB / 0.6444 GB, free: 13.75 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01162/0.6805, allocations: 9.633 MB / 0.6538 GB, free: 2.613 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001384/0.6807, allocations: 44 kB / 0.6539 GB, free: 2.57 MB / 494.1 MB Notification: Performance of matching and sorting (n=908) (initialization): time 0.0204/0.7011, allocations: 9.669 MB / 0.6633 GB, free: 9.199 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001122/0.7013, allocations: 75.97 kB / 0.6634 GB, free: 9.125 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001989/0.7015, allocations: 152 kB / 0.6635 GB, free: 8.977 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003423/0.7049, allocations: 1.221 MB / 0.6647 GB, free: 7.75 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005408/0.7103, allocations: 1.583 MB / 0.6663 GB, free: 6.164 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01008/0.7204, allocations: 8.34 MB / 0.6744 GB, free: 13.56 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005994/0.7265, allocations: 370.2 kB / 0.6748 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001215/0.7277, allocations: 428 kB / 0.6752 GB, free: 12.78 MB / 0.5137 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.004843/0.7326, allocations: 2.514 MB / 0.6776 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009768/0.7335, allocations: 461.9 kB / 0.6781 GB, free: 9.797 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006511/0.7401, allocations: 3.429 MB / 0.6814 GB, free: 6.352 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.556e-05/0.7401, allocations: 23.44 kB / 0.6815 GB, free: 6.332 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.509e-05/0.7402, allocations: 7.938 kB / 0.6815 GB, free: 6.324 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.84e-05/0.7402, allocations: 7.969 kB / 0.6815 GB, free: 6.316 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01684/0.757, allocations: 8.308 MB / 0.6896 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-05/0.7571, allocations: 0 / 0.6896 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001516/0.7586, allocations: 307.8 kB / 0.6899 GB, free: 13.65 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002849/0.7615, allocations: 0.9809 MB / 0.6908 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001986/0.7617, allocations: 36 kB / 0.6909 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009025/0.7707, allocations: 7.676 MB / 0.6984 GB, free: 4.672 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/0.7707, allocations: 4 kB / 0.6984 GB, free: 4.668 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2433/1.014, allocations: 5.874 MB / 0.7041 GB, free: 184.6 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001705/1.016, allocations: 0.5188 MB / 0.7046 GB, free: 184.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008559/1.017, allocations: 31.44 kB / 0.7046 GB, free: 184.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001699/1.018, allocations: 92.61 kB / 0.7047 GB, free: 184.5 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003074/1.019, allocations: 97.8 kB / 0.7048 GB, free: 184.5 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001315/1.019, allocations: 45.27 kB / 0.7049 GB, free: 184.5 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.006671/1.025, allocations: 3.621 MB / 0.7084 GB, free: 184.3 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.362e-06/1.025, allocations: 1.875 kB / 0.7084 GB, free: 184.3 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.006847/1.032, allocations: 1.181 MB / 0.7096 GB, free: 184.3 MB / 0.5294 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.0004997/1.033, allocations: 169.2 kB / 0.7097 GB, free: 184.2 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.009878/1.043, allocations: 6.325 MB / 0.7159 GB, free: 182.3 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 8.466e-06/1.043, allocations: 0 / 0.7159 GB, free: 182.3 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.002067/1.045, allocations: 1.622 MB / 0.7175 GB, free: 181.6 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004608/1.049, allocations: 0.6217 MB / 0.7181 GB, free: 181.4 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01898/1.068, allocations: 11.62 MB / 0.7294 GB, free: 176.3 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003712/1.072, allocations: 3.832 MB / 0.7332 GB, free: 174.6 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00116/1.073, allocations: 342.9 kB / 0.7335 GB, free: 174.2 MB / 0.5294 GB Notification: Performance of SimCode: time 1.282e-06/1.073, allocations: 0 / 0.7335 GB, free: 174.2 MB / 0.5294 GB Notification: Performance of Templates: time 0.1278/1.201, allocations: 114.3 MB / 0.8451 GB, free: 61.46 MB / 0.5294 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