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.001378/0.001378, allocations: 110 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.001398/0.001398, allocations: 199.4 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.374/1.374, allocations: 222.9 MB / 242.9 MB, free: 15.15 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.2057/0.2057, allocations: 44.19 MB / 337.3 MB, free: 2.746 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 59.62 kB / 409.1 MB, free: 27.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1105/0.1117, allocations: 60.82 MB / 469.9 MB, free: 14.37 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Force): time 0.01568/0.1274, allocations: 15.73 MB / 485.7 MB, free: 14.56 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0109/0.1384, allocations: 4.968 MB / 490.6 MB, free: 9.578 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003311/0.1418, allocations: 107.8 kB / 490.7 MB, free: 9.473 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009076/0.1508, allocations: 5.023 MB / 495.7 MB, free: 4.434 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007017/0.1579, allocations: 2.54 MB / 498.3 MB, free: 1.883 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002929/0.1609, allocations: 1.115 MB / 499.4 MB, free: 0.7656 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01031/0.1712, allocations: 6.872 MB / 0.4944 GB, free: 9.879 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00832/0.1796, allocations: 5.817 MB / 0.5001 GB, free: 3.988 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004362/0.184, allocations: 2.434 MB / 0.5025 GB, free: 1.547 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2386/0.4226, allocations: 3.263 MB / 0.5057 GB, free: 18.95 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002582/0.4253, allocations: 0.5118 MB / 0.5062 GB, free: 18.95 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004499/0.4298, allocations: 1.411 MB / 0.5075 GB, free: 18.95 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005331/0.4351, allocations: 3.053 MB / 0.5105 GB, free: 18.95 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008082/0.4432, allocations: 3.431 MB / 0.5139 GB, free: 17.97 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01598/0.4592, allocations: 10.34 MB / 0.524 GB, free: 16.02 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.4593, allocations: 0.7188 kB / 0.524 GB, free: 16.02 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.755e-06/0.4593, allocations: 0 / 0.524 GB, free: 16.02 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004869/0.4598, allocations: 4.156 kB / 0.524 GB, free: 16.02 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: 2219 * Number of variables: 2219 Notification: Performance of Generate backend data structure: time 0.0246/0.4844, allocations: 7.512 MB / 0.5313 GB, free: 11.49 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.602e-05/0.4845, allocations: 9.781 kB / 0.5313 GB, free: 11.49 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0138/0.4983, allocations: 2.762 MB / 0.534 GB, free: 10.08 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01098/0.5093, allocations: 4.291 MB / 0.5382 GB, free: 7.668 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005172/0.5099, allocations: 358.5 kB / 0.5385 GB, free: 7.551 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003945/0.5138, allocations: 489.8 kB / 0.539 GB, free: 7.426 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03441/0.5483, allocations: 15.06 MB / 0.5537 GB, free: 11.24 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004463/0.5488, allocations: 70.23 kB / 0.5538 GB, free: 11.2 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001958/0.5507, allocations: 231.7 kB / 0.554 GB, free: 11.02 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005593/0.5563, allocations: 2.87 MB / 0.5568 GB, free: 8.195 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02951/0.5859, allocations: 12.81 MB / 0.5693 GB, free: 11.63 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08347/0.6694, allocations: 59.1 MB / 0.627 GB, free: 15.85 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01997/0.6895, allocations: 7.285 MB / 0.6341 GB, free: 8.422 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005259/0.6948, allocations: 3.882 MB / 0.6379 GB, free: 4.531 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01578/0.7106, allocations: 9.005 MB / 0.6467 GB, free: 11.43 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.2e-05/0.7107, allocations: 64.5 kB / 0.6468 GB, free: 11.36 MB / 494.1 MB Notification: Performance of pre-optimization done (n=246): time 6.111e-06/0.7107, allocations: 0 / 0.6468 GB, free: 11.36 MB / 494.1 MB Notification: Performance of matching and sorting (n=288): time 0.08967/0.8004, allocations: 32.86 MB / 0.6789 GB, free: 10.33 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001235/0.8005, allocations: 239.2 kB / 0.6791 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01165/0.8122, allocations: 6.718 MB / 0.6857 GB, free: 3.34 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0009853/0.8132, allocations: 65.7 kB / 0.6857 GB, free: 3.27 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.003775/0.817, allocations: 4.467 MB / 0.6901 GB, free: 14.81 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.002045/0.8191, allocations: 1.099 MB / 0.6912 GB, free: 13.72 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003329/0.8224, allocations: 1.799 MB / 0.6929 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001051/0.8226, allocations: 305.1 kB / 0.6932 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005766/0.8283, allocations: 3.624 MB / 0.6967 GB, free: 7.977 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2588/1.087, allocations: 8.656 MB / 0.7052 GB, free: 177.2 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01641/1.104, allocations: 13.21 MB / 0.7181 GB, free: 168.6 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003021/1.104, allocations: 50 kB / 0.7182 GB, free: 168.6 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1144) (initialization): time 0.02793/1.132, allocations: 14.09 MB / 0.7319 GB, free: 163.9 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001431/1.132, allocations: 84.64 kB / 0.732 GB, free: 163.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002516/1.132, allocations: 175.7 kB / 0.7322 GB, free: 163.9 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005923/1.138, allocations: 2.265 MB / 0.7344 GB, free: 163.5 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006999/1.145, allocations: 2.034 MB / 0.7364 GB, free: 163.3 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01563/1.161, allocations: 14.24 MB / 0.7503 GB, free: 153.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008235/1.169, allocations: 0.506 MB / 0.7508 GB, free: 152.7 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002074/1.171, allocations: 0.5135 MB / 0.7513 GB, free: 152.2 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 (1064): * Single equations (assignments): 1057 * 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 {(2,22,100.0%), (2,22,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006856/1.178, allocations: 3.046 MB / 0.7542 GB, free: 149.6 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001251/1.18, allocations: 0.5588 MB / 0.7548 GB, free: 149.4 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01217/1.192, allocations: 7.229 MB / 0.7618 GB, free: 143.7 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.886e-05/1.192, allocations: 31.94 kB / 0.7619 GB, free: 143.7 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.534e-05/1.192, allocations: 12 kB / 0.7619 GB, free: 143.6 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-05/1.192, allocations: 14.77 kB / 0.7619 GB, free: 143.6 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02852/1.22, allocations: 15.27 MB / 0.7768 GB, free: 128.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.104e-05/1.22, allocations: 4 kB / 0.7768 GB, free: 128.7 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002481/1.223, allocations: 493.7 kB / 0.7773 GB, free: 128.2 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004909/1.228, allocations: 2.023 MB / 0.7793 GB, free: 126.2 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006824/1.229, allocations: 55.98 kB / 0.7793 GB, free: 126.2 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0147/1.243, allocations: 13.51 MB / 0.7925 GB, free: 112.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.891e-06/1.243, allocations: 8 kB / 0.7925 GB, free: 112.5 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01617/1.26, allocations: 11.47 MB / 0.8037 GB, free: 101 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001861/1.261, allocations: 0.6381 MB / 0.8043 GB, free: 100.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002233/1.264, allocations: 48 kB / 0.8044 GB, free: 100.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00396/1.268, allocations: 211.6 kB / 0.8046 GB, free: 100.1 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009699/1.269, allocations: 177.6 kB / 0.8048 GB, free: 99.88 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002639/1.269, allocations: 78.42 kB / 0.8048 GB, free: 99.81 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.007936/1.277, allocations: 4.3 MB / 0.809 GB, free: 95.52 MB / 0.5294 GB Notification: Performance of sort global known variables: time 4.61e-07/1.277, allocations: 0 / 0.809 GB, free: 95.52 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.01212/1.289, allocations: 1.624 MB / 0.8106 GB, free: 93.9 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 (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 {(4,17,75.0%), (4,17,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001192/1.29, allocations: 195.2 kB / 0.8108 GB, free: 93.71 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01735/1.308, allocations: 10.52 MB / 0.8211 GB, free: 83.22 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.182e-05/1.308, allocations: 0 / 0.8211 GB, free: 83.22 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.005445/1.313, allocations: 3.531 MB / 0.8245 GB, free: 79.67 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005919/1.319, allocations: 0.7465 MB / 0.8253 GB, free: 78.95 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02553/1.345, allocations: 15.89 MB / 0.8408 GB, free: 62.97 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006401/1.351, allocations: 4.612 MB / 0.8453 GB, free: 58.33 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002006/1.353, allocations: 447.4 kB / 0.8457 GB, free: 57.89 MB / 0.5294 GB Notification: Performance of SimCode: time 1.192e-06/1.353, allocations: 0 / 0.8457 GB, free: 57.89 MB / 0.5294 GB Notification: Performance of Templates: time 0.387/1.74, allocations: 145.5 MB / 0.9878 GB, free: 94.43 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/Force/Force.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches