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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.0009513/0.0009513, allocations: 169 kB / 8.742 MB, free: 344 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.435/1.435, allocations: 221.5 MB / 230.7 MB, free: 7.574 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009289/0.0009291, allocations: 92.98 kB / 281.6 MB, free: 5.324 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1859/0.1859, allocations: 44.15 MB / 376.5 MB, free: 3.035 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.017e-05/2.029e-05, allocations: 4 kB / 444.6 MB, free: 15.22 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1225/0.1226, allocations: 61.91 MB / 0.4947 GB, free: 1.25 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3967/0.5193, allocations: 108.3 MB / 0.6005 GB, free: 4.137 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002522/0.5196, allocations: 71.97 kB / 0.6005 GB, free: 4.066 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5692/1.089, allocations: 123.5 MB / 0.7212 GB, free: 105.3 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.134e-06/1.089, allocations: 3.812 kB / 0.7212 GB, free: 105.3 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0004776/1.089, allocations: 126.2 kB / 0.7213 GB, free: 105.3 MB / 0.4948 GB 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.02175/1.111, allocations: 6.359 MB / 0.7275 GB, free: 102.8 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.903e-05/1.111, allocations: 11.61 kB / 0.7275 GB, free: 102.8 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02734/1.139, allocations: 7.067 MB / 0.7344 GB, free: 102.4 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01798/1.157, allocations: 6.952 MB / 0.7412 GB, free: 101.6 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002728/1.157, allocations: 207.6 kB / 0.7414 GB, free: 101.6 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002239/1.159, allocations: 376.1 kB / 0.7418 GB, free: 101.6 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01353/1.173, allocations: 8.715 MB / 0.7503 GB, free: 101.5 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0227/1.195, allocations: 13.58 MB / 0.7636 GB, free: 94.64 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000245/1.196, allocations: 84.25 kB / 0.7636 GB, free: 94.63 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008551/1.197, allocations: 41.88 kB / 0.7637 GB, free: 94.63 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001592/1.198, allocations: 1.474 MB / 0.7651 GB, free: 94.38 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05781/1.256, allocations: 67.45 MB / 0.831 GB, free: 38.84 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005187/1.261, allocations: 5.044 MB / 0.8359 GB, free: 34.16 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003099/1.264, allocations: 3.384 MB / 0.8392 GB, free: 31.07 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004523/1.265, allocations: 383 kB / 0.8396 GB, free: 30.68 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.864e-05/1.265, allocations: 60.12 kB / 0.8396 GB, free: 30.62 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=240): time 5.31e-06/1.265, allocations: 0 / 0.8396 GB, free: 30.62 MB / 0.4948 GB Notification: Performance of matching and sorting (n=283): time 0.04968/1.315, allocations: 27 MB / 0.866 GB, free: 5.172 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.494e-05/1.315, allocations: 232.2 kB / 0.8662 GB, free: 4.898 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007035/1.322, allocations: 4.543 MB / 0.8707 GB, free: 384 kB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.000939/1.323, allocations: 29.7 kB / 0.8707 GB, free: 348 kB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.00367/1.326, allocations: 4.626 MB / 0.8752 GB, free: 11.66 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001416/1.328, allocations: 1.052 MB / 0.8762 GB, free: 10.6 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000382/1.328, allocations: 3.938 kB / 0.8762 GB, free: 10.59 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0004979/1.329, allocations: 0.6738 MB / 0.8769 GB, free: 9.91 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004368/1.333, allocations: 3.132 MB / 0.88 GB, free: 6.773 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00784/1.341, allocations: 8.226 MB / 0.888 GB, free: 11.98 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00787/1.349, allocations: 5.013 MB / 0.8929 GB, free: 6.965 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001079/1.349, allocations: 52 kB / 0.8929 GB, free: 6.914 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1132) (initialization): time 0.3324/1.681, allocations: 11.67 MB / 0.9043 GB, free: 116.1 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001575/1.682, allocations: 86.38 kB / 0.9044 GB, free: 116.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003451/1.682, allocations: 181.4 kB / 0.9046 GB, free: 116.1 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004656/1.687, allocations: 1.688 MB / 0.9062 GB, free: 116 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007698/1.694, allocations: 2.055 MB / 0.9082 GB, free: 116 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01472/1.709, allocations: 10.6 MB / 0.9186 GB, free: 113.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007357/1.716, allocations: 342.5 kB / 0.9189 GB, free: 113.5 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001833/1.718, allocations: 0.5208 MB / 0.9194 GB, free: 113.5 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 831 * Number of states: 0 () * Number of discrete variables: 67 (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.forceArrow.arrowLine.twoHeadedArrow,force2.forceArrow.headAtOrigin,force2.forceColor[3],force2.forceColor[2],force2.forceColor[1],force1.connectionLineColor[3],force1.connectionLineColor[2],force1.connectionLineColor[1],force1.forceArrow.arrowLine.twoHeadedArrow,force1.forceArrow.headAtOrigin,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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1062): * Single equations (assignments): 1057 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(4,75.0%) 20,(4,75.0%) 20} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002537/1.721, allocations: 0.5661 MB / 0.92 GB, free: 113.4 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001544/1.722, allocations: 499.5 kB / 0.9205 GB, free: 113.4 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009859/1.732, allocations: 5.877 MB / 0.9262 GB, free: 113.2 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.685e-05/1.732, allocations: 33.53 kB / 0.9262 GB, free: 113.2 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.238e-05/1.732, allocations: 10.72 kB / 0.9262 GB, free: 113.2 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.187e-05/1.732, allocations: 16.06 kB / 0.9263 GB, free: 113.2 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02127/1.754, allocations: 12.75 MB / 0.9387 GB, free: 112.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.546e-05/1.754, allocations: 3.125 kB / 0.9387 GB, free: 112.1 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002322/1.756, allocations: 498.4 kB / 0.9392 GB, free: 112.1 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003458/1.76, allocations: 1.392 MB / 0.9405 GB, free: 111.8 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003655/1.76, allocations: 7.188 kB / 0.9405 GB, free: 111.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01054/1.771, allocations: 9.703 MB / 0.95 GB, free: 106.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.325e-06/1.771, allocations: 10.78 kB / 0.95 GB, free: 106.6 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01308/1.784, allocations: 10 MB / 0.9598 GB, free: 102.8 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001716/1.785, allocations: 0.5095 MB / 0.9603 GB, free: 102.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000674/1.786, allocations: 6.531 kB / 0.9603 GB, free: 102.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002145/1.788, allocations: 153.9 kB / 0.9605 GB, free: 102.5 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004227/1.789, allocations: 164.5 kB / 0.9606 GB, free: 102.5 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001977/1.789, allocations: 74.69 kB / 0.9607 GB, free: 102.5 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.00434/1.793, allocations: 3.05 MB / 0.9637 GB, free: 101.4 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.21e-07/1.793, allocations: 0 / 0.9637 GB, free: 101.4 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.006995/1.8, allocations: 1.335 MB / 0.965 GB, free: 101.4 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 8 (Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.w,Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (227): * Single equations (assignments): 222 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(4,75.0%) 17,(4,75.0%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005032/1.801, allocations: 157.9 kB / 0.9651 GB, free: 101.3 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01094/1.812, allocations: 7.941 MB / 0.9729 GB, free: 98.83 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.123e-06/1.812, allocations: 0 / 0.9729 GB, free: 98.83 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.004717/1.817, allocations: 3.018 MB / 0.9758 GB, free: 97.64 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003729/1.82, allocations: 0.536 MB / 0.9763 GB, free: 97.43 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02189/1.842, allocations: 12.06 MB / 0.9881 GB, free: 93.25 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005249/1.847, allocations: 4.769 MB / 0.9928 GB, free: 89.75 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.007018/1.855, allocations: 2.824 MB / 0.9955 GB, free: 88.04 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001424/1.856, allocations: 338.9 kB / 0.9959 GB, free: 87.72 MB / 0.5261 GB Notification: Performance of SimCode: time 1.262e-06/1.856, allocations: 4 kB / 0.9959 GB, free: 87.72 MB / 0.5261 GB Notification: Performance of Templates: time 0.08193/1.938, allocations: 50.25 MB / 1.045 GB, free: 45.47 MB / 0.5261 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","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches