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.001193/0.001193, allocations: 187 kB / 18.09 MB, free: 3.727 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.312/1.312, allocations: 223.3 MB / 242.1 MB, free: 9.957 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000777/0.0007769, allocations: 97.38 kB / 293.3 MB, free: 10.56 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.296/0.296, allocations: 44.14 MB / 388.5 MB, free: 38.72 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003824/0.0003824, allocations: 12 kB / 461.1 MB, free: 1.551 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3361/0.3365, allocations: 61.89 MB / 0.5107 GB, free: 37.81 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1468/0.4833, allocations: 109.2 MB / 0.6174 GB, free: 1.844 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002785/0.4837, allocations: 79.94 kB / 0.6175 GB, free: 1.77 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5799/1.064, allocations: 138.9 MB / 0.7531 GB, free: 85.77 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.905e-06/1.064, allocations: 0 / 0.7531 GB, free: 85.77 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0006644/1.064, allocations: 141 kB / 0.7533 GB, free: 85.77 MB / 490.7 MB 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.02578/1.09, allocations: 7.202 MB / 0.7603 GB, free: 80.93 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.622e-05/1.09, allocations: 9.25 kB / 0.7603 GB, free: 80.93 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02766/1.118, allocations: 7.04 MB / 0.7672 GB, free: 77.14 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01907/1.137, allocations: 7.157 MB / 0.7742 GB, free: 72.43 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007124/1.138, allocations: 0.5258 MB / 0.7747 GB, free: 71.9 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00379/1.142, allocations: 0.7031 MB / 0.7754 GB, free: 71.2 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03953/1.181, allocations: 16.51 MB / 0.7915 GB, free: 53.12 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008371/1.182, allocations: 103.3 kB / 0.7916 GB, free: 53.02 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003712/1.186, allocations: 343.8 kB / 0.7919 GB, free: 52.68 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002075/1.188, allocations: 1.502 MB / 0.7934 GB, free: 51.18 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02648/1.214, allocations: 13.01 MB / 0.8061 GB, free: 38.14 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.444/1.658, allocations: 75.34 MB / 0.8797 GB, free: 57.32 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01372/1.672, allocations: 6.242 MB / 0.8858 GB, free: 56.61 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00371/1.676, allocations: 3.481 MB / 0.8892 GB, free: 56.56 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001284/1.676, allocations: 42.3 kB / 0.8892 GB, free: 56.56 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.894e-05/1.676, allocations: 68.41 kB / 0.8893 GB, free: 56.52 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=229): time 5.72e-06/1.676, allocations: 2.812 kB / 0.8893 GB, free: 56.52 MB / 0.5105 GB Notification: Performance of matching and sorting (n=262): time 0.06637/1.742, allocations: 27.53 MB / 0.9162 GB, free: 50.02 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00012/1.743, allocations: 281.8 kB / 0.9164 GB, free: 49.7 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0148/1.757, allocations: 7.067 MB / 0.9233 GB, free: 49.17 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0008597/1.758, allocations: 63.78 kB / 0.9234 GB, free: 49.14 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.003971/1.762, allocations: 4.998 MB / 0.9283 GB, free: 46.56 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.00151/1.764, allocations: 1.018 MB / 0.9293 GB, free: 46 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004537/1.764, allocations: 170.5 kB / 0.9294 GB, free: 46 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0003824/1.765, allocations: 0.6666 MB / 0.9301 GB, free: 45.67 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004165/1.769, allocations: 3.076 MB / 0.9331 GB, free: 45.64 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006513/1.775, allocations: 8.363 MB / 0.9413 GB, free: 37.63 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01286/1.788, allocations: 12.45 MB / 0.9534 GB, free: 28.29 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002341/1.789, allocations: 51.47 kB / 0.9535 GB, free: 28.29 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1118) (initialization): time 0.02335/1.812, allocations: 12.29 MB / 0.9655 GB, free: 24.15 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001203/1.812, allocations: 86 kB / 0.9655 GB, free: 24.15 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002246/1.812, allocations: 182.4 kB / 0.9657 GB, free: 24.15 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002957/1.815, allocations: 1.335 MB / 0.967 GB, free: 23.9 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006278/1.822, allocations: 1.972 MB / 0.9689 GB, free: 23.66 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01097/1.833, allocations: 11.27 MB / 0.9799 GB, free: 16.68 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008267/1.841, allocations: 474.5 kB / 0.9804 GB, free: 16.53 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001709/1.843, allocations: 0.5166 MB / 0.9809 GB, free: 16.07 MB / 0.5105 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 () * Number of clocked 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.006747/1.849, allocations: 3.301 MB / 0.9841 GB, free: 13.18 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001608/1.851, allocations: 0.5977 MB / 0.9847 GB, free: 12.57 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008327/1.859, allocations: 5.277 MB / 0.9899 GB, free: 8.281 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-05/1.859, allocations: 28 kB / 0.9899 GB, free: 8.254 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.103e-05/1.859, allocations: 12 kB / 0.9899 GB, free: 8.242 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.461e-05/1.859, allocations: 13.03 kB / 0.9899 GB, free: 8.242 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0223/1.882, allocations: 12.95 MB / 1.003 GB, free: 13.83 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.667e-05/1.882, allocations: 6.125 kB / 1.003 GB, free: 13.83 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001996/1.884, allocations: 427.3 kB / 1.003 GB, free: 13.5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002609/1.886, allocations: 1.056 MB / 1.004 GB, free: 12.74 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002764/1.887, allocations: 50.36 kB / 1.004 GB, free: 12.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01145/1.898, allocations: 10.22 MB / 1.014 GB, free: 3.199 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-06/1.898, allocations: 7.875 kB / 1.014 GB, free: 3.191 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01945/1.918, allocations: 9.321 MB / 1.023 GB, free: 12.71 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002686/1.92, allocations: 0.6544 MB / 1.024 GB, free: 12.06 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008822/1.921, allocations: 44 kB / 1.024 GB, free: 12.02 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002083/1.923, allocations: 150 kB / 1.024 GB, free: 11.93 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004356/1.924, allocations: 163.4 kB / 1.024 GB, free: 11.82 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001748/1.924, allocations: 64 kB / 1.024 GB, free: 11.76 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.007847/1.932, allocations: 4.49 MB / 1.029 GB, free: 7.949 MB / 0.5417 GB Notification: Performance of sort global known variables: time 3.11e-07/1.932, allocations: 0 / 1.029 GB, free: 7.949 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.009595/1.941, allocations: 1.598 MB / 1.03 GB, free: 6.359 MB / 0.5417 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 () * Number of clocked 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.000635/1.942, allocations: 192.7 kB / 1.03 GB, free: 6.164 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01298/1.955, allocations: 7.769 MB / 1.038 GB, free: 14.39 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 7.333e-06/1.955, allocations: 4 kB / 1.038 GB, free: 14.39 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.004082/1.959, allocations: 2.781 MB / 1.041 GB, free: 11.57 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00667/1.966, allocations: 0.8425 MB / 1.041 GB, free: 10.77 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03461/2.001, allocations: 17.9 MB / 1.059 GB, free: 8.887 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007393/2.008, allocations: 5.014 MB / 1.064 GB, free: 3.875 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.008115/2.016, allocations: 2.821 MB / 1.067 GB, free: 1.066 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001373/2.018, allocations: 391.4 kB / 1.067 GB, free: 0.6836 MB / 0.573 GB Notification: Performance of SimCode: time 1.172e-06/2.018, allocations: 0 / 1.067 GB, free: 0.6836 MB / 0.573 GB Notification: Performance of Templates: time 0.4499/2.468, allocations: 60.66 MB / 1.126 GB, free: 174.7 MB / 0.6042 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/jenkins1/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