Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.MultiBody.Forces.Force") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001038/0.001038, allocations: 182.8 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.344/1.344, allocations: 205.2 MB / 218.9 MB, free: 9.211 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008619/0.0008618, allocations: 92.27 kB / 267 MB, free: 9.285 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3401/0.3401, allocations: 43.47 MB / 358.6 MB, free: 51.55 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.678e-05/4.68e-05, allocations: 7.984 kB / 425.3 MB, free: 8.199 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1208/0.1208, allocations: 58.84 MB / 484.2 MB, free: 13.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4278/0.5487, allocations: 107.6 MB / 0.5778 GB, free: 14.35 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001801/0.5489, allocations: 83.61 kB / 0.5779 GB, free: 14.31 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6293/1.178, allocations: 129.5 MB / 0.7044 GB, free: 80.33 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.863e-06/1.178, allocations: 2.625 kB / 0.7044 GB, free: 80.33 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0004454/1.179, allocations: 129.4 kB / 0.7045 GB, free: 80.33 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2323 * Number of variables: 2323 Notification: Performance of Generate backend data structure: time 0.02485/1.204, allocations: 6.563 MB / 0.7109 GB, free: 77.91 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.952e-05/1.204, allocations: 9.594 kB / 0.7109 GB, free: 77.91 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02821/1.232, allocations: 7.125 MB / 0.7179 GB, free: 77.45 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02089/1.253, allocations: 7.378 MB / 0.7251 GB, free: 76.61 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00112/1.254, allocations: 498.4 kB / 0.7256 GB, free: 76.59 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00527/1.259, allocations: 0.6479 MB / 0.7262 GB, free: 76.58 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03951/1.299, allocations: 16.19 MB / 0.742 GB, free: 72.67 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003903/1.299, allocations: 97.12 kB / 0.7421 GB, free: 72.66 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001809/1.301, allocations: 319.2 kB / 0.7424 GB, free: 72.66 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002521/1.304, allocations: 1.547 MB / 0.7439 GB, free: 72.64 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0328/1.336, allocations: 13.15 MB / 0.7567 GB, free: 72.58 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08594/1.422, allocations: 72.61 MB / 0.8277 GB, free: 36.76 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01758/1.44, allocations: 7.429 MB / 0.8349 GB, free: 34.47 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005384/1.445, allocations: 3.81 MB / 0.8386 GB, free: 32.89 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01785/1.463, allocations: 9.669 MB / 0.8481 GB, free: 28.23 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.674e-05/1.463, allocations: 66.91 kB / 0.8481 GB, free: 28.17 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=273): time 6.042e-06/1.463, allocations: 0 / 0.8481 GB, free: 28.17 MB / 0.5105 GB Notification: Performance of matching and sorting (n=315): time 0.07286/1.536, allocations: 27.65 MB / 0.8751 GB, free: 8.137 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001241/1.537, allocations: 251.8 kB / 0.8754 GB, free: 7.84 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01213/1.549, allocations: 6.025 MB / 0.8813 GB, free: 2.52 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.001305/1.55, allocations: 78.47 kB / 0.8813 GB, free: 2.441 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.3552/1.905, allocations: 4.702 MB / 0.8859 GB, free: 90.78 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.002031/1.907, allocations: 1.193 MB / 0.8871 GB, free: 90.23 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000889/1.908, allocations: 179.3 kB / 0.8873 GB, free: 90.23 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0006299/1.909, allocations: 0.6809 MB / 0.8879 GB, free: 89.91 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006446/1.915, allocations: 3.483 MB / 0.8913 GB, free: 89.89 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008166/1.924, allocations: 8.625 MB / 0.8998 GB, free: 83.28 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008593/1.932, allocations: 5.428 MB / 0.9051 GB, free: 83.24 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001941/1.932, allocations: 57.66 kB / 0.9051 GB, free: 83.24 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1157) (initialization): time 0.02393/1.956, allocations: 13.38 MB / 0.9182 GB, free: 82.41 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.000145/1.956, allocations: 84.72 kB / 0.9183 GB, free: 82.41 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002294/1.957, allocations: 179.3 kB / 0.9184 GB, free: 82.41 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004308/1.961, allocations: 1.68 MB / 0.9201 GB, free: 82.39 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008512/1.97, allocations: 2.11 MB / 0.9221 GB, free: 82.22 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01485/1.984, allocations: 11.22 MB / 0.9331 GB, free: 79.37 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009298/1.994, allocations: 0.5238 MB / 0.9336 GB, free: 79.35 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002698/1.997, allocations: 0.5315 MB / 0.9341 GB, free: 79.35 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 827 * Number of states: 0 () * Number of discrete variables: 63 (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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1087): * Single equations (assignments): 1082 * 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 {(2,100.0%) 22,(2,100.0%) 22} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003711/2, allocations: 0.7823 MB / 0.9349 GB, free: 79.06 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002386/2.003, allocations: 0.5882 MB / 0.9355 GB, free: 78.73 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01598/2.019, allocations: 6.736 MB / 0.942 GB, free: 78.17 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.235e-05/2.019, allocations: 33.19 kB / 0.9421 GB, free: 78.17 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.514e-05/2.019, allocations: 14.73 kB / 0.9421 GB, free: 78.17 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.046e-05/2.019, allocations: 21.5 kB / 0.9421 GB, free: 78.16 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03489/2.054, allocations: 15.14 MB / 0.9569 GB, free: 72.82 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.906e-05/2.054, allocations: 6.062 kB / 0.9569 GB, free: 72.82 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003003/2.057, allocations: 0.5888 MB / 0.9575 GB, free: 72.77 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003365/2.06, allocations: 1.399 MB / 0.9588 GB, free: 72.5 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005061/2.061, allocations: 57.12 kB / 0.9589 GB, free: 72.46 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01215/2.073, allocations: 10.43 MB / 0.9691 GB, free: 66.89 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.722e-06/2.073, allocations: 3.688 kB / 0.9691 GB, free: 66.89 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01922/2.092, allocations: 11.83 MB / 0.9806 GB, free: 61.49 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004173/2.096, allocations: 1.157 MB / 0.9818 GB, free: 60.85 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00224/2.099, allocations: 57.61 kB / 0.9818 GB, free: 60.81 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00432/2.103, allocations: 208.6 kB / 0.982 GB, free: 60.78 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008933/2.104, allocations: 195.2 kB / 0.9822 GB, free: 60.74 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004227/2.104, allocations: 84.58 kB / 0.9823 GB, free: 60.72 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.01044/2.115, allocations: 4.307 MB / 0.9865 GB, free: 59.25 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.51e-07/2.115, allocations: 1.312 kB / 0.9865 GB, free: 59.25 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0122/2.127, allocations: 1.629 MB / 0.9881 GB, free: 59.07 MB / 0.5105 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (260): * Single equations (assignments): 255 * 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.001346/2.128, allocations: 222.6 kB / 0.9883 GB, free: 58.91 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01814/2.147, allocations: 8.629 MB / 0.9967 GB, free: 55.71 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.192e-05/2.147, allocations: 3.938 kB / 0.9967 GB, free: 55.71 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.006642/2.153, allocations: 3.414 MB / 1 GB, free: 54.34 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005604/2.159, allocations: 0.6965 MB / 1.001 GB, free: 54.03 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03211/2.191, allocations: 13.06 MB / 1.013 GB, free: 44.54 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01002/2.201, allocations: 4.936 MB / 1.018 GB, free: 40.91 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.009928/2.211, allocations: 2.959 MB / 1.021 GB, free: 39 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00246/2.214, allocations: 404.2 kB / 1.022 GB, free: 38.62 MB / 0.5105 GB Notification: Performance of SimCode: time 1.693e-06/2.214, allocations: 0 / 1.022 GB, free: 38.62 MB / 0.5105 GB Notification: Performance of Templates: time 0.4567/2.67, allocations: 63.25 MB / 1.083 GB, free: 91.18 MB / 0.5261 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/Force/Force.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches