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/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 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 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 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001494/0.001495, allocations: 110.4 kB / 16.41 MB, free: 6.48 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.001409/0.001409, allocations: 185.5 kB / 17.34 MB, free: 5.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.682/1.682, allocations: 205.1 MB / 223.2 MB, free: 12.1 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2451/0.2451, allocations: 43.53 MB / 314.1 MB, free: 444 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00137/0.00137, allocations: 69.98 kB / 441.8 MB, free: 5.617 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1317/0.1331, allocations: 57.8 MB / 499.6 MB, free: 11.75 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Force): time 0.01749/0.1506, allocations: 16.62 MB / 0.5042 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01105/0.1617, allocations: 5.05 MB / 0.5091 GB, free: 5.988 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003463/0.1652, allocations: 111.7 kB / 0.5092 GB, free: 5.879 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009781/0.175, allocations: 5.054 MB / 0.5141 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01073/0.1859, allocations: 2.751 MB / 0.5168 GB, free: 14.05 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004334/0.1902, allocations: 1.107 MB / 0.5179 GB, free: 12.94 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01598/0.2062, allocations: 6.77 MB / 0.5245 GB, free: 6.148 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008726/0.215, allocations: 5.915 MB / 0.5303 GB, free: 160 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2812/0.4963, allocations: 2.533 MB / 0.5328 GB, free: 9.91 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006706/0.503, allocations: 3.44 MB / 0.5361 GB, free: 9.551 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00182/0.5049, allocations: 0.5447 MB / 0.5367 GB, free: 9.551 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004941/0.5098, allocations: 1.424 MB / 0.538 GB, free: 9.551 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005907/0.5158, allocations: 3.197 MB / 0.5412 GB, free: 9.238 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009422/0.5252, allocations: 3.58 MB / 0.5447 GB, free: 7.988 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01548/0.5407, allocations: 11.15 MB / 0.5555 GB, free: 5.902 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.193e-06/0.5408, allocations: 0 / 0.5555 GB, free: 5.902 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.5408, allocations: 1.344 kB / 0.5555 GB, free: 5.902 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003632/0.5412, allocations: 0 / 0.5555 GB, free: 5.902 MB / 414.1 MB 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.01999/0.5612, allocations: 7.786 MB / 0.5632 GB, free: 1.625 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/0.5612, allocations: 12.86 kB / 0.5632 GB, free: 1.621 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01264/0.5739, allocations: 2.804 MB / 0.5659 GB, free: 196 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01262/0.5865, allocations: 4.565 MB / 0.5704 GB, free: 13.63 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003729/0.5869, allocations: 377.3 kB / 0.5707 GB, free: 13.51 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00225/0.5892, allocations: 0.4898 MB / 0.5712 GB, free: 13.39 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03132/0.6205, allocations: 15.69 MB / 0.5865 GB, free: 484 kB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002717/0.6209, allocations: 68.22 kB / 0.5866 GB, free: 444 kB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009195/0.6218, allocations: 236 kB / 0.5868 GB, free: 260 kB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005023/0.6268, allocations: 3.003 MB / 0.5897 GB, free: 13.29 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0275/0.6544, allocations: 13.43 MB / 0.6029 GB, free: 96 kB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08678/0.7412, allocations: 60.8 MB / 0.6622 GB, free: 2.625 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0194/0.7606, allocations: 7.62 MB / 0.6697 GB, free: 10.87 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006553/0.7672, allocations: 4.158 MB / 0.6737 GB, free: 6.699 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02224/0.7895, allocations: 9.84 MB / 0.6833 GB, free: 12.78 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.797e-05/0.7896, allocations: 67.47 kB / 0.6834 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=273): time 7.003e-06/0.7896, allocations: 0 / 0.6834 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of matching and sorting (n=315): time 0.09832/0.888, allocations: 34.34 MB / 0.7169 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001432/0.8881, allocations: 235.9 kB / 0.7172 GB, free: 9.918 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01087/0.899, allocations: 6.889 MB / 0.7239 GB, free: 3.035 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0009324/0.9, allocations: 73.7 kB / 0.724 GB, free: 2.957 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.003814/0.9038, allocations: 4.631 MB / 0.7285 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.002445/0.9063, allocations: 1.192 MB / 0.7297 GB, free: 13.15 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003843/0.9101, allocations: 1.882 MB / 0.7315 GB, free: 11.26 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002451/0.9104, allocations: 309.1 kB / 0.7318 GB, free: 10.95 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008605/0.919, allocations: 3.909 MB / 0.7356 GB, free: 7.039 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01465/0.9337, allocations: 9.075 MB / 0.7445 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3111/1.245, allocations: 13.92 MB / 0.7581 GB, free: 194.9 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001887/1.245, allocations: 51.34 kB / 0.7581 GB, free: 194.9 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1200) (initialization): time 0.03144/1.277, allocations: 14.81 MB / 0.7726 GB, free: 192.5 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001179/1.277, allocations: 86.69 kB / 0.7727 GB, free: 192.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002026/1.277, allocations: 179.7 kB / 0.7728 GB, free: 192.5 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005318/1.282, allocations: 2.265 MB / 0.775 GB, free: 192.1 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007886/1.29, allocations: 2.17 MB / 0.7772 GB, free: 191.9 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01678/1.307, allocations: 14.23 MB / 0.791 GB, free: 184.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01102/1.318, allocations: 0.532 MB / 0.7916 GB, free: 184.5 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002337/1.32, allocations: 0.5348 MB / 0.7921 GB, free: 184.4 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 822 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1120): * Single equations (assignments): 1113 * 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.006691/1.327, allocations: 3.152 MB / 0.7952 GB, free: 183.1 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001126/1.328, allocations: 0.5793 MB / 0.7957 GB, free: 183.1 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01158/1.34, allocations: 7.769 MB / 0.8033 GB, free: 178.9 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.137e-05/1.34, allocations: 36 kB / 0.8034 GB, free: 178.8 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.966e-05/1.34, allocations: 11.62 kB / 0.8034 GB, free: 178.8 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.55e-05/1.34, allocations: 11.91 kB / 0.8034 GB, free: 178.8 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02426/1.364, allocations: 16.05 MB / 0.8191 GB, free: 164.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-05/1.364, allocations: 8.031 kB / 0.8191 GB, free: 164.4 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002712/1.367, allocations: 0.5539 MB / 0.8196 GB, free: 163.9 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004946/1.372, allocations: 2.031 MB / 0.8216 GB, free: 161.8 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004869/1.372, allocations: 58.42 kB / 0.8216 GB, free: 161.8 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.014/1.386, allocations: 13.56 MB / 0.8349 GB, free: 148.1 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.562e-06/1.387, allocations: 9.406 kB / 0.8349 GB, free: 148.1 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01682/1.403, allocations: 12.37 MB / 0.847 GB, free: 135.7 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003808/1.407, allocations: 1.196 MB / 0.8481 GB, free: 134.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001154/1.408, allocations: 53.77 kB / 0.8482 GB, free: 134.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002675/1.411, allocations: 223.7 kB / 0.8484 GB, free: 134.2 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00056/1.412, allocations: 197.9 kB / 0.8486 GB, free: 134 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002435/1.412, allocations: 86.81 kB / 0.8487 GB, free: 133.9 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.00628/1.418, allocations: 4.414 MB / 0.853 GB, free: 129.5 MB / 0.5919 GB Notification: Performance of sort global known variables: time 4.4e-07/1.418, allocations: 0 / 0.853 GB, free: 129.5 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.008642/1.427, allocations: 1.703 MB / 0.8547 GB, free: 127.8 MB / 0.5919 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 (260): * Single equations (assignments): 255 * 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.0006655/1.428, allocations: 206.6 kB / 0.8548 GB, free: 127.6 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01243/1.44, allocations: 9.435 MB / 0.8641 GB, free: 118.2 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.011e-05/1.44, allocations: 0 / 0.8641 GB, free: 118.2 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.005457/1.445, allocations: 3.748 MB / 0.8677 GB, free: 114.4 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005509/1.451, allocations: 0.7494 MB / 0.8685 GB, free: 113.7 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02761/1.479, allocations: 15.9 MB / 0.884 GB, free: 97.7 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005609/1.484, allocations: 4.788 MB / 0.8887 GB, free: 92.88 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.007289/1.492, allocations: 2.949 MB / 0.8915 GB, free: 89.92 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001588/1.493, allocations: 403.3 kB / 0.8919 GB, free: 89.53 MB / 0.5919 GB Notification: Performance of SimCode: time 1.522e-06/1.493, allocations: 4 kB / 0.8919 GB, free: 89.52 MB / 0.5919 GB Notification: Performance of Templates: time 0.1031/1.596, allocations: 65.82 MB / 0.9562 GB, free: 23.8 MB / 0.5919 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches