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.001198, allocations: 109.3 kB / 18.45 MB, free: 4.648 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.001198/0.001198, allocations: 189.2 kB / 19.38 MB, free: 3.723 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.36/1.36, allocations: 222.9 MB / 243.1 MB, free: 15.18 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.207/0.207, allocations: 44.18 MB / 337.4 MB, free: 2.695 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001372/0.001372, allocations: 67.89 kB / 471.2 MB, free: 13.17 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3274/0.3288, allocations: 60.82 MB / 0.5196 GB, free: 3.598 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Force): time 0.01688/0.3457, allocations: 15.75 MB / 0.535 GB, free: 8.148 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01291/0.3587, allocations: 4.942 MB / 0.5398 GB, free: 4.238 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005157/0.3639, allocations: 108.2 kB / 0.5399 GB, free: 4.219 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009881/0.3738, allocations: 5.024 MB / 0.5448 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007809/0.3817, allocations: 2.55 MB / 0.5473 GB, free: 15.01 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002965/0.3847, allocations: 1.109 MB / 0.5484 GB, free: 14.25 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01053/0.3952, allocations: 6.88 MB / 0.5551 GB, free: 7.617 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008077/0.4034, allocations: 5.807 MB / 0.5608 GB, free: 1.734 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004637/0.408, allocations: 2.442 MB / 0.5631 GB, free: 15.29 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005465/0.4135, allocations: 3.271 MB / 0.5663 GB, free: 12 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001951/0.4155, allocations: 0.5156 MB / 0.5668 GB, free: 11.49 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003776/0.4193, allocations: 1.416 MB / 0.5682 GB, free: 10.07 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003976/0.4233, allocations: 3.067 MB / 0.5712 GB, free: 6.996 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006371/0.4297, allocations: 3.426 MB / 0.5746 GB, free: 3.551 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01417/0.4439, allocations: 10.65 MB / 0.585 GB, free: 8.867 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.882e-06/0.4439, allocations: 0 / 0.585 GB, free: 8.867 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.647e-06/0.444, allocations: 0 / 0.585 GB, free: 8.867 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0004867/0.4445, allocations: 7.938 kB / 0.585 GB, free: 8.859 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.02083/0.4653, allocations: 7.522 MB / 0.5923 GB, free: 1.25 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.648e-05/0.4654, allocations: 8.031 kB / 0.5923 GB, free: 1.242 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0135/0.4789, allocations: 2.765 MB / 0.595 GB, free: 14.46 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01146/0.4904, allocations: 4.366 MB / 0.5993 GB, free: 10.01 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003616/0.4908, allocations: 365.7 kB / 0.5996 GB, free: 9.652 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001903/0.4927, allocations: 487.6 kB / 0.6001 GB, free: 9.176 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03094/0.5236, allocations: 15.06 MB / 0.6148 GB, free: 9.121 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003156/0.524, allocations: 67.31 kB / 0.6149 GB, free: 9.055 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001703/0.5257, allocations: 227.8 kB / 0.6151 GB, free: 8.832 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005433/0.5312, allocations: 2.875 MB / 0.6179 GB, free: 5.949 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02687/0.5581, allocations: 12.8 MB / 0.6304 GB, free: 9.125 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07912/0.6372, allocations: 58.85 MB / 0.6879 GB, free: 12.79 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0188/0.6561, allocations: 7.266 MB / 0.695 GB, free: 5.363 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005193/0.6613, allocations: 3.911 MB / 0.6988 GB, free: 1.438 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01726/0.6786, allocations: 8.996 MB / 0.7076 GB, free: 8.277 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.218e-05/0.6787, allocations: 64.5 kB / 0.7076 GB, free: 8.203 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=246): time 4.979e-06/0.6787, allocations: 4 kB / 0.7076 GB, free: 8.199 MB / 0.5606 GB Notification: Performance of matching and sorting (n=288): time 0.3588/1.038, allocations: 32.85 MB / 0.7397 GB, free: 160.8 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.691e-05/1.038, allocations: 236.2 kB / 0.7399 GB, free: 160.5 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008701/1.046, allocations: 6.719 MB / 0.7465 GB, free: 157.6 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0007693/1.047, allocations: 65.45 kB / 0.7466 GB, free: 157.6 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002375/1.05, allocations: 4.467 MB / 0.7509 GB, free: 153.7 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001352/1.051, allocations: 1.102 MB / 0.752 GB, free: 152.8 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002272/1.053, allocations: 1.796 MB / 0.7537 GB, free: 151.6 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.024e-05/1.053, allocations: 304.8 kB / 0.754 GB, free: 151.3 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003942/1.057, allocations: 3.624 MB / 0.7576 GB, free: 147.7 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005631/1.063, allocations: 8.657 MB / 0.766 GB, free: 136.6 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01183/1.075, allocations: 13.22 MB / 0.7789 GB, free: 121 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001473/1.075, allocations: 48 kB / 0.779 GB, free: 120.9 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1144) (initialization): time 0.02373/1.099, allocations: 14.09 MB / 0.7927 GB, free: 106.8 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.29e-05/1.099, allocations: 80 kB / 0.7928 GB, free: 106.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001579/1.099, allocations: 177.9 kB / 0.793 GB, free: 106.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005208/1.104, allocations: 2.263 MB / 0.7952 GB, free: 104.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006297/1.111, allocations: 2.023 MB / 0.7972 GB, free: 102.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01426/1.125, allocations: 14.22 MB / 0.8111 GB, free: 87.78 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007512/1.132, allocations: 0.5145 MB / 0.8116 GB, free: 87.27 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001546/1.134, allocations: 0.5078 MB / 0.8121 GB, free: 86.76 MB / 0.5606 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.005454/1.139, allocations: 3.046 MB / 0.815 GB, free: 83.7 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001607/1.141, allocations: 0.5592 MB / 0.8156 GB, free: 83.14 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01172/1.153, allocations: 7.228 MB / 0.8226 GB, free: 75.89 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-05/1.153, allocations: 32 kB / 0.8227 GB, free: 75.86 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.439e-05/1.153, allocations: 9.125 kB / 0.8227 GB, free: 75.85 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.856e-05/1.153, allocations: 19.89 kB / 0.8227 GB, free: 75.83 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02648/1.179, allocations: 15.07 MB / 0.8374 GB, free: 60.72 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.522e-05/1.18, allocations: 8.031 kB / 0.8374 GB, free: 60.71 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002359/1.182, allocations: 495.2 kB / 0.8379 GB, free: 60.23 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004773/1.187, allocations: 2.017 MB / 0.8399 GB, free: 58.2 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000505/1.187, allocations: 55.98 kB / 0.8399 GB, free: 58.15 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01418/1.201, allocations: 13.58 MB / 0.8532 GB, free: 44.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/1.201, allocations: 4 kB / 0.8532 GB, free: 44.29 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.015/1.216, allocations: 11.49 MB / 0.8644 GB, free: 32.64 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00206/1.219, allocations: 0.6342 MB / 0.865 GB, free: 31.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001105/1.22, allocations: 52.12 kB / 0.8651 GB, free: 31.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002556/1.222, allocations: 208.2 kB / 0.8653 GB, free: 31.73 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004959/1.223, allocations: 177.6 kB / 0.8654 GB, free: 31.55 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002007/1.223, allocations: 87.89 kB / 0.8655 GB, free: 31.47 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.005341/1.228, allocations: 4.3 MB / 0.8697 GB, free: 27.18 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2e-07/1.228, allocations: 4 kB / 0.8697 GB, free: 27.18 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.007762/1.236, allocations: 1.618 MB / 0.8713 GB, free: 25.57 MB / 0.5606 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.0006093/1.237, allocations: 185.4 kB / 0.8715 GB, free: 25.38 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01108/1.248, allocations: 8.798 MB / 0.8801 GB, free: 16.59 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 9.007e-06/1.248, allocations: 0 / 0.8801 GB, free: 16.59 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.005378/1.253, allocations: 3.481 MB / 0.8835 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00621/1.26, allocations: 0.7448 MB / 0.8842 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02521/1.285, allocations: 15.74 MB / 0.8996 GB, free: 12.53 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006429/1.291, allocations: 4.609 MB / 0.9041 GB, free: 7.879 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001934/1.293, allocations: 443.4 kB / 0.9045 GB, free: 7.445 MB / 0.5762 GB Notification: Performance of SimCode: time 5.71e-07/1.293, allocations: 0 / 0.9045 GB, free: 7.445 MB / 0.5762 GB Notification: Performance of Templates: time 0.4482/1.741, allocations: 147.4 MB / 1.048 GB, free: 108.9 MB / 0.6075 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