Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForces.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.WorldForces,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.WorldForces") translateModel(ModelicaTest.MultiBody.Forces.WorldForces,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.WorldForces") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009346/0.0009347, allocations: 180.3 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.229/1.229, allocations: 221.3 MB / 236 MB, free: 2.949 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.0008308/0.0008308, allocations: 103.6 kB / 287 MB, free: 232 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1791/0.1791, allocations: 44.15 MB / 382 MB, free: 14.66 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.901e-05/2.905e-05, allocations: 0 / 451.8 MB, free: 9.426 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1271/0.1272, allocations: 61.92 MB / 0.5017 GB, free: 11.45 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3929/0.5201, allocations: 109 MB / 0.6082 GB, free: 12.26 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002425/0.5204, allocations: 75.97 kB / 0.6082 GB, free: 12.18 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6422/1.163, allocations: 141.4 MB / 0.7463 GB, free: 110.6 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.923e-06/1.163, allocations: 0 / 0.7463 GB, free: 110.6 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0004914/1.163, allocations: 143.8 kB / 0.7465 GB, free: 110.6 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2429 * Number of variables: 2429 Notification: Performance of Generate backend data structure: time 0.02543/1.189, allocations: 6.879 MB / 0.7532 GB, free: 108 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.455e-05/1.189, allocations: 8.938 kB / 0.7532 GB, free: 108 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03559/1.224, allocations: 9.506 MB / 0.7625 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02302/1.247, allocations: 8.37 MB / 0.7707 GB, free: 106.5 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005995/1.248, allocations: 0.526 MB / 0.7712 GB, free: 106.5 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004089/1.252, allocations: 0.701 MB / 0.7719 GB, free: 106.5 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03907/1.291, allocations: 16.52 MB / 0.788 GB, free: 99.58 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000615/1.292, allocations: 101.4 kB / 0.7881 GB, free: 99.57 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003257/1.295, allocations: 344.1 kB / 0.7884 GB, free: 99.38 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00219/1.297, allocations: 1.498 MB / 0.7899 GB, free: 99.12 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02821/1.326, allocations: 13 MB / 0.8026 GB, free: 94.88 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06879/1.394, allocations: 75.42 MB / 0.8762 GB, free: 22.21 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01395/1.408, allocations: 6.283 MB / 0.8824 GB, free: 15.76 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003681/1.412, allocations: 3.441 MB / 0.8857 GB, free: 12.3 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001904/1.412, allocations: 52.27 kB / 0.8858 GB, free: 12.27 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.452e-05/1.412, allocations: 51.34 kB / 0.8858 GB, free: 12.21 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=229): time 6.382e-06/1.412, allocations: 0 / 0.8858 GB, free: 12.21 MB / 0.5105 GB Notification: Performance of matching and sorting (n=262): time 0.06298/1.475, allocations: 24.14 MB / 0.9094 GB, free: 3.809 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001314/1.476, allocations: 290.8 kB / 0.9097 GB, free: 3.465 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3119/1.788, allocations: 6.236 MB / 0.9158 GB, free: 114.2 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0007284/1.788, allocations: 62.36 kB / 0.9158 GB, free: 114.1 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.00449/1.793, allocations: 4.992 MB / 0.9207 GB, free: 113 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001425/1.794, allocations: 1.012 MB / 0.9217 GB, free: 112.5 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005995/1.795, allocations: 170.7 kB / 0.9218 GB, free: 112.5 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0004956/1.795, allocations: 0.6729 MB / 0.9225 GB, free: 112.1 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005232/1.801, allocations: 3.017 MB / 0.9254 GB, free: 112.1 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007497/1.808, allocations: 8.268 MB / 0.9335 GB, free: 105.3 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01051/1.819, allocations: 4.951 MB / 0.9384 GB, free: 105.3 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002788/1.819, allocations: 53.66 kB / 0.9384 GB, free: 105.3 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1118) (initialization): time 0.02163/1.841, allocations: 12.15 MB / 0.9503 GB, free: 104.3 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002776/1.841, allocations: 85.72 kB / 0.9504 GB, free: 104.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003476/1.841, allocations: 187.5 kB / 0.9505 GB, free: 104.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003128/1.844, allocations: 1.362 MB / 0.9519 GB, free: 104.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006602/1.851, allocations: 1.974 MB / 0.9538 GB, free: 104.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01221/1.863, allocations: 11.21 MB / 0.9647 GB, free: 97.57 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009847/1.873, allocations: 478.6 kB / 0.9652 GB, free: 97.41 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003022/1.876, allocations: 0.5173 MB / 0.9657 GB, free: 97.34 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 848 * Number of states: 0 () * Number of discrete variables: 71 (forceAndTorque.torqueArrow.arrowLine.twoHeadedArrow,forceAndTorque.torqueArrow.headAtOrigin,forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceArrow.arrowLine.twoHeadedArrow,forceAndTorque.forceArrow.headAtOrigin,forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],BodyCylinder3.color[3],BodyCylinder3.color[2],BodyCylinder3.color[1],BodyCylinder3.body.sphereColor[3],BodyCylinder3.body.sphereColor[2],BodyCylinder3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],worldTorque1.arrow.arrowLine.twoHeadedArrow,worldTorque1.arrow.headAtOrigin,worldTorque1.color[3],worldTorque1.color[2],worldTorque1.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],worldForce.arrow.arrowLine.twoHeadedArrow,worldForce.arrow.headAtOrigin,worldForce.color[3],worldForce.color[2],worldForce.color[1],BodyCylinder1.color[3],BodyCylinder1.color[2],BodyCylinder1.color[1],BodyCylinder1.body.sphereColor[3],BodyCylinder1.body.sphereColor[2],BodyCylinder1.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 (1043): * Single equations (assignments): 1037 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 13,(1,100.0%) 14,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003517/1.88, allocations: 0.7894 MB / 0.9665 GB, free: 96.71 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001831/1.882, allocations: 0.5911 MB / 0.967 GB, free: 96.38 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01004/1.892, allocations: 5.235 MB / 0.9722 GB, free: 94.52 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.732e-05/1.892, allocations: 28.14 kB / 0.9722 GB, free: 94.52 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.109e-05/1.892, allocations: 9.844 kB / 0.9722 GB, free: 94.52 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.335e-05/1.892, allocations: 18.77 kB / 0.9722 GB, free: 94.52 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02563/1.917, allocations: 12.9 MB / 0.9848 GB, free: 89.87 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-05/1.918, allocations: 1.594 kB / 0.9848 GB, free: 89.87 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002008/1.92, allocations: 429.4 kB / 0.9852 GB, free: 89.84 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002533/1.922, allocations: 1.042 MB / 0.9862 GB, free: 89.61 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002696/1.922, allocations: 55.58 kB / 0.9863 GB, free: 89.58 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009933/1.932, allocations: 10.2 MB / 0.9963 GB, free: 83.09 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/1.932, allocations: 3.281 kB / 0.9963 GB, free: 83.09 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01225/1.945, allocations: 8.965 MB / 1.005 GB, free: 79.26 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002351/1.947, allocations: 0.661 MB / 1.006 GB, free: 78.79 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001905/1.949, allocations: 50.27 kB / 1.006 GB, free: 78.75 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003549/1.953, allocations: 146.2 kB / 1.006 GB, free: 78.72 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004824/1.953, allocations: 156.9 kB / 1.006 GB, free: 78.7 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002289/1.953, allocations: 66.64 kB / 1.006 GB, free: 78.68 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.00935/1.963, allocations: 4.424 MB / 1.01 GB, free: 77.18 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8.32e-07/1.963, allocations: 0 / 1.01 GB, free: 77.18 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01074/1.973, allocations: 1.591 MB / 1.012 GB, free: 77 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.w,Revolute2.phi,Revolute2.w,Revolute1.phi,Revolute1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (204): * Single equations (assignments): 198 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(4,75.0%) 18,(1,100.0%) 11,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009851/1.974, allocations: 195.6 kB / 1.012 GB, free: 76.86 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0122/1.987, allocations: 7.676 MB / 1.02 GB, free: 72.41 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.903e-06/1.987, allocations: 3.719 kB / 1.02 GB, free: 72.41 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003787/1.99, allocations: 2.756 MB / 1.022 GB, free: 69.89 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005095/1.996, allocations: 0.8101 MB / 1.023 GB, free: 69.22 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02613/2.022, allocations: 12.67 MB / 1.035 GB, free: 57.92 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008907/2.031, allocations: 5.16 MB / 1.041 GB, free: 54.13 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.008615/2.039, allocations: 2.832 MB / 1.043 GB, free: 52.32 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001944/2.041, allocations: 384.3 kB / 1.044 GB, free: 51.95 MB / 0.5261 GB Notification: Performance of SimCode: time 1.022e-06/2.041, allocations: 4 kB / 1.044 GB, free: 51.95 MB / 0.5261 GB Notification: Performance of Templates: time 0.1063/2.148, allocations: 60.42 MB / 1.103 GB, free: 15.55 MB / 0.5417 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForces.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForces.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForces.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForces.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForces.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForces -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForces.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForces_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/WorldForces/WorldForces.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForces.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches