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.001338/0.001338, allocations: 187 kB / 16.64 MB, free: 5.133 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.4/1.4, allocations: 205.1 MB / 222.5 MB, free: 8.469 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.001036/0.001036, allocations: 104 kB / 269.9 MB, free: 8.434 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.3492/0.3492, allocations: 43.5 MB / 360.7 MB, free: 51.17 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009827/0.0009827, allocations: 55.91 kB / 429.2 MB, free: 6.379 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1177/0.1187, allocations: 57.76 MB / 487 MB, free: 12.54 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Force): time 0.3006/0.4194, allocations: 90.06 MB / 0.5635 GB, free: 5.746 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.04377/0.4632, allocations: 17.2 MB / 0.5803 GB, free: 10.26 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0192/0.4825, allocations: 394.2 kB / 0.5807 GB, free: 10.2 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01042/0.4929, allocations: 5.052 MB / 0.5856 GB, free: 7.844 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01033/0.5033, allocations: 2.511 MB / 0.5881 GB, free: 6.688 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003484/0.5068, allocations: 1.031 MB / 0.5891 GB, free: 6.219 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.01396/0.5208, allocations: 9.977 MB / 0.5988 GB, free: 2.387 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008907/0.5298, allocations: 5.825 MB / 0.6045 GB, free: 13.07 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004724/0.5345, allocations: 2.254 MB / 0.6067 GB, free: 10.81 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005869/0.5404, allocations: 3.688 MB / 0.6103 GB, free: 7.109 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001883/0.5423, allocations: 388 kB / 0.6107 GB, free: 6.73 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00389/0.5463, allocations: 1.338 MB / 0.612 GB, free: 5.391 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004143/0.5504, allocations: 3.07 MB / 0.615 GB, free: 2.312 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.006279/0.5567, allocations: 3.448 MB / 0.6184 GB, free: 14.84 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01207/0.5688, allocations: 10.66 MB / 0.6288 GB, free: 4.152 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.5689, allocations: 0 / 0.6288 GB, free: 4.152 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.5689, allocations: 0 / 0.6288 GB, free: 4.152 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0003381/0.5692, allocations: 0 / 0.6288 GB, free: 4.152 MB / 442.7 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.01767/0.5869, allocations: 7.793 MB / 0.6364 GB, free: 12.27 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.632e-05/0.5869, allocations: 8.031 kB / 0.6364 GB, free: 12.27 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01276/0.5997, allocations: 2.799 MB / 0.6391 GB, free: 9.453 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01133/0.6111, allocations: 4.484 MB / 0.6435 GB, free: 4.887 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003886/0.6115, allocations: 378.2 kB / 0.6439 GB, free: 4.516 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002072/0.6136, allocations: 499.5 kB / 0.6444 GB, free: 4.027 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02867/0.6423, allocations: 15.69 MB / 0.6597 GB, free: 3.332 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002765/0.6426, allocations: 67.38 kB / 0.6597 GB, free: 3.266 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001353/0.6439, allocations: 235.8 kB / 0.66 GB, free: 3.035 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004982/0.6489, allocations: 3.004 MB / 0.6629 GB, free: 20 kB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0255/0.6745, allocations: 13.42 MB / 0.676 GB, free: 2.547 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2601/0.9346, allocations: 61.07 MB / 0.7357 GB, free: 113.5 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0166/0.9512, allocations: 7.62 MB / 0.7431 GB, free: 111.2 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004201/0.9555, allocations: 4.165 MB / 0.7472 GB, free: 109.5 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01482/0.9703, allocations: 9.842 MB / 0.7568 GB, free: 104.9 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.883e-05/0.9704, allocations: 59.34 kB / 0.7568 GB, free: 104.8 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=273): time 5.32e-06/0.9704, allocations: 0 / 0.7568 GB, free: 104.8 MB / 0.4948 GB Notification: Performance of matching and sorting (n=315): time 0.07839/1.049, allocations: 34.32 MB / 0.7903 GB, free: 89.61 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.417e-05/1.049, allocations: 239.9 kB / 0.7906 GB, free: 89.33 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008515/1.057, allocations: 6.889 MB / 0.7973 GB, free: 82.45 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.001374/1.059, allocations: 69.7 kB / 0.7974 GB, free: 82.37 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.004299/1.063, allocations: 4.638 MB / 0.8019 GB, free: 77.74 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.002042/1.065, allocations: 1.189 MB / 0.8031 GB, free: 76.56 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002586/1.068, allocations: 1.879 MB / 0.8049 GB, free: 74.67 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 6.355e-05/1.068, allocations: 313 kB / 0.8052 GB, free: 74.36 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004773/1.073, allocations: 3.899 MB / 0.809 GB, free: 70.45 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006646/1.079, allocations: 9.079 MB / 0.8179 GB, free: 58.83 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.012/1.091, allocations: 13.92 MB / 0.8315 GB, free: 42.38 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001259/1.092, allocations: 55.31 kB / 0.8315 GB, free: 42.33 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1200) (initialization): time 0.02343/1.115, allocations: 14.82 MB / 0.846 GB, free: 27.5 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001532/1.115, allocations: 84.03 kB / 0.8461 GB, free: 27.42 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002176/1.115, allocations: 180.9 kB / 0.8462 GB, free: 27.25 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005144/1.121, allocations: 2.264 MB / 0.8484 GB, free: 24.97 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00674/1.127, allocations: 2.168 MB / 0.8506 GB, free: 22.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01415/1.142, allocations: 13.31 MB / 0.8636 GB, free: 9.234 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007104/1.149, allocations: 0.5433 MB / 0.8641 GB, free: 8.691 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001816/1.151, allocations: 0.5384 MB / 0.8646 GB, free: 8.156 MB / 0.4948 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.006612/1.157, allocations: 3.156 MB / 0.8677 GB, free: 4.984 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002299/1.159, allocations: 0.5746 MB / 0.8683 GB, free: 4.402 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01549/1.175, allocations: 7.763 MB / 0.8758 GB, free: 12.61 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.656e-05/1.175, allocations: 36 kB / 0.8759 GB, free: 12.58 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.149e-05/1.175, allocations: 8 kB / 0.8759 GB, free: 12.57 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.886e-05/1.175, allocations: 19.88 kB / 0.8759 GB, free: 12.55 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2145/1.39, allocations: 16.27 MB / 0.8918 GB, free: 151.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-05/1.39, allocations: 5.406 kB / 0.8918 GB, free: 151.6 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002729/1.393, allocations: 0.5569 MB / 0.8923 GB, free: 151.6 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004832/1.397, allocations: 2.02 MB / 0.8943 GB, free: 151.6 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004707/1.398, allocations: 56.12 kB / 0.8944 GB, free: 151.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01466/1.413, allocations: 12.58 MB / 0.9066 GB, free: 146.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.851e-06/1.413, allocations: 13.48 kB / 0.9067 GB, free: 146.3 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1154/1.528, allocations: 77.44 MB / 0.9823 GB, free: 101.9 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003227/1.531, allocations: 1.185 MB / 0.9834 GB, free: 100.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001296/1.533, allocations: 56 kB / 0.9835 GB, free: 100.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003152/1.536, allocations: 227.5 kB / 0.9837 GB, free: 100.5 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006619/1.536, allocations: 201.7 kB / 0.9839 GB, free: 100.3 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002707/1.537, allocations: 86.92 kB / 0.984 GB, free: 100.2 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.00537/1.542, allocations: 4.41 MB / 0.9883 GB, free: 95.8 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.81e-07/1.542, allocations: 7.547 kB / 0.9883 GB, free: 95.8 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.007802/1.55, allocations: 2.319 MB / 0.9906 GB, free: 93.49 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 () * 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 {(5,16,72.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.0005554/1.55, allocations: 200 kB / 0.9908 GB, free: 93.3 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01149/1.562, allocations: 9.398 MB / 0.9999 GB, free: 83.95 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.318e-05/1.562, allocations: 0 / 0.9999 GB, free: 83.95 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.005775/1.568, allocations: 3.857 MB / 1.004 GB, free: 80.07 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005494/1.573, allocations: 0.71 MB / 1.004 GB, free: 79.37 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02558/1.599, allocations: 21.69 MB / 1.026 GB, free: 57.61 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005578/1.604, allocations: 4.906 MB / 1.03 GB, free: 52.67 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.006897/1.611, allocations: 3.003 MB / 1.033 GB, free: 49.66 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00178/1.613, allocations: 424.3 kB / 1.034 GB, free: 49.25 MB / 0.5105 GB Notification: Performance of SimCode: time 1.022e-06/1.613, allocations: 0 / 1.034 GB, free: 49.25 MB / 0.5105 GB Notification: Performance of Templates: time 0.3078/1.921, allocations: 87.77 MB / 1.119 GB, free: 128.9 MB / 0.5105 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@2/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