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.001198/0.001197, allocations: 108.7 kB / 17.21 MB, free: 6.27 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.001272/0.001272, allocations: 194 kB / 18.12 MB, free: 5.363 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.528/1.528, allocations: 222.9 MB / 241.8 MB, free: 15.54 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2197/0.2197, allocations: 44.17 MB / 336.1 MB, free: 3.012 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 66.83 kB / 407.7 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1409/0.1421, allocations: 60.82 MB / 468.5 MB, free: 14.85 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Force): time 0.3647/0.5069, allocations: 89.18 MB / 0.5446 GB, free: 0.9805 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04353/0.5505, allocations: 17.11 MB / 0.5613 GB, free: 4.641 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02089/0.5714, allocations: 388 kB / 0.5617 GB, free: 4.582 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01017/0.5816, allocations: 5.04 MB / 0.5666 GB, free: 288 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008599/0.5903, allocations: 2.395 MB / 0.569 GB, free: 13.88 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003549/0.5938, allocations: 1.026 MB / 0.57 GB, free: 12.85 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01381/0.6077, allocations: 10.08 MB / 0.5798 GB, free: 2.746 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01102/0.6187, allocations: 5.741 MB / 0.5854 GB, free: 12.95 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005563/0.6243, allocations: 2.172 MB / 0.5875 GB, free: 10.77 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005749/0.6301, allocations: 3.509 MB / 0.591 GB, free: 7.254 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001621/0.6318, allocations: 376 kB / 0.5913 GB, free: 6.887 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003517/0.6353, allocations: 1.35 MB / 0.5926 GB, free: 5.535 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004271/0.6396, allocations: 2.949 MB / 0.5955 GB, free: 2.578 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006068/0.6457, allocations: 3.301 MB / 0.5987 GB, free: 15.25 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01441/0.6601, allocations: 10.21 MB / 0.6087 GB, free: 5.02 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.095e-06/0.6602, allocations: 0 / 0.6087 GB, free: 5.02 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.6602, allocations: 0 / 0.6087 GB, free: 5.02 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0005031/0.6607, allocations: 0 / 0.6087 GB, free: 5.02 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.02169/0.6824, allocations: 7.518 MB / 0.6161 GB, free: 13.41 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.6825, allocations: 12.03 kB / 0.6161 GB, free: 13.4 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01268/0.6951, allocations: 2.761 MB / 0.6188 GB, free: 10.62 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009434/0.7046, allocations: 4.3 MB / 0.623 GB, free: 6.242 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003288/0.705, allocations: 361.8 kB / 0.6233 GB, free: 5.887 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001621/0.7066, allocations: 491.5 kB / 0.6238 GB, free: 5.406 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0301/0.7367, allocations: 15.05 MB / 0.6385 GB, free: 5.355 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002965/0.737, allocations: 67.36 kB / 0.6385 GB, free: 5.289 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001646/0.7387, allocations: 231.8 kB / 0.6388 GB, free: 5.062 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005046/0.7438, allocations: 2.859 MB / 0.6416 GB, free: 2.199 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0262/0.77, allocations: 12.82 MB / 0.6541 GB, free: 5.352 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3291/1.099, allocations: 59.09 MB / 0.7118 GB, free: 154.1 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01884/1.118, allocations: 7.279 MB / 0.7189 GB, free: 153.4 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004652/1.123, allocations: 3.884 MB / 0.7227 GB, free: 153.4 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01316/1.136, allocations: 9.008 MB / 0.7315 GB, free: 149.6 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.012e-05/1.136, allocations: 74.02 kB / 0.7315 GB, free: 149.5 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=246): time 6.211e-06/1.136, allocations: 0 / 0.7315 GB, free: 149.5 MB / 0.5294 GB Notification: Performance of matching and sorting (n=288): time 0.07975/1.216, allocations: 32.85 MB / 0.7636 GB, free: 127.9 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.192e-05/1.216, allocations: 231.6 kB / 0.7638 GB, free: 127.7 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007133/1.223, allocations: 6.721 MB / 0.7704 GB, free: 120.9 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0005226/1.224, allocations: 69.7 kB / 0.7705 GB, free: 120.9 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002167/1.226, allocations: 4.463 MB / 0.7748 GB, free: 116.4 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.000999/1.227, allocations: 1.102 MB / 0.7759 GB, free: 115.3 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001874/1.229, allocations: 1.796 MB / 0.7777 GB, free: 113.5 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 4.936e-05/1.229, allocations: 301.1 kB / 0.778 GB, free: 113.2 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003819/1.233, allocations: 3.628 MB / 0.7815 GB, free: 109.6 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00543/1.238, allocations: 8.657 MB / 0.79 GB, free: 98.66 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01082/1.249, allocations: 13.21 MB / 0.8029 GB, free: 83.29 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001096/1.249, allocations: 55.94 kB / 0.8029 GB, free: 83.24 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1144) (initialization): time 0.02189/1.271, allocations: 14.09 MB / 0.8167 GB, free: 69.13 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002429/1.271, allocations: 80 kB / 0.8167 GB, free: 69.05 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003693/1.271, allocations: 176.8 kB / 0.8169 GB, free: 68.88 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005485/1.277, allocations: 2.267 MB / 0.8191 GB, free: 66.61 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006492/1.284, allocations: 2.024 MB / 0.8211 GB, free: 64.58 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01444/1.298, allocations: 13.29 MB / 0.8341 GB, free: 51.04 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007429/1.305, allocations: 0.507 MB / 0.8346 GB, free: 50.53 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001426/1.307, allocations: 0.5117 MB / 0.8351 GB, free: 50.02 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.005209/1.312, allocations: 3.047 MB / 0.8381 GB, free: 46.96 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001288/1.313, allocations: 0.5592 MB / 0.8386 GB, free: 46.39 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01203/1.325, allocations: 7.228 MB / 0.8457 GB, free: 39.15 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.32e-05/1.326, allocations: 33.08 kB / 0.8457 GB, free: 39.12 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.06e-05/1.326, allocations: 8 kB / 0.8457 GB, free: 39.11 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.048e-05/1.326, allocations: 11.95 kB / 0.8457 GB, free: 39.1 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03057/1.356, allocations: 15.27 MB / 0.8606 GB, free: 23.78 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.748e-05/1.356, allocations: 7.422 kB / 0.8606 GB, free: 23.77 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002267/1.359, allocations: 495.2 kB / 0.8611 GB, free: 23.29 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004696/1.363, allocations: 2.019 MB / 0.8631 GB, free: 21.27 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004004/1.364, allocations: 55.98 kB / 0.8631 GB, free: 21.21 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01361/1.377, allocations: 12.58 MB / 0.8754 GB, free: 8.375 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.09e-06/1.377, allocations: 4 kB / 0.8754 GB, free: 8.371 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01707/1.394, allocations: 11.48 MB / 0.8866 GB, free: 12.73 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002761/1.397, allocations: 0.6342 MB / 0.8872 GB, free: 12.07 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001919/1.399, allocations: 48 kB / 0.8873 GB, free: 12.03 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003913/1.403, allocations: 207.6 kB / 0.8875 GB, free: 11.82 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001308/1.404, allocations: 181.6 kB / 0.8877 GB, free: 11.64 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009846/1.405, allocations: 82.83 kB / 0.8877 GB, free: 11.57 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.01204/1.417, allocations: 4.3 MB / 0.8919 GB, free: 7.277 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.002e-06/1.417, allocations: 0 / 0.8919 GB, free: 7.277 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.009204/1.427, allocations: 1.616 MB / 0.8935 GB, free: 5.664 MB / 0.545 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.0008274/1.428, allocations: 193.5 kB / 0.8937 GB, free: 5.469 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01486/1.442, allocations: 8.751 MB / 0.9023 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 9.258e-06/1.442, allocations: 0.5625 kB / 0.9023 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.006569/1.449, allocations: 3.545 MB / 0.9057 GB, free: 9.148 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006206/1.455, allocations: 0.7121 MB / 0.9064 GB, free: 8.445 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2657/1.721, allocations: 18.1 MB / 0.9241 GB, free: 197.4 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01249/1.734, allocations: 4.629 MB / 0.9286 GB, free: 196.5 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.01079/1.744, allocations: 2.803 MB / 0.9313 GB, free: 196.4 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00281/1.747, allocations: 384.4 kB / 0.9317 GB, free: 196.4 MB / 0.5606 GB Notification: Performance of SimCode: time 1.462e-06/1.747, allocations: 1.438 kB / 0.9317 GB, free: 196.4 MB / 0.5606 GB Notification: Performance of Templates: time 0.1047/1.852, allocations: 65.73 MB / 0.9959 GB, free: 149.1 MB / 0.5606 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/Force/Force.csv","/var/lib/jenkins/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