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.0007934/0.0007933, allocations: 97.2 kB / 18.01 MB, free: 5.602 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.001011/0.001011, allocations: 177.6 kB / 18.91 MB, free: 4.738 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.4/1.4, allocations: 223.3 MB / 242.9 MB, free: 16 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1994/0.1994, allocations: 44.25 MB / 338.3 MB, free: 2.605 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003727/0.000373, allocations: 8 kB / 411 MB, free: 27.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1219/0.1223, allocations: 61.92 MB / 472.9 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Force): time 0.3352/0.4575, allocations: 87.09 MB / 0.5469 GB, free: 2.109 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04356/0.5011, allocations: 17.05 MB / 0.5635 GB, free: 6.121 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02251/0.5237, allocations: 386.8 kB / 0.5639 GB, free: 6.062 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002568/0.5263, allocations: 0.5976 MB / 0.5645 GB, free: 5.594 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007589/0.5339, allocations: 2.415 MB / 0.5668 GB, free: 3.879 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00265/0.5366, allocations: 0.913 MB / 0.5677 GB, free: 3.191 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01343/0.5501, allocations: 10.08 MB / 0.5776 GB, free: 9.09 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01326/0.5634, allocations: 8.125 MB / 0.5855 GB, free: 0.8594 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004061/0.5675, allocations: 1.77 MB / 0.5872 GB, free: 15.08 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005627/0.5731, allocations: 3.017 MB / 0.5902 GB, free: 12.05 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00134/0.5745, allocations: 212 kB / 0.5904 GB, free: 11.85 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00327/0.5778, allocations: 1.182 MB / 0.5915 GB, free: 10.66 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003315/0.5811, allocations: 2.711 MB / 0.5942 GB, free: 7.945 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004382/0.5855, allocations: 3.037 MB / 0.5972 GB, free: 4.883 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009921/0.5955, allocations: 8.199 MB / 0.6052 GB, free: 12.66 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.5955, allocations: 0 / 0.6052 GB, free: 12.66 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.906e-06/0.5955, allocations: 0 / 0.6052 GB, free: 12.66 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003652/0.5959, allocations: 0 / 0.6052 GB, free: 12.66 MB / 446.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.01474/0.6107, allocations: 6.181 MB / 0.6112 GB, free: 6.398 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.841e-05/0.6107, allocations: 12.03 kB / 0.6112 GB, free: 6.387 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0133/0.624, allocations: 2.827 MB / 0.614 GB, free: 3.547 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009665/0.6337, allocations: 4.288 MB / 0.6182 GB, free: 15.17 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003868/0.6342, allocations: 357.8 kB / 0.6185 GB, free: 14.82 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001798/0.636, allocations: 491.6 kB / 0.619 GB, free: 14.34 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03164/0.6677, allocations: 15.08 MB / 0.6337 GB, free: 14.26 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000364/0.6681, allocations: 67.45 kB / 0.6338 GB, free: 14.2 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00166/0.6697, allocations: 227.8 kB / 0.634 GB, free: 13.97 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005641/0.6754, allocations: 2.859 MB / 0.6368 GB, free: 11.11 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02815/0.7036, allocations: 12.84 MB / 0.6493 GB, free: 14.25 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08496/0.7886, allocations: 59.15 MB / 0.7071 GB, free: 1.609 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2551/1.044, allocations: 7.301 MB / 0.7142 GB, free: 188 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005449/1.049, allocations: 3.893 MB / 0.718 GB, free: 186.6 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01602/1.065, allocations: 9.003 MB / 0.7268 GB, free: 182.5 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.795e-05/1.065, allocations: 62.03 kB / 0.7269 GB, free: 182.5 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=246): time 9.398e-06/1.065, allocations: 1.531 kB / 0.7269 GB, free: 182.5 MB / 0.5294 GB Notification: Performance of matching and sorting (n=288): time 0.08292/1.148, allocations: 32.85 MB / 0.7589 GB, free: 160.8 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.918e-05/1.148, allocations: 239.6 kB / 0.7592 GB, free: 160.6 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009672/1.158, allocations: 6.71 MB / 0.7657 GB, free: 153.8 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0006911/1.159, allocations: 71.27 kB / 0.7658 GB, free: 153.8 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002457/1.161, allocations: 4.469 MB / 0.7702 GB, free: 149.3 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001251/1.163, allocations: 1.094 MB / 0.7712 GB, free: 148.2 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009701/1.164, allocations: 0.7596 MB / 0.772 GB, free: 147.5 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 4.74e-05/1.164, allocations: 305.1 kB / 0.7723 GB, free: 147.2 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004312/1.168, allocations: 3.621 MB / 0.7758 GB, free: 143.5 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006418/1.174, allocations: 8.657 MB / 0.7842 GB, free: 132.5 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01232/1.187, allocations: 13.23 MB / 0.7972 GB, free: 116.8 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001528/1.187, allocations: 52 kB / 0.7972 GB, free: 116.7 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1144) (initialization): time 0.02412/1.211, allocations: 14.09 MB / 0.811 GB, free: 102.6 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001129/1.211, allocations: 80 kB / 0.811 GB, free: 102.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002045/1.211, allocations: 176 kB / 0.8112 GB, free: 102.4 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005345/1.217, allocations: 2.264 MB / 0.8134 GB, free: 100.1 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006495/1.223, allocations: 2.024 MB / 0.8154 GB, free: 98.09 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01405/1.237, allocations: 13.3 MB / 0.8284 GB, free: 84.54 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006742/1.244, allocations: 0.507 MB / 0.8289 GB, free: 84.03 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001267/1.246, allocations: 0.5113 MB / 0.8294 GB, free: 83.52 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.005223/1.251, allocations: 3.05 MB / 0.8324 GB, free: 80.46 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001223/1.252, allocations: 0.5591 MB / 0.8329 GB, free: 79.89 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01192/1.264, allocations: 7.232 MB / 0.84 GB, free: 72.64 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.217e-05/1.264, allocations: 28 kB / 0.84 GB, free: 72.61 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-05/1.264, allocations: 15.98 kB / 0.84 GB, free: 72.59 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.45e-05/1.264, allocations: 11.95 kB / 0.84 GB, free: 72.58 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02602/1.29, allocations: 15.27 MB / 0.8549 GB, free: 57.26 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.083e-05/1.29, allocations: 4 kB / 0.8549 GB, free: 57.26 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002351/1.293, allocations: 495.2 kB / 0.8554 GB, free: 56.77 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004877/1.297, allocations: 2.013 MB / 0.8574 GB, free: 54.75 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004652/1.298, allocations: 56.48 kB / 0.8574 GB, free: 54.7 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01442/1.312, allocations: 12.6 MB / 0.8697 GB, free: 41.84 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.003e-06/1.312, allocations: 9.625 kB / 0.8697 GB, free: 41.84 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0162/1.329, allocations: 11.46 MB / 0.8809 GB, free: 30.22 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001645/1.33, allocations: 0.6537 MB / 0.8816 GB, free: 29.54 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001519/1.332, allocations: 51.98 kB / 0.8816 GB, free: 29.49 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003271/1.335, allocations: 203.7 kB / 0.8818 GB, free: 29.29 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006883/1.336, allocations: 179.2 kB / 0.882 GB, free: 29.12 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003239/1.336, allocations: 80 kB / 0.8821 GB, free: 29.04 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.006784/1.343, allocations: 4.3 MB / 0.8863 GB, free: 24.75 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.6e-07/1.343, allocations: 0 / 0.8863 GB, free: 24.75 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.008667/1.352, allocations: 1.617 MB / 0.8878 GB, free: 23.14 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.001028/1.353, allocations: 199.6 kB / 0.888 GB, free: 22.94 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01251/1.365, allocations: 8.75 MB / 0.8966 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.955e-06/1.365, allocations: 0 / 0.8966 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.00583/1.371, allocations: 3.544 MB / 0.9 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00926/1.38, allocations: 0.7048 MB / 0.9007 GB, free: 9.918 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2543/1.635, allocations: 18.84 MB / 0.9191 GB, free: 163.9 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008475/1.643, allocations: 4.613 MB / 0.9236 GB, free: 162.9 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001865/1.645, allocations: 448.7 kB / 0.9241 GB, free: 162.9 MB / 0.5294 GB Notification: Performance of SimCode: time 8.41e-07/1.645, allocations: 0 / 0.9241 GB, free: 162.9 MB / 0.5294 GB Notification: Performance of Templates: time 0.173/1.818, allocations: 144.2 MB / 1.065 GB, free: 34.27 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 -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