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.002107/0.002106, allocations: 179.4 kB / 8.364 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.202/2.202, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001072/0.001071, allocations: 87.8 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2872/0.2872, allocations: 43.49 MB / 353.6 MB, free: 2.273 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.537e-05/2.536e-05, allocations: 224 / 418.2 MB, free: 41.05 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5081/0.5081, allocations: 58.86 MB / 477.1 MB, free: 5.25 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1958/0.704, allocations: 105 MB / 0.5685 GB, free: 10.23 MB / 411.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002839/0.7043, allocations: 71.97 kB / 0.5686 GB, free: 10.16 MB / 411.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.8978/1.602, allocations: 134.9 MB / 0.7003 GB, free: 99.82 MB / 475.1 MB Notification: Performance of FrontEnd: time 2.484e-06/1.602, allocations: 0 / 0.7003 GB, free: 99.82 MB / 475.1 MB Notification: Performance of Transformations before backend: time 0.0004748/1.603, allocations: 136.8 kB / 0.7004 GB, free: 99.81 MB / 475.1 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.02699/1.63, allocations: 6.631 MB / 0.7069 GB, free: 95.47 MB / 475.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.857e-05/1.63, allocations: 12.72 kB / 0.7069 GB, free: 95.47 MB / 475.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07351/1.703, allocations: 9.497 MB / 0.7162 GB, free: 90.62 MB / 475.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03003/1.733, allocations: 8.741 MB / 0.7247 GB, free: 82.06 MB / 475.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003504/1.734, allocations: 220 kB / 0.725 GB, free: 81.85 MB / 475.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0032/1.737, allocations: 403.8 kB / 0.7253 GB, free: 81.45 MB / 475.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02266/1.76, allocations: 9.059 MB / 0.7342 GB, free: 72.39 MB / 475.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03617/1.796, allocations: 14.08 MB / 0.7479 GB, free: 56.86 MB / 475.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004061/1.796, allocations: 95.17 kB / 0.748 GB, free: 56.76 MB / 475.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001797/1.798, allocations: 47.95 kB / 0.7481 GB, free: 56.71 MB / 475.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002945/1.801, allocations: 1.471 MB / 0.7495 GB, free: 55.25 MB / 475.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1074/1.909, allocations: 67.7 MB / 0.8156 GB, free: 2.031 MB / 491.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01062/1.919, allocations: 4.604 MB / 0.8201 GB, free: 13.27 MB / 0.4952 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006918/1.926, allocations: 2.972 MB / 0.823 GB, free: 10.29 MB / 0.4952 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002756/1.927, allocations: 50.28 kB / 0.8231 GB, free: 10.25 MB / 0.4952 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.793e-05/1.927, allocations: 64.39 kB / 0.8231 GB, free: 10.18 MB / 0.4952 GB Notification: Performance of pre-optimization done (n=242): time 7.104e-06/1.927, allocations: 0 / 0.8231 GB, free: 10.18 MB / 0.4952 GB Notification: Performance of matching and sorting (n=263): time 0.4527/2.379, allocations: 25.59 MB / 0.8481 GB, free: 116.4 MB / 0.4952 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001451/2.38, allocations: 265.8 kB / 0.8484 GB, free: 116.2 MB / 0.4952 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01576/2.395, allocations: 4.816 MB / 0.8531 GB, free: 115.7 MB / 0.4952 GB Notification: Performance of collectPreVariables (initialization): time 0.0007165/2.396, allocations: 27.08 kB / 0.8531 GB, free: 115.7 MB / 0.4952 GB Notification: Performance of collectInitialEqns (initialization): time 0.004859/2.401, allocations: 4.809 MB / 0.8578 GB, free: 112.9 MB / 0.4952 GB Notification: Performance of collectInitialBindings (initialization): time 0.00196/2.403, allocations: 0.9868 MB / 0.8588 GB, free: 112.3 MB / 0.4952 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001069/2.404, allocations: 1.938 kB / 0.8588 GB, free: 112.3 MB / 0.4952 GB Notification: Performance of setup shared object (initialization): time 0.0006978/2.405, allocations: 0.6766 MB / 0.8594 GB, free: 112 MB / 0.4952 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007884/2.413, allocations: 2.708 MB / 0.8621 GB, free: 112 MB / 0.4952 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0115/2.424, allocations: 7.988 MB / 0.8699 GB, free: 105.1 MB / 0.4952 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01044/2.435, allocations: 4.601 MB / 0.8744 GB, free: 105 MB / 0.4952 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002425/2.435, allocations: 54 kB / 0.8744 GB, free: 105 MB / 0.4952 GB Notification: Performance of matching and sorting (n=1135) (initialization): time 0.02787/2.463, allocations: 9.929 MB / 0.8841 GB, free: 102 MB / 0.4952 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001559/2.463, allocations: 83.56 kB / 0.8842 GB, free: 102 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002601/2.464, allocations: 193 kB / 0.8844 GB, free: 102 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002952/2.467, allocations: 0.7952 MB / 0.8852 GB, free: 101.9 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01233/2.479, allocations: 2.002 MB / 0.8871 GB, free: 101.6 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01331/2.492, allocations: 8.021 MB / 0.8949 GB, free: 96.03 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01126/2.504, allocations: 309 kB / 0.8952 GB, free: 95.99 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002187/2.506, allocations: 0.5249 MB / 0.8958 GB, free: 95.92 MB / 0.4952 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 864 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1072): * Single equations (assignments): 1066 * 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.001938/2.508, allocations: 0.5754 MB / 0.8963 GB, free: 95.45 MB / 0.4952 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001625/2.509, allocations: 0.5069 MB / 0.8968 GB, free: 95.17 MB / 0.4952 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01076/2.52, allocations: 4.068 MB / 0.9008 GB, free: 93.66 MB / 0.4952 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.97e-05/2.52, allocations: 26.97 kB / 0.9008 GB, free: 93.66 MB / 0.4952 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.386e-05/2.52, allocations: 9.484 kB / 0.9008 GB, free: 93.66 MB / 0.4952 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.855e-05/2.52, allocations: 17.47 kB / 0.9008 GB, free: 93.66 MB / 0.4952 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03068/2.551, allocations: 9.982 MB / 0.9106 GB, free: 89.94 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-05/2.551, allocations: 3.188 kB / 0.9106 GB, free: 89.94 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004177/2.555, allocations: 416.3 kB / 0.911 GB, free: 89.91 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002394/2.558, allocations: 0.4895 MB / 0.9115 GB, free: 89.77 MB / 0.4952 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000571/2.558, allocations: 10.38 kB / 0.9115 GB, free: 89.77 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01039/2.569, allocations: 7.089 MB / 0.9184 GB, free: 84.52 MB / 0.4952 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.115e-06/2.569, allocations: 6 kB / 0.9184 GB, free: 84.52 MB / 0.4952 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01615/2.585, allocations: 7.404 MB / 0.9256 GB, free: 79.52 MB / 0.4952 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003949/2.589, allocations: 0.8807 MB / 0.9265 GB, free: 78.68 MB / 0.4952 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001847/2.591, allocations: 7.953 kB / 0.9265 GB, free: 78.67 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00505/2.596, allocations: 109.1 kB / 0.9266 GB, free: 78.61 MB / 0.4952 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009087/2.597, allocations: 145.1 kB / 0.9267 GB, free: 78.52 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002734/2.597, allocations: 67.84 kB / 0.9268 GB, free: 78.46 MB / 0.4952 GB Notification: Performance of sorting global known variables: time 0.007785/2.605, allocations: 3.26 MB / 0.93 GB, free: 75.65 MB / 0.4952 GB Notification: Performance of sort global known variables: time 1.603e-06/2.605, allocations: 7 kB / 0.93 GB, free: 75.64 MB / 0.4952 GB Notification: Performance of remove unused functions: time 0.01178/2.617, allocations: 1.31 MB / 0.9313 GB, free: 74.34 MB / 0.4952 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (218): * Single equations (assignments): 212 * 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.0009049/2.618, allocations: 155.9 kB / 0.9314 GB, free: 74.19 MB / 0.4952 GB Notification: Performance of simCode: created initialization part: time 0.01429/2.632, allocations: 6.81 MB / 0.9381 GB, free: 68.01 MB / 0.4952 GB Notification: Performance of simCode: created event and clocks part: time 8.295e-06/2.632, allocations: 0 / 0.9381 GB, free: 68.01 MB / 0.4952 GB Notification: Performance of simCode: created simulation system equations: time 0.004574/2.637, allocations: 2.34 MB / 0.9404 GB, free: 65.86 MB / 0.4952 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005204/2.642, allocations: 0.6023 MB / 0.9409 GB, free: 65.35 MB / 0.4952 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03202/2.674, allocations: 12.61 MB / 0.9533 GB, free: 54.17 MB / 0.4952 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01026/2.684, allocations: 5.05 MB / 0.9582 GB, free: 50.47 MB / 0.4952 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002532/2.687, allocations: 419.9 kB / 0.9586 GB, free: 50.08 MB / 0.4952 GB Notification: Performance of SimCode: time 1.272e-06/2.687, allocations: 0 / 0.9586 GB, free: 50.08 MB / 0.4952 GB Notification: Performance of Templates: time 0.7444/3.431, allocations: 166.5 MB / 1.121 GB, free: 69.68 MB / 0.5108 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