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.00224/0.00224, allocations: 180.5 kB / 17.41 MB, free: 4.41 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.412/2.412, allocations: 205.4 MB / 223.6 MB, free: 9.027 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.001164/0.001164, allocations: 81.44 kB / 271.9 MB, free: 8.266 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5716/0.5716, allocations: 43.55 MB / 363.7 MB, free: 51.92 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006532/0.0006533, allocations: 16 kB / 432.6 MB, free: 5.648 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1844/0.1851, allocations: 58.85 MB / 491.4 MB, free: 10.71 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5192/0.7044, allocations: 105.9 MB / 0.5834 GB, free: 12.29 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003866/0.7049, allocations: 83.95 kB / 0.5835 GB, free: 12.21 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9573/1.662, allocations: 135.4 MB / 0.7157 GB, free: 83.29 MB / 490.7 MB Notification: Performance of FrontEnd: time 5.139e-06/1.662, allocations: 1.781 kB / 0.7157 GB, free: 83.29 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0007826/1.663, allocations: 149.3 kB / 0.7158 GB, free: 83.28 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: 2370 * Number of variables: 2370 Notification: Performance of Generate backend data structure: time 0.04021/1.703, allocations: 7.029 MB / 0.7227 GB, free: 80.32 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.312e-05/1.703, allocations: 8.75 kB / 0.7227 GB, free: 80.32 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04974/1.753, allocations: 7.026 MB / 0.7296 GB, free: 79.83 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02647/1.78, allocations: 7.533 MB / 0.7369 GB, free: 78.77 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008962/1.781, allocations: 0.5039 MB / 0.7374 GB, free: 78.75 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004691/1.785, allocations: 0.6784 MB / 0.7381 GB, free: 78.74 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05289/1.838, allocations: 16.03 MB / 0.7537 GB, free: 70.95 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006866/1.839, allocations: 94.34 kB / 0.7538 GB, free: 70.89 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004396/1.843, allocations: 330 kB / 0.7541 GB, free: 70.71 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003253/1.847, allocations: 1.461 MB / 0.7556 GB, free: 70.44 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03835/1.885, allocations: 12.71 MB / 0.768 GB, free: 66.41 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1064/1.992, allocations: 70.72 MB / 0.837 GB, free: 5.645 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02099/2.013, allocations: 5.903 MB / 0.8428 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007931/2.021, allocations: 3.091 MB / 0.8458 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004177/2.021, allocations: 52.55 kB / 0.8459 GB, free: 12.44 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001171/2.021, allocations: 60.06 kB / 0.8459 GB, free: 12.37 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=242): time 1.452e-05/2.021, allocations: 0 / 0.8459 GB, free: 12.37 MB / 0.4948 GB Notification: Performance of matching and sorting (n=260): time 0.1071/2.128, allocations: 22.25 MB / 0.8677 GB, free: 5.922 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002087/2.129, allocations: 257.2 kB / 0.8679 GB, free: 5.613 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.4077/2.536, allocations: 6.916 MB / 0.8747 GB, free: 106.2 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.000755/2.537, allocations: 61.73 kB / 0.8747 GB, free: 106.2 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.007475/2.545, allocations: 4.887 MB / 0.8795 GB, free: 105.1 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.00239/2.547, allocations: 1.006 MB / 0.8805 GB, free: 104.5 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001565/2.549, allocations: 172.8 kB / 0.8806 GB, free: 104.5 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.001204/2.55, allocations: 0.6568 MB / 0.8813 GB, free: 104.2 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009717/2.56, allocations: 2.874 MB / 0.8841 GB, free: 104.2 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01367/2.574, allocations: 8.045 MB / 0.8919 GB, free: 97.53 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02061/2.594, allocations: 11.87 MB / 0.9035 GB, free: 90.77 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003772/2.595, allocations: 51.56 kB / 0.9036 GB, free: 90.77 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1099) (initialization): time 0.03596/2.631, allocations: 11.24 MB / 0.9146 GB, free: 89 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003321/2.631, allocations: 83.73 kB / 0.9146 GB, free: 89 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004679/2.632, allocations: 183 kB / 0.9148 GB, free: 89 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003589/2.635, allocations: 0.7825 MB / 0.9156 GB, free: 88.85 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01297/2.648, allocations: 1.935 MB / 0.9175 GB, free: 88.61 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01599/2.664, allocations: 8.323 MB / 0.9256 GB, free: 82.78 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01336/2.678, allocations: 461.2 kB / 0.926 GB, free: 82.62 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003005/2.681, allocations: 0.5034 MB / 0.9265 GB, free: 82.55 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 831 * 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 (1036): * Single equations (assignments): 1030 * 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.01241/2.693, allocations: 3.213 MB / 0.9297 GB, free: 81.06 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002312/2.696, allocations: 0.5864 MB / 0.9302 GB, free: 80.74 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01549/2.711, allocations: 4.352 MB / 0.9345 GB, free: 79.05 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.214e-05/2.711, allocations: 28.03 kB / 0.9345 GB, free: 79.05 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.492e-05/2.711, allocations: 5.969 kB / 0.9345 GB, free: 79.05 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.102e-05/2.711, allocations: 13.64 kB / 0.9345 GB, free: 79.05 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04212/2.754, allocations: 11.24 MB / 0.9455 GB, free: 74.86 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.934e-05/2.754, allocations: 4 kB / 0.9455 GB, free: 74.86 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003724/2.757, allocations: 420.2 kB / 0.9459 GB, free: 74.82 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0026/2.76, allocations: 0.4964 MB / 0.9464 GB, free: 74.69 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006542/2.761, allocations: 52.3 kB / 0.9465 GB, free: 74.66 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01198/2.773, allocations: 7.401 MB / 0.9537 GB, free: 69.16 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.58e-06/2.773, allocations: 0.7812 kB / 0.9537 GB, free: 69.16 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01981/2.793, allocations: 7.59 MB / 0.9611 GB, free: 65.88 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005093/2.798, allocations: 0.9851 MB / 0.9621 GB, free: 65.29 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003135/2.801, allocations: 40.91 kB / 0.9621 GB, free: 65.25 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006577/2.808, allocations: 148 kB / 0.9622 GB, free: 65.22 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00124/2.809, allocations: 147.7 kB / 0.9624 GB, free: 65.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005531/2.81, allocations: 72.56 kB / 0.9624 GB, free: 65.18 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0148/2.824, allocations: 4.409 MB / 0.9668 GB, free: 63.72 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.002e-06/2.824, allocations: 0 / 0.9668 GB, free: 63.72 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01643/2.841, allocations: 1.518 MB / 0.9682 GB, free: 63.55 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.001234/2.842, allocations: 188.6 kB / 0.9684 GB, free: 63.4 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01876/2.861, allocations: 7.244 MB / 0.9755 GB, free: 60.68 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.219e-05/2.861, allocations: 0 / 0.9755 GB, free: 60.68 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.006139/2.867, allocations: 2.446 MB / 0.9779 GB, free: 59.56 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01206/2.879, allocations: 0.7878 MB / 0.9786 GB, free: 59.21 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05033/2.93, allocations: 17.95 MB / 0.9962 GB, free: 49.98 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01633/2.946, allocations: 4.903 MB / 1.001 GB, free: 47.95 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003123/2.949, allocations: 452.9 kB / 1.001 GB, free: 47.52 MB / 0.5105 GB Notification: Performance of SimCode: time 1.422e-06/2.949, allocations: 3.938 kB / 1.001 GB, free: 47.52 MB / 0.5105 GB Notification: Performance of Templates: time 0.7953/3.745, allocations: 179.8 MB / 1.177 GB, free: 58.36 MB / 0.5261 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