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.001232/0.001232, allocations: 104.3 kB / 18.4 MB, free: 4.57 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.001006/0.001006, allocations: 187 kB / 19.34 MB, free: 3.641 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.415/1.415, allocations: 222.9 MB / 243 MB, free: 15.09 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.26/0.26, allocations: 44.19 MB / 337.4 MB, free: 2.711 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 64.16 kB / 409.9 MB, free: 26.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1193/0.1205, allocations: 60.83 MB / 470.7 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Force): time 0.01579/0.1363, allocations: 15.74 MB / 486.4 MB, free: 13.86 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01001/0.1464, allocations: 4.956 MB / 491.4 MB, free: 8.883 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002795/0.1492, allocations: 103.8 kB / 491.5 MB, free: 8.781 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009231/0.1585, allocations: 5.031 MB / 496.5 MB, free: 3.734 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0079/0.1665, allocations: 2.536 MB / 499.1 MB, free: 1.188 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002883/0.1694, allocations: 1.111 MB / 0.4885 GB, free: 76 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01425/0.1836, allocations: 6.886 MB / 0.4952 GB, free: 9.172 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0105/0.1942, allocations: 5.809 MB / 0.5009 GB, free: 3.289 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004946/0.1992, allocations: 2.438 MB / 0.5032 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2635/0.4628, allocations: 3.255 MB / 0.5064 GB, free: 19.55 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002926/0.4658, allocations: 0.5121 MB / 0.5069 GB, free: 19.55 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005463/0.4713, allocations: 1.413 MB / 0.5083 GB, free: 19.55 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006587/0.4779, allocations: 3.053 MB / 0.5113 GB, free: 19.52 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009403/0.4873, allocations: 3.427 MB / 0.5146 GB, free: 18.32 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02449/0.5118, allocations: 10.65 MB / 0.525 GB, free: 16.2 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.607e-06/0.5119, allocations: 1.531 kB / 0.525 GB, free: 16.2 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.475e-06/0.5119, allocations: 0 / 0.525 GB, free: 16.2 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0007214/0.5126, allocations: 0.6875 kB / 0.525 GB, free: 16.2 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.03111/0.5437, allocations: 7.515 MB / 0.5324 GB, free: 11.59 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.857e-05/0.5438, allocations: 10.22 kB / 0.5324 GB, free: 11.59 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01368/0.5575, allocations: 2.767 MB / 0.5351 GB, free: 10.18 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01211/0.5696, allocations: 4.368 MB / 0.5393 GB, free: 7.73 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003831/0.57, allocations: 365.7 kB / 0.5397 GB, free: 7.609 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003377/0.5734, allocations: 486.5 kB / 0.5402 GB, free: 7.488 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03873/0.6122, allocations: 15.06 MB / 0.5549 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006468/0.6129, allocations: 65.62 kB / 0.5549 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002942/0.6158, allocations: 230.2 kB / 0.5551 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005568/0.6214, allocations: 2.876 MB / 0.558 GB, free: 7.543 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0309/0.6524, allocations: 12.8 MB / 0.5705 GB, free: 10.98 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08519/0.7376, allocations: 58.84 MB / 0.6279 GB, free: 15.46 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01829/0.7559, allocations: 7.277 MB / 0.635 GB, free: 8.043 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005232/0.7612, allocations: 3.889 MB / 0.6388 GB, free: 4.148 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01811/0.7793, allocations: 9.007 MB / 0.6476 GB, free: 11.04 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.305e-05/0.7795, allocations: 67.09 kB / 0.6477 GB, free: 10.97 MB / 494.1 MB Notification: Performance of pre-optimization done (n=246): time 7.334e-06/0.7795, allocations: 0 / 0.6477 GB, free: 10.97 MB / 494.1 MB Notification: Performance of matching and sorting (n=288): time 0.08316/0.8627, allocations: 32.86 MB / 0.6798 GB, free: 9.945 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001329/0.8628, allocations: 231.6 kB / 0.68 GB, free: 9.672 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01203/0.8749, allocations: 6.714 MB / 0.6866 GB, free: 2.961 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.001131/0.876, allocations: 73.69 kB / 0.6866 GB, free: 2.883 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.004073/0.8801, allocations: 4.46 MB / 0.691 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.002131/0.8823, allocations: 1.099 MB / 0.6921 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003277/0.8856, allocations: 1.799 MB / 0.6938 GB, free: 11.53 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.00013/0.8857, allocations: 309.1 kB / 0.6941 GB, free: 11.22 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00612/0.8918, allocations: 3.621 MB / 0.6976 GB, free: 7.594 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2531/1.145, allocations: 8.655 MB / 0.7061 GB, free: 176.7 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01581/1.161, allocations: 13.21 MB / 0.719 GB, free: 168.1 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002712/1.161, allocations: 50.97 kB / 0.719 GB, free: 168.1 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1144) (initialization): time 0.02906/1.19, allocations: 14.09 MB / 0.7328 GB, free: 163.3 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001503/1.19, allocations: 78.09 kB / 0.7329 GB, free: 163.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002456/1.191, allocations: 177.8 kB / 0.733 GB, free: 163.3 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00559/1.196, allocations: 2.263 MB / 0.7353 GB, free: 162.9 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006641/1.203, allocations: 2.026 MB / 0.7372 GB, free: 162.7 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01421/1.217, allocations: 14.24 MB / 0.7511 GB, free: 153 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006956/1.224, allocations: 0.5055 MB / 0.7516 GB, free: 152.6 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001062/1.225, allocations: 0.5181 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.004628/1.23, allocations: 3.038 MB / 0.7551 GB, free: 149.6 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009011/1.231, allocations: 0.5551 MB / 0.7556 GB, free: 149.3 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01052/1.241, allocations: 7.236 MB / 0.7627 GB, free: 143.6 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.061e-05/1.241, allocations: 31.94 kB / 0.7627 GB, free: 143.6 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.455e-05/1.241, allocations: 12 kB / 0.7628 GB, free: 143.6 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.32e-05/1.241, allocations: 15.58 kB / 0.7628 GB, free: 143.6 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02387/1.265, allocations: 15.23 MB / 0.7776 GB, free: 128.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.448e-05/1.265, allocations: 4 kB / 0.7776 GB, free: 128.8 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002218/1.267, allocations: 495.2 kB / 0.7781 GB, free: 128.3 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004592/1.272, allocations: 2.016 MB / 0.7801 GB, free: 126.2 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000451/1.273, allocations: 57 kB / 0.7801 GB, free: 126.2 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01399/1.287, allocations: 13.52 MB / 0.7933 GB, free: 112.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-06/1.287, allocations: 7.938 kB / 0.7933 GB, free: 112.5 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01452/1.301, allocations: 11.47 MB / 0.8046 GB, free: 101 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001755/1.303, allocations: 0.6421 MB / 0.8052 GB, free: 100.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008631/1.304, allocations: 49.17 kB / 0.8052 GB, free: 100.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002445/1.306, allocations: 207.6 kB / 0.8054 GB, free: 100.1 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006161/1.307, allocations: 178.6 kB / 0.8056 GB, free: 99.92 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002221/1.307, allocations: 80.77 kB / 0.8057 GB, free: 99.84 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.006129/1.313, allocations: 4.3 MB / 0.8099 GB, free: 95.55 MB / 0.5294 GB Notification: Performance of sort global known variables: time 5.31e-07/1.313, allocations: 0 / 0.8099 GB, free: 95.55 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.008231/1.321, allocations: 1.619 MB / 0.8115 GB, free: 93.94 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.0007065/1.322, allocations: 195.7 kB / 0.8116 GB, free: 93.74 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01209/1.334, allocations: 8.788 MB / 0.8202 GB, free: 84.96 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.11e-05/1.334, allocations: 4.062 kB / 0.8202 GB, free: 84.95 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.005121/1.34, allocations: 3.541 MB / 0.8237 GB, free: 81.39 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004815/1.344, allocations: 0.7589 MB / 0.8244 GB, free: 80.67 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02488/1.369, allocations: 15.09 MB / 0.8392 GB, free: 65.5 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005517/1.375, allocations: 4.628 MB / 0.8437 GB, free: 60.84 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.005868/1.381, allocations: 2.803 MB / 0.8464 GB, free: 58.03 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001458/1.382, allocations: 383.4 kB / 0.8468 GB, free: 57.65 MB / 0.5294 GB Notification: Performance of SimCode: time 8.62e-07/1.382, allocations: 0 / 0.8468 GB, free: 57.65 MB / 0.5294 GB Notification: Performance of Templates: time 0.3187/1.701, allocations: 60.16 MB / 0.9055 GB, free: 164.9 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 cvode -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