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.001543/0.001543, allocations: 105.1 kB / 16.4 MB, free: 6.496 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.001571/0.001571, allocations: 189.5 kB / 17.34 MB, free: 5.742 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.614/1.614, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.2361/0.2361, allocations: 43.52 MB / 314.1 MB, free: 452 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.001406/0.001406, allocations: 65.47 kB / 441.9 MB, free: 5.609 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1361/0.1375, allocations: 57.78 MB / 499.6 MB, free: 11.75 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Force): time 0.01803/0.1556, allocations: 16.63 MB / 0.5042 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01389/0.1696, allocations: 5.054 MB / 0.5091 GB, free: 5.98 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004107/0.1737, allocations: 103.8 kB / 0.5092 GB, free: 5.879 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009609/0.1834, allocations: 5.054 MB / 0.5141 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008221/0.1917, allocations: 2.672 MB / 0.5167 GB, free: 14.12 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003066/0.1948, allocations: 1.111 MB / 0.5178 GB, free: 13.01 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01174/0.2065, allocations: 6.766 MB / 0.5244 GB, free: 6.227 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007648/0.2142, allocations: 5.907 MB / 0.5302 GB, free: 248 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2748/0.489, allocations: 2.534 MB / 0.5327 GB, free: 10 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006848/0.4959, allocations: 3.441 MB / 0.536 GB, free: 9.676 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002396/0.4983, allocations: 0.5406 MB / 0.5366 GB, free: 9.676 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004977/0.5033, allocations: 1.424 MB / 0.538 GB, free: 9.676 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006193/0.5095, allocations: 3.202 MB / 0.5411 GB, free: 9.363 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01348/0.523, allocations: 3.579 MB / 0.5446 GB, free: 8.113 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01879/0.5419, allocations: 11.15 MB / 0.5555 GB, free: 5.945 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.5419, allocations: 0 / 0.5555 GB, free: 5.945 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.5419, allocations: 3.812 kB / 0.5555 GB, free: 5.945 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004171/0.5423, allocations: 0 / 0.5555 GB, free: 5.945 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.02195/0.5643, allocations: 7.784 MB / 0.5631 GB, free: 1.637 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.632e-05/0.5644, allocations: 12.61 kB / 0.5631 GB, free: 1.633 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0131/0.5775, allocations: 2.803 MB / 0.5658 GB, free: 208 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01261/0.5901, allocations: 4.558 MB / 0.5703 GB, free: 13.64 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003432/0.5905, allocations: 373.5 kB / 0.5706 GB, free: 13.52 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002757/0.5933, allocations: 0.4943 MB / 0.5711 GB, free: 13.4 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03474/0.628, allocations: 15.69 MB / 0.5864 GB, free: 500 kB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002566/0.6283, allocations: 71.97 kB / 0.5865 GB, free: 456 kB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009373/0.6293, allocations: 237 kB / 0.5867 GB, free: 276 kB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005493/0.6348, allocations: 3.002 MB / 0.5897 GB, free: 13.3 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03211/0.6669, allocations: 13.42 MB / 0.6028 GB, free: 116 kB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08621/0.7531, allocations: 60.81 MB / 0.6622 GB, free: 2.645 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01974/0.7729, allocations: 7.626 MB / 0.6696 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005627/0.7786, allocations: 4.159 MB / 0.6737 GB, free: 6.707 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01774/0.7963, allocations: 9.829 MB / 0.6833 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.316e-05/0.7965, allocations: 67.19 kB / 0.6833 GB, free: 12.72 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=273): time 6.472e-06/0.7965, allocations: 0 / 0.6833 GB, free: 12.72 MB / 0.5294 GB Notification: Performance of matching and sorting (n=315): time 0.09153/0.888, allocations: 34.34 MB / 0.7169 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001389/0.8882, allocations: 242.4 kB / 0.7171 GB, free: 9.93 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01143/0.8996, allocations: 6.897 MB / 0.7238 GB, free: 3.039 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0009715/0.9007, allocations: 72.28 kB / 0.7239 GB, free: 2.965 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.003577/0.9042, allocations: 4.627 MB / 0.7284 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.001915/0.9062, allocations: 1.191 MB / 0.7296 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002976/0.9092, allocations: 1.878 MB / 0.7314 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001011/0.9093, allocations: 305.1 kB / 0.7317 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006212/0.9155, allocations: 3.906 MB / 0.7355 GB, free: 7.051 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01107/0.9266, allocations: 9.079 MB / 0.7444 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3401/1.267, allocations: 13.92 MB / 0.758 GB, free: 194.7 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002054/1.267, allocations: 50.22 kB / 0.758 GB, free: 194.7 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1200) (initialization): time 0.03873/1.306, allocations: 14.8 MB / 0.7725 GB, free: 192.3 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001404/1.306, allocations: 88.19 kB / 0.7726 GB, free: 192.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002947/1.306, allocations: 179.8 kB / 0.7727 GB, free: 192.3 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006025/1.312, allocations: 2.272 MB / 0.7749 GB, free: 191.9 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007604/1.32, allocations: 2.165 MB / 0.7771 GB, free: 191.6 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01614/1.336, allocations: 14.24 MB / 0.791 GB, free: 184.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009889/1.346, allocations: 0.5366 MB / 0.7915 GB, free: 184.2 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001863/1.348, allocations: 0.5339 MB / 0.792 GB, free: 184.2 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.006269/1.354, allocations: 3.148 MB / 0.7951 GB, free: 182.8 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00136/1.356, allocations: 0.5789 MB / 0.7957 GB, free: 182.8 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01274/1.368, allocations: 7.767 MB / 0.8032 GB, free: 178.9 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.938e-05/1.368, allocations: 36 kB / 0.8033 GB, free: 178.8 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.38e-05/1.368, allocations: 9.969 kB / 0.8033 GB, free: 178.8 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.195e-05/1.368, allocations: 19.56 kB / 0.8033 GB, free: 178.8 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02754/1.396, allocations: 16.05 MB / 0.819 GB, free: 164.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-05/1.396, allocations: 8.062 kB / 0.819 GB, free: 164.4 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002616/1.399, allocations: 0.5539 MB / 0.8195 GB, free: 163.8 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004758/1.403, allocations: 2.028 MB / 0.8215 GB, free: 161.8 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003171/1.404, allocations: 59.98 kB / 0.8216 GB, free: 161.7 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01428/1.418, allocations: 13.57 MB / 0.8348 GB, free: 148 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/1.418, allocations: 4 kB / 0.8348 GB, free: 148 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01627/1.434, allocations: 12.36 MB / 0.8469 GB, free: 135.6 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003827/1.438, allocations: 1.193 MB / 0.848 GB, free: 134.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001212/1.44, allocations: 66.88 kB / 0.8481 GB, free: 134.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002868/1.442, allocations: 231.6 kB / 0.8483 GB, free: 134.1 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005609/1.443, allocations: 185.9 kB / 0.8485 GB, free: 133.9 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002313/1.443, allocations: 87.48 kB / 0.8486 GB, free: 133.9 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.006144/1.449, allocations: 4.421 MB / 0.8529 GB, free: 129.4 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.9e-07/1.449, allocations: 0 / 0.8529 GB, free: 129.4 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.007742/1.457, allocations: 1.702 MB / 0.8546 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.0005813/1.458, allocations: 199.8 kB / 0.8548 GB, free: 127.6 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01268/1.47, allocations: 9.433 MB / 0.864 GB, free: 118.1 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.212e-05/1.47, allocations: 1.812 kB / 0.864 GB, free: 118.1 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.005897/1.476, allocations: 3.75 MB / 0.8676 GB, free: 114.3 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005788/1.482, allocations: 0.7431 MB / 0.8684 GB, free: 113.6 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02595/1.508, allocations: 15.9 MB / 0.8839 GB, free: 97.65 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005635/1.514, allocations: 4.796 MB / 0.8886 GB, free: 92.82 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.006375/1.52, allocations: 2.953 MB / 0.8915 GB, free: 89.86 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001538/1.522, allocations: 407.3 kB / 0.8919 GB, free: 89.46 MB / 0.5919 GB Notification: Performance of SimCode: time 1.653e-06/1.522, allocations: 0 / 0.8919 GB, free: 89.46 MB / 0.5919 GB Notification: Performance of Templates: time 0.1063/1.628, allocations: 66.05 MB / 0.9564 GB, free: 23.61 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