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.001325/0.001326, allocations: 107.1 kB / 18.39 MB, free: 4.629 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.001239/0.001239, allocations: 184.1 kB / 19.33 MB, free: 3.699 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.346/1.346, allocations: 222.9 MB / 243 MB, free: 15.07 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.18 MB / 337.4 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001501/0.001501, allocations: 70.48 kB / 409.9 MB, free: 26.51 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1172/0.1188, allocations: 60.83 MB / 470.7 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.01471/0.1335, allocations: 12.85 MB / 483.6 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01138/0.1449, allocations: 4.516 MB / 488.1 MB, free: 12.18 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002836/0.1478, allocations: 87.75 kB / 488.2 MB, free: 12.09 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007794/0.1556, allocations: 3.73 MB / 491.9 MB, free: 8.352 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007/0.1627, allocations: 2.26 MB / 494.1 MB, free: 6.082 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003033/0.1658, allocations: 0.9942 MB / 495.1 MB, free: 5.086 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.009862/0.1757, allocations: 6.027 MB / 0.4894 GB, free: 15.05 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007425/0.1831, allocations: 4.596 MB / 0.4939 GB, free: 10.38 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004114/0.1873, allocations: 1.986 MB / 0.4958 GB, free: 8.391 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005448/0.1928, allocations: 2.652 MB / 0.4984 GB, free: 5.73 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001823/0.1946, allocations: 420 kB / 0.4988 GB, free: 5.32 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003855/0.1985, allocations: 1.463 MB / 0.5003 GB, free: 3.855 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003822/0.2024, allocations: 2.49 MB / 0.5027 GB, free: 1.359 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.2504/0.4528, allocations: 2.782 MB / 0.5054 GB, free: 20.37 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02003/0.4729, allocations: 8.869 MB / 0.5141 GB, free: 19.69 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.034e-05/0.473, allocations: 1.188 kB / 0.5141 GB, free: 19.69 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.625e-06/0.473, allocations: 3.938 kB / 0.5141 GB, free: 19.69 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004359/0.4734, allocations: 0 / 0.5141 GB, free: 19.69 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.02359/0.497, allocations: 6.127 MB / 0.5201 GB, free: 17.3 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.392e-05/0.4971, allocations: 10.22 kB / 0.5201 GB, free: 17.3 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01341/0.5105, allocations: 2.591 MB / 0.5226 GB, free: 16.95 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01125/0.5218, allocations: 3.839 MB / 0.5264 GB, free: 16.18 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002531/0.5221, allocations: 286.4 kB / 0.5266 GB, free: 16.09 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002394/0.5245, allocations: 389.6 kB / 0.527 GB, free: 16 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02474/0.5492, allocations: 11.97 MB / 0.5387 GB, free: 9.266 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001916/0.5495, allocations: 53.81 kB / 0.5387 GB, free: 9.262 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005293/0.55, allocations: 184.9 kB / 0.5389 GB, free: 9.176 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003441/0.5535, allocations: 2.273 MB / 0.5411 GB, free: 8.32 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01916/0.5726, allocations: 9.924 MB / 0.5508 GB, free: 15.93 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06642/0.6391, allocations: 46.47 MB / 0.5962 GB, free: 0.7773 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01066/0.6498, allocations: 3.928 MB / 0.6 GB, free: 12.7 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003371/0.6533, allocations: 2.162 MB / 0.6022 GB, free: 10.53 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01482/0.6681, allocations: 6.534 MB / 0.6085 GB, free: 3.945 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.757e-05/0.6682, allocations: 51.56 kB / 0.6086 GB, free: 3.887 MB / 446.1 MB Notification: Performance of pre-optimization done (n=154): time 4.909e-06/0.6682, allocations: 0 / 0.6086 GB, free: 3.887 MB / 446.1 MB Notification: Performance of matching and sorting (n=166): time 0.04728/0.7155, allocations: 16.58 MB / 0.6248 GB, free: 3.219 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001085/0.7156, allocations: 200.9 kB / 0.625 GB, free: 2.98 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01049/0.7261, allocations: 5.661 MB / 0.6305 GB, free: 13.34 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005605/0.7267, allocations: 45.7 kB / 0.6305 GB, free: 13.29 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00362/0.7304, allocations: 3.781 MB / 0.6342 GB, free: 9.516 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001094/0.7315, allocations: 0.6759 MB / 0.6349 GB, free: 8.848 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002387/0.7339, allocations: 1.434 MB / 0.6363 GB, free: 7.406 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001099/0.734, allocations: 306.6 kB / 0.6366 GB, free: 7.105 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003551/0.7375, allocations: 2.325 MB / 0.6389 GB, free: 4.777 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007209/0.7448, allocations: 6.623 MB / 0.6453 GB, free: 12.09 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01287/0.7577, allocations: 9.621 MB / 0.6547 GB, free: 0.9648 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001784/0.7579, allocations: 40 kB / 0.6548 GB, free: 0.9258 MB / 494.1 MB Notification: Performance of matching and sorting (n=908) (initialization): time 0.02069/0.7786, allocations: 9.678 MB / 0.6642 GB, free: 7.426 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001531/0.7788, allocations: 72.91 kB / 0.6643 GB, free: 7.355 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002279/0.779, allocations: 152 kB / 0.6644 GB, free: 7.207 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003242/0.7823, allocations: 1.217 MB / 0.6656 GB, free: 5.984 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005369/0.7877, allocations: 1.587 MB / 0.6672 GB, free: 4.395 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009737/0.7974, allocations: 8.324 MB / 0.6753 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006691/0.8042, allocations: 367.4 kB / 0.6756 GB, free: 11.44 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001618/0.8058, allocations: 432 kB / 0.6761 GB, free: 11.02 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.005671/0.8115, allocations: 2.513 MB / 0.6785 GB, free: 8.492 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001072/0.8126, allocations: 461.9 kB / 0.679 GB, free: 8.035 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006521/0.8191, allocations: 3.429 MB / 0.6823 GB, free: 4.59 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.669e-05/0.8192, allocations: 23.94 kB / 0.6823 GB, free: 4.566 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.552e-05/0.8192, allocations: 4 kB / 0.6823 GB, free: 4.562 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.04e-05/0.8192, allocations: 15.97 kB / 0.6823 GB, free: 4.547 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01567/0.8349, allocations: 8.273 MB / 0.6904 GB, free: 12.22 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.509e-05/0.8349, allocations: 8.594 kB / 0.6904 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001408/0.8363, allocations: 295.5 kB / 0.6907 GB, free: 11.92 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002611/0.839, allocations: 0.9849 MB / 0.6917 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001729/0.8391, allocations: 32 kB / 0.6917 GB, free: 10.9 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008579/0.8477, allocations: 7.675 MB / 0.6992 GB, free: 2.945 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/0.8478, allocations: 4 kB / 0.6992 GB, free: 2.941 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2952/1.143, allocations: 5.871 MB / 0.7049 GB, free: 184.8 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002368/1.145, allocations: 0.5272 MB / 0.7055 GB, free: 184.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001053/1.146, allocations: 30.45 kB / 0.7055 GB, free: 184.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001864/1.148, allocations: 91.3 kB / 0.7056 GB, free: 184.7 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003233/1.149, allocations: 92.91 kB / 0.7057 GB, free: 184.7 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001422/1.149, allocations: 52.52 kB / 0.7057 GB, free: 184.7 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.008281/1.157, allocations: 3.618 MB / 0.7092 GB, free: 184.4 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.663e-06/1.157, allocations: 1.062 kB / 0.7092 GB, free: 184.4 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.009413/1.167, allocations: 1.188 MB / 0.7104 GB, free: 184.2 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.0007127/1.167, allocations: 165 kB / 0.7106 GB, free: 184.1 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.009413/1.177, allocations: 5.609 MB / 0.716 GB, free: 182.2 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 9.618e-06/1.177, allocations: 3.906 kB / 0.716 GB, free: 182.2 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001926/1.179, allocations: 1.618 MB / 0.7176 GB, free: 181.5 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00431/1.183, allocations: 0.6274 MB / 0.7182 GB, free: 181.2 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01985/1.203, allocations: 10.97 MB / 0.7289 GB, free: 176.6 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005282/1.208, allocations: 3.852 MB / 0.7327 GB, free: 174.6 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.00489/1.213, allocations: 2.14 MB / 0.7348 GB, free: 173.2 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009886/1.214, allocations: 295.5 kB / 0.7351 GB, free: 172.9 MB / 0.5294 GB Notification: Performance of SimCode: time 1.784e-06/1.214, allocations: 0 / 0.7351 GB, free: 172.9 MB / 0.5294 GB Notification: Performance of Templates: time 0.07393/1.288, allocations: 39.67 MB / 0.7738 GB, free: 133.9 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 -s cvode -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