Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForces2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.WorldForces2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForces2") translateModel(ModelicaTest.MultiBody.Forces.WorldForces2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForces2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0023/0.002305, allocations: 188.3 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.013/2.013, allocations: 205.4 MB / 222.5 MB, free: 13.85 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001141/0.001141, allocations: 102.8 kB / 270.9 MB, free: 13.38 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2923/0.2923, allocations: 43.55 MB / 362.7 MB, free: 11.33 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007035/0.0007038, allocations: 16 kB / 431.4 MB, free: 20.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.164/0.1647, allocations: 58.87 MB / 490.2 MB, free: 9.332 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldForces2): time 0.4604/0.6252, allocations: 86.45 MB / 0.5632 GB, free: 13.43 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0591/0.6844, allocations: 19.34 MB / 0.5821 GB, free: 14.3 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02104/0.7055, allocations: 430.9 kB / 0.5825 GB, free: 13.88 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01655/0.7221, allocations: 4.374 MB / 0.5867 GB, free: 9.488 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.05168/0.7738, allocations: 12.33 MB / 0.5988 GB, free: 13.12 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007622/0.7815, allocations: 0.9947 MB / 0.5998 GB, free: 12.13 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.1076/0.8891, allocations: 39.62 MB / 0.6385 GB, free: 4.461 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01668/0.9059, allocations: 7.36 MB / 0.6456 GB, free: 13.04 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004536/0.9105, allocations: 1.725 MB / 0.6473 GB, free: 11.3 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005606/0.9161, allocations: 2.403 MB / 0.6497 GB, free: 8.895 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001756/0.9179, allocations: 240 kB / 0.6499 GB, free: 8.66 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004322/0.9223, allocations: 1.1 MB / 0.651 GB, free: 7.559 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00539/0.9277, allocations: 2.774 MB / 0.6537 GB, free: 4.777 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003134/0.9309, allocations: 1.384 MB / 0.655 GB, free: 3.383 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01587/0.9468, allocations: 9.391 MB / 0.6642 GB, free: 9.969 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.9469, allocations: 0 / 0.6642 GB, free: 9.969 MB / 474.7 MB Notification: Performance of FrontEnd: time 3.076e-06/0.9469, allocations: 0 / 0.6642 GB, free: 9.969 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0004004/0.9473, allocations: 0 / 0.6642 GB, free: 9.969 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2370 * Number of variables: 2370 Notification: Performance of Generate backend data structure: time 0.02617/0.9735, allocations: 7.097 MB / 0.6711 GB, free: 2.789 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.552e-05/0.9736, allocations: 8.031 kB / 0.6711 GB, free: 2.781 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1285/1.102, allocations: 11.18 MB / 0.6821 GB, free: 7.578 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01902/1.121, allocations: 5.594 MB / 0.6875 GB, free: 1.906 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005815/1.122, allocations: 390 kB / 0.6879 GB, free: 1.523 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002516/1.124, allocations: 0.5229 MB / 0.6884 GB, free: 1 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04783/1.172, allocations: 15.72 MB / 0.7038 GB, free: 240 kB / 0.4949 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003932/1.173, allocations: 79.3 kB / 0.7038 GB, free: 160 kB / 0.4949 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002027/1.175, allocations: 247.8 kB / 0.7041 GB, free: 15.91 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.009482/1.184, allocations: 2.927 MB / 0.7069 GB, free: 12.98 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04572/1.23, allocations: 12.93 MB / 0.7195 GB, free: 32 kB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.753/1.983, allocations: 59.95 MB / 0.7781 GB, free: 138.3 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02428/2.007, allocations: 5.91 MB / 0.7839 GB, free: 135 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004017/2.008, allocations: 52.67 kB / 0.7839 GB, free: 135 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.193e-05/2.008, allocations: 54.03 kB / 0.784 GB, free: 134.9 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=242): time 6.763e-06/2.008, allocations: 0 / 0.784 GB, free: 134.9 MB / 0.5105 GB Notification: Performance of matching and sorting (n=260): time 0.1044/2.112, allocations: 23.47 MB / 0.8069 GB, free: 113.5 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001137/2.112, allocations: 269.1 kB / 0.8071 GB, free: 113.2 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01541/2.128, allocations: 7.328 MB / 0.8143 GB, free: 105.9 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.000721/2.129, allocations: 61.7 kB / 0.8144 GB, free: 105.8 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.004177/2.133, allocations: 4.607 MB / 0.8189 GB, free: 101.2 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001664/2.135, allocations: 1.002 MB / 0.8198 GB, free: 100.2 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001015/2.136, allocations: 168 kB / 0.82 GB, free: 100.1 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000595/2.136, allocations: 0.6661 MB / 0.8207 GB, free: 99.38 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007923/2.144, allocations: 2.964 MB / 0.8235 GB, free: 96.41 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01095/2.155, allocations: 8.061 MB / 0.8314 GB, free: 85.86 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01093/2.166, allocations: 4.774 MB / 0.8361 GB, free: 81.08 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001628/2.166, allocations: 52 kB / 0.8361 GB, free: 81.03 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1093) (initialization): time 0.02989/2.196, allocations: 11.26 MB / 0.8471 GB, free: 69.75 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001269/2.197, allocations: 84 kB / 0.8472 GB, free: 69.67 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002401/2.197, allocations: 180 kB / 0.8474 GB, free: 69.49 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004152/2.201, allocations: 1.032 MB / 0.8484 GB, free: 68.46 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01245/2.213, allocations: 2.02 MB / 0.8504 GB, free: 66.44 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01607/2.23, allocations: 9.591 MB / 0.8597 GB, free: 56.47 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009178/2.239, allocations: 471.3 kB / 0.8602 GB, free: 56.01 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001444/2.24, allocations: 0.496 MB / 0.8607 GB, free: 55.52 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 825 * Number of states: 0 () * Number of discrete variables: 57 (worldForce2.color[3],worldForce2.color[2],worldForce2.color[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],fixed2.color[3],fixed2.color[2],fixed2.color[1],worldForce1.color[3],worldForce1.color[2],worldForce1.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],fixed1.color[3],fixed1.color[2],fixed1.color[1],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 (1030): * Single equations (assignments): 1024 * 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%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007481/2.248, allocations: 3.204 MB / 0.8638 GB, free: 52.3 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001414/2.249, allocations: 0.59 MB / 0.8644 GB, free: 51.7 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01279/2.262, allocations: 4.694 MB / 0.8689 GB, free: 46.98 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.823e-05/2.262, allocations: 28 kB / 0.869 GB, free: 46.95 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.013e-05/2.262, allocations: 8 kB / 0.869 GB, free: 46.95 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.042e-05/2.262, allocations: 15.94 kB / 0.869 GB, free: 46.93 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03101/2.293, allocations: 11.87 MB / 0.8806 GB, free: 35.06 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.22e-05/2.293, allocations: 3.375 kB / 0.8806 GB, free: 35.06 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004918/2.298, allocations: 0.507 MB / 0.8811 GB, free: 34.55 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003419/2.302, allocations: 0.7211 MB / 0.8818 GB, free: 33.82 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004727/2.302, allocations: 49.31 kB / 0.8818 GB, free: 33.78 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0134/2.316, allocations: 8.644 MB / 0.8903 GB, free: 24.73 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.329e-06/2.316, allocations: 4.031 kB / 0.8903 GB, free: 24.73 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02007/2.336, allocations: 8.216 MB / 0.8983 GB, free: 16.41 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003904/2.34, allocations: 1.044 MB / 0.8993 GB, free: 15.34 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001971/2.342, allocations: 44 kB / 0.8994 GB, free: 15.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005064/2.347, allocations: 159.5 kB / 0.8995 GB, free: 15.15 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009671/2.348, allocations: 149.7 kB / 0.8997 GB, free: 15 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003081/2.348, allocations: 64 kB / 0.8997 GB, free: 14.94 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.01069/2.359, allocations: 4.74 MB / 0.9044 GB, free: 10.22 MB / 0.5105 GB Notification: Performance of sort global known variables: time 9.12e-07/2.359, allocations: 0 / 0.9044 GB, free: 10.22 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.009772/2.369, allocations: 1.561 MB / 0.9059 GB, free: 8.668 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (Revolute3.phi,Revolute3.w,Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.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 (215): * Single equations (assignments): 209 * 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%) 10,(1,100.0%) 10,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00111/2.37, allocations: 203.6 kB / 0.9061 GB, free: 8.465 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01777/2.388, allocations: 7.453 MB / 0.9133 GB, free: 1.023 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.967e-06/2.388, allocations: 0 / 0.9133 GB, free: 1.023 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.3395/2.727, allocations: 2.523 MB / 0.9158 GB, free: 169.2 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006017/2.733, allocations: 0.7569 MB / 0.9166 GB, free: 169.2 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04401/2.777, allocations: 17.99 MB / 0.9341 GB, free: 161.7 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01187/2.789, allocations: 5.046 MB / 0.939 GB, free: 160.1 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002932/2.792, allocations: 458.3 kB / 0.9395 GB, free: 160 MB / 0.5105 GB Notification: Performance of SimCode: time 1.664e-06/2.792, allocations: 0 / 0.9395 GB, free: 160 MB / 0.5105 GB Notification: Performance of Templates: time 0.6885/3.481, allocations: 172.8 MB / 1.108 GB, free: 164.9 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForces2.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForces2.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForces2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForces2.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForces2.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForces2 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForces2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForces2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/WorldForces2/WorldForces2.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForces2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches