Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force.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.Force,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force") translateModel(ModelicaTest.MultiBody.Forces.Force,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009988/0.0009987, allocations: 92 kB / 16.98 MB, free: 5.938 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.001365/0.001366, allocations: 182.6 kB / 17.87 MB, free: 5.598 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.391/1.391, allocations: 223.2 MB / 241.8 MB, free: 14.63 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.2118/0.2118, allocations: 44.21 MB / 337.1 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003099/0.0003099, allocations: 11.94 kB / 409.5 MB, free: 27.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1311/0.1314, allocations: 61.93 MB / 471.5 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Force): time 0.3172/0.4487, allocations: 76.4 MB / 0.535 GB, free: 9.023 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04349/0.4922, allocations: 17.16 MB / 0.5518 GB, free: 14.14 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01899/0.5112, allocations: 383.9 kB / 0.5521 GB, free: 14.08 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01353/0.5248, allocations: 3.859 MB / 0.5559 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03559/0.5604, allocations: 10.92 MB / 0.5666 GB, free: 2.266 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005224/0.5657, allocations: 0.8855 MB / 0.5674 GB, free: 1.379 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0704/0.6361, allocations: 49.01 MB / 0.6153 GB, free: 328 kB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01334/0.6495, allocations: 7.265 MB / 0.6224 GB, free: 8.965 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004683/0.6542, allocations: 1.549 MB / 0.6239 GB, free: 7.41 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005796/0.6601, allocations: 2.048 MB / 0.6259 GB, free: 5.355 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002552/0.6627, allocations: 212 kB / 0.6261 GB, free: 5.148 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003716/0.6664, allocations: 0.9871 MB / 0.6271 GB, free: 4.16 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00356/0.67, allocations: 2.47 MB / 0.6295 GB, free: 1.684 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002214/0.6723, allocations: 1.252 MB / 0.6307 GB, free: 432 kB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01145/0.6837, allocations: 8.316 MB / 0.6388 GB, free: 8.086 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.6838, allocations: 0 / 0.6388 GB, free: 8.086 MB / 478.1 MB Notification: Performance of FrontEnd: time 5.2e-06/0.6838, allocations: 0 / 0.6388 GB, free: 8.086 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0004192/0.6842, allocations: 3.938 kB / 0.6388 GB, free: 8.082 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2219 * Number of variables: 2219 Notification: Performance of Generate backend data structure: time 0.0182/0.7024, allocations: 6.669 MB / 0.6453 GB, free: 1.328 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.71e-05/0.7025, allocations: 8.031 kB / 0.6454 GB, free: 1.32 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04526/0.7478, allocations: 8.21 MB / 0.6534 GB, free: 9.09 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01078/0.7586, allocations: 4.352 MB / 0.6576 GB, free: 4.656 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003056/0.7589, allocations: 361.3 kB / 0.658 GB, free: 4.301 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001753/0.7607, allocations: 479.7 kB / 0.6584 GB, free: 3.832 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03285/0.7936, allocations: 15.14 MB / 0.6732 GB, free: 3.699 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000362/0.794, allocations: 59.47 kB / 0.6733 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00133/0.7954, allocations: 227.8 kB / 0.6735 GB, free: 3.418 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005353/0.8007, allocations: 2.863 MB / 0.6763 GB, free: 0.5508 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02729/0.828, allocations: 12.77 MB / 0.6887 GB, free: 3.75 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3111/1.139, allocations: 58.86 MB / 0.7462 GB, free: 153.2 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01764/1.157, allocations: 7.388 MB / 0.7534 GB, free: 151.1 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01541/1.172, allocations: 8.848 MB / 0.7621 GB, free: 146.2 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.245e-05/1.172, allocations: 66.95 kB / 0.7621 GB, free: 146.2 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=246): time 4.768e-06/1.172, allocations: 0 / 0.7621 GB, free: 146.2 MB / 0.5294 GB Notification: Performance of matching and sorting (n=288): time 0.072/1.244, allocations: 32.19 MB / 0.7936 GB, free: 119.3 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.977e-05/1.245, allocations: 237.6 kB / 0.7938 GB, free: 119 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008181/1.253, allocations: 6.94 MB / 0.8006 GB, free: 112.1 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0009212/1.254, allocations: 65.7 kB / 0.8007 GB, free: 112 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.00296/1.257, allocations: 4.508 MB / 0.8051 GB, free: 107.5 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001522/1.258, allocations: 1.094 MB / 0.8061 GB, free: 106.4 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003997/1.259, allocations: 168.9 kB / 0.8063 GB, free: 106.3 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000336/1.259, allocations: 0.6694 MB / 0.8069 GB, free: 105.6 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004025/1.263, allocations: 3.38 MB / 0.8102 GB, free: 102.2 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00622/1.269, allocations: 8.359 MB / 0.8184 GB, free: 91.42 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005989/1.275, allocations: 5.193 MB / 0.8235 GB, free: 86.23 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.5e-05/1.275, allocations: 52 kB / 0.8235 GB, free: 86.18 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1106) (initialization): time 0.0189/1.294, allocations: 13.04 MB / 0.8363 GB, free: 73.12 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001516/1.294, allocations: 80 kB / 0.8363 GB, free: 73.04 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002406/1.295, allocations: 176 kB / 0.8365 GB, free: 72.87 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004068/1.299, allocations: 1.782 MB / 0.8382 GB, free: 71.08 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005957/1.305, allocations: 1.973 MB / 0.8402 GB, free: 69.11 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01327/1.318, allocations: 12.18 MB / 0.8521 GB, free: 56.67 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007741/1.326, allocations: 0.4914 MB / 0.8525 GB, free: 56.18 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001782/1.328, allocations: 0.5074 MB / 0.853 GB, free: 55.68 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 802 * Number of states: 0 () * Number of discrete variables: 67 (force2.forceArrow.arrowLine.twoHeadedArrow,force2.forceArrow.headAtOrigin,force1.forceArrow.arrowLine.twoHeadedArrow,force1.forceArrow.headAtOrigin,fixed4.color[3],fixed4.color[2],fixed4.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],force2.connectionLineColor[3],force2.connectionLineColor[2],force2.connectionLineColor[1],force2.forceColor[3],force2.forceColor[2],force2.forceColor[1],force1.connectionLineColor[3],force1.connectionLineColor[2],force1.connectionLineColor[1],force1.forceColor[3],force1.forceColor[2],force1.forceColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.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 (1026): * Single equations (assignments): 1019 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 22,(2,100.0%) 22} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008173/1.336, allocations: 3.043 MB / 0.856 GB, free: 52.62 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002065/1.338, allocations: 0.5669 MB / 0.8566 GB, free: 52.05 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01289/1.351, allocations: 6.468 MB / 0.8629 GB, free: 45.55 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.879e-05/1.351, allocations: 33.25 kB / 0.8629 GB, free: 45.52 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.908e-05/1.351, allocations: 12 kB / 0.8629 GB, free: 45.51 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.955e-05/1.351, allocations: 19.94 kB / 0.8629 GB, free: 45.49 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02836/1.379, allocations: 14.54 MB / 0.8771 GB, free: 30.91 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.171e-05/1.379, allocations: 11.98 kB / 0.8771 GB, free: 30.89 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002455/1.382, allocations: 491.8 kB / 0.8776 GB, free: 30.41 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003846/1.386, allocations: 1.511 MB / 0.8791 GB, free: 28.9 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005297/1.386, allocations: 59.98 kB / 0.8791 GB, free: 28.84 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0131/1.399, allocations: 11.39 MB / 0.8903 GB, free: 17.19 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.005e-06/1.399, allocations: 7.938 kB / 0.8903 GB, free: 17.18 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01796/1.417, allocations: 11.36 MB / 0.9014 GB, free: 5.559 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002231/1.42, allocations: 0.6532 MB / 0.902 GB, free: 4.883 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00196/1.422, allocations: 57 kB / 0.9021 GB, free: 4.828 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003447/1.425, allocations: 187.7 kB / 0.9022 GB, free: 4.645 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006788/1.426, allocations: 177.7 kB / 0.9024 GB, free: 4.473 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003784/1.426, allocations: 73.56 kB / 0.9025 GB, free: 4.402 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.2849/1.711, allocations: 4.476 MB / 0.9069 GB, free: 172.5 MB / 0.5294 GB Notification: Performance of sort global known variables: time 4.81e-07/1.711, allocations: 0 / 0.9069 GB, free: 172.5 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.01084/1.722, allocations: 1.583 MB / 0.9084 GB, free: 172.5 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.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 (232): * Single equations (assignments): 227 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(4,75.0%) 17,(4,75.0%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001106/1.723, allocations: 214.4 kB / 0.9086 GB, free: 172.4 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01689/1.74, allocations: 8.308 MB / 0.9167 GB, free: 171.4 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 9.658e-06/1.74, allocations: 1.031 kB / 0.9167 GB, free: 171.4 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.006767/1.747, allocations: 3.301 MB / 0.9199 GB, free: 170.1 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004791/1.752, allocations: 0.6935 MB / 0.9206 GB, free: 169.8 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02806/1.78, allocations: 17.17 MB / 0.9374 GB, free: 161.4 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005693/1.786, allocations: 4.771 MB / 0.9421 GB, free: 159.8 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.007073/1.793, allocations: 2.805 MB / 0.9448 GB, free: 159.6 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001551/1.794, allocations: 391.2 kB / 0.9452 GB, free: 159.5 MB / 0.5294 GB Notification: Performance of SimCode: time 1.864e-06/1.794, allocations: 0 / 0.9452 GB, free: 159.5 MB / 0.5294 GB Notification: Performance of Templates: time 0.0948/1.889, allocations: 62.15 MB / 1.006 GB, free: 99.34 MB / 0.5294 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/Force/Force.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches