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.001273/0.001273, allocations: 108.2 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.001217/0.001217, allocations: 182.9 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.326/1.326, allocations: 222.9 MB / 243 MB, free: 15.14 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.2016/0.2016, allocations: 44.18 MB / 337.4 MB, free: 2.691 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00129/0.00129, allocations: 64.8 kB / 409.9 MB, free: 26.51 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1115/0.1128, allocations: 60.82 MB / 470.7 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Force): time 0.01622/0.129, allocations: 15.73 MB / 486.4 MB, free: 13.82 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01069/0.1398, allocations: 4.956 MB / 491.4 MB, free: 8.852 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003438/0.1433, allocations: 111.6 kB / 491.5 MB, free: 8.742 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009259/0.1525, allocations: 5.027 MB / 496.5 MB, free: 3.699 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007718/0.1603, allocations: 2.552 MB / 499.1 MB, free: 1.141 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002852/0.1632, allocations: 1.104 MB / 0.4885 GB, free: 36 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.009655/0.1729, allocations: 6.875 MB / 0.4952 GB, free: 9.145 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006338/0.1793, allocations: 5.813 MB / 0.5008 GB, free: 3.258 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003414/0.1827, allocations: 2.434 MB / 0.5032 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.19/0.3727, allocations: 3.256 MB / 0.5064 GB, free: 19.49 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002249/0.375, allocations: 0.5136 MB / 0.5069 GB, free: 19.49 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004229/0.3792, allocations: 1.412 MB / 0.5083 GB, free: 19.49 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004685/0.3839, allocations: 3.054 MB / 0.5113 GB, free: 19.45 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006309/0.3903, allocations: 3.43 MB / 0.5146 GB, free: 18.25 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0148/0.4051, allocations: 10.65 MB / 0.525 GB, free: 16.12 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.244e-06/0.4051, allocations: 0 / 0.525 GB, free: 16.12 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.4051, allocations: 0.625 kB / 0.525 GB, free: 16.12 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003651/0.4055, allocations: 1.781 kB / 0.525 GB, free: 16.12 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.01993/0.4254, allocations: 7.518 MB / 0.5324 GB, free: 11.52 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.4255, allocations: 8.406 kB / 0.5324 GB, free: 11.52 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0124/0.4379, allocations: 2.767 MB / 0.5351 GB, free: 10.11 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008868/0.4468, allocations: 4.363 MB / 0.5393 GB, free: 7.664 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001788/0.447, allocations: 365.3 kB / 0.5397 GB, free: 7.543 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001136/0.4482, allocations: 485 kB / 0.5401 GB, free: 7.422 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02436/0.4725, allocations: 15.07 MB / 0.5549 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001755/0.4728, allocations: 70.17 kB / 0.5549 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006305/0.4734, allocations: 229.9 kB / 0.5551 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004759/0.4782, allocations: 2.866 MB / 0.5579 GB, free: 7.496 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02557/0.5037, allocations: 12.81 MB / 0.5704 GB, free: 10.94 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07804/0.5818, allocations: 58.84 MB / 0.6279 GB, free: 15.4 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01731/0.5992, allocations: 7.277 MB / 0.635 GB, free: 7.984 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004483/0.6037, allocations: 3.884 MB / 0.6388 GB, free: 4.09 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01476/0.6185, allocations: 9.016 MB / 0.6476 GB, free: 10.98 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.958e-05/0.6185, allocations: 64.56 kB / 0.6477 GB, free: 10.91 MB / 494.1 MB Notification: Performance of pre-optimization done (n=246): time 4.529e-06/0.6186, allocations: 0 / 0.6477 GB, free: 10.91 MB / 494.1 MB Notification: Performance of matching and sorting (n=288): time 0.08296/0.7015, allocations: 32.85 MB / 0.6798 GB, free: 9.895 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001146/0.7017, allocations: 238.8 kB / 0.68 GB, free: 9.617 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0104/0.7121, allocations: 6.718 MB / 0.6865 GB, free: 2.902 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0008152/0.7129, allocations: 69.7 kB / 0.6866 GB, free: 2.828 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.003705/0.7166, allocations: 4.46 MB / 0.691 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001793/0.7184, allocations: 1.097 MB / 0.692 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003222/0.7217, allocations: 1.798 MB / 0.6938 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001216/0.7218, allocations: 309.1 kB / 0.6941 GB, free: 11.17 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005428/0.7272, allocations: 3.621 MB / 0.6976 GB, free: 7.543 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2261/0.9533, allocations: 8.66 MB / 0.7061 GB, free: 176.8 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01647/0.9699, allocations: 13.21 MB / 0.719 GB, free: 168.1 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003396/0.9702, allocations: 50.34 kB / 0.719 GB, free: 168.1 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1144) (initialization): time 0.02912/0.9994, allocations: 14.09 MB / 0.7328 GB, free: 163.4 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001459/0.9996, allocations: 87.91 kB / 0.7329 GB, free: 163.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002579/0.9998, allocations: 173.3 kB / 0.733 GB, free: 163.4 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00584/1.006, allocations: 2.254 MB / 0.7352 GB, free: 163 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007128/1.013, allocations: 2.038 MB / 0.7372 GB, free: 162.7 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01543/1.028, allocations: 14.24 MB / 0.7511 GB, free: 153 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009109/1.037, allocations: 0.508 MB / 0.7516 GB, free: 152.6 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002094/1.04, allocations: 0.511 MB / 0.7521 GB, free: 152.1 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.007583/1.047, allocations: 3.048 MB / 0.7551 GB, free: 149.6 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001454/1.049, allocations: 0.5562 MB / 0.7556 GB, free: 149.3 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01245/1.061, allocations: 7.225 MB / 0.7627 GB, free: 143.6 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.032e-05/1.061, allocations: 38.98 kB / 0.7627 GB, free: 143.6 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.312e-05/1.061, allocations: 8.875 kB / 0.7627 GB, free: 143.5 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.467e-05/1.061, allocations: 11.48 kB / 0.7628 GB, free: 143.5 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03055/1.092, allocations: 15.23 MB / 0.7776 GB, free: 128.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-05/1.092, allocations: 4 kB / 0.7776 GB, free: 128.7 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002348/1.094, allocations: 497.7 kB / 0.7781 GB, free: 128.2 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004776/1.099, allocations: 2.015 MB / 0.7801 GB, free: 126.2 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005136/1.1, allocations: 67.92 kB / 0.7801 GB, free: 126.2 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01425/1.114, allocations: 13.5 MB / 0.7933 GB, free: 112.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/1.114, allocations: 4 kB / 0.7933 GB, free: 112.5 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01588/1.13, allocations: 11.47 MB / 0.8045 GB, free: 101 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00252/1.132, allocations: 0.6474 MB / 0.8052 GB, free: 100.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00257/1.135, allocations: 44 kB / 0.8052 GB, free: 100.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004369/1.139, allocations: 207.7 kB / 0.8054 GB, free: 100.1 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009107/1.14, allocations: 181.6 kB / 0.8056 GB, free: 99.9 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004658/1.141, allocations: 79.5 kB / 0.8057 GB, free: 99.82 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.008944/1.15, allocations: 4.297 MB / 0.8099 GB, free: 95.54 MB / 0.5294 GB Notification: Performance of sort global known variables: time 4.41e-07/1.15, allocations: 4 kB / 0.8099 GB, free: 95.54 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.01273/1.162, allocations: 1.623 MB / 0.8114 GB, free: 93.92 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.001006/1.164, allocations: 194 kB / 0.8116 GB, free: 93.73 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01177/1.175, allocations: 8.793 MB / 0.8202 GB, free: 84.94 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 8.606e-06/1.175, allocations: 4 kB / 0.8202 GB, free: 84.93 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004901/1.18, allocations: 3.545 MB / 0.8237 GB, free: 81.37 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004077/1.184, allocations: 0.7445 MB / 0.8244 GB, free: 80.66 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02307/1.207, allocations: 15.09 MB / 0.8391 GB, free: 65.49 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006897/1.214, allocations: 4.632 MB / 0.8437 GB, free: 60.82 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.007048/1.221, allocations: 2.799 MB / 0.8464 GB, free: 58.01 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001913/1.223, allocations: 387.4 kB / 0.8468 GB, free: 57.63 MB / 0.5294 GB Notification: Performance of SimCode: time 2.494e-06/1.223, allocations: 0 / 0.8468 GB, free: 57.63 MB / 0.5294 GB Notification: Performance of Templates: time 0.3027/1.526, allocations: 60.16 MB / 0.9055 GB, free: 165.1 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 -s gbode -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