Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldTorques.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.WorldTorques,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_ModelicaTest.MultiBody.Forces.WorldTorques") translateModel(ModelicaTest.MultiBody.Forces.WorldTorques,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_ModelicaTest.MultiBody.Forces.WorldTorques") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001542/0.001542, allocations: 177.6 kB / 8.002 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.764/1.764, allocations: 205.3 MB / 213.7 MB, free: 1.738 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001092/0.001092, allocations: 94.09 kB / 261.7 MB, free: 1.68 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.2179/0.2179, allocations: 43.48 MB / 353.2 MB, free: 284 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.741e-05/1.744e-05, allocations: 4 kB / 418.3 MB, free: 28.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1083/0.1084, allocations: 58.86 MB / 477.1 MB, free: 1.633 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.426/0.5344, allocations: 105.2 MB / 0.5687 GB, free: 6.512 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002162/0.5347, allocations: 85.84 kB / 0.5688 GB, free: 6.469 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3581/0.8927, allocations: 140.6 MB / 0.7061 GB, free: 1.523 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.926e-06/0.8928, allocations: 0 / 0.7061 GB, free: 1.523 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0006851/0.8935, allocations: 144 kB / 0.7063 GB, free: 1.383 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2473 * Number of variables: 2473 Notification: Performance of Generate backend data structure: time 0.3436/1.237, allocations: 6.831 MB / 0.7129 GB, free: 94.64 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.793e-05/1.237, allocations: 9.906 kB / 0.7129 GB, free: 94.64 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04365/1.281, allocations: 9.539 MB / 0.7223 GB, free: 94.14 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02437/1.305, allocations: 8.84 MB / 0.7309 GB, free: 93.61 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005989/1.306, allocations: 233 kB / 0.7311 GB, free: 93.61 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004437/1.31, allocations: 430.4 kB / 0.7315 GB, free: 93.6 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0221/1.332, allocations: 9.427 MB / 0.7407 GB, free: 93.56 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03741/1.37, allocations: 14.59 MB / 0.755 GB, free: 89.61 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004489/1.37, allocations: 103.1 kB / 0.7551 GB, free: 89.59 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002583/1.373, allocations: 45.94 kB / 0.7551 GB, free: 89.59 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002367/1.375, allocations: 1.537 MB / 0.7566 GB, free: 89.58 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07563/1.451, allocations: 69.53 MB / 0.8245 GB, free: 42.64 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005169/1.456, allocations: 4.627 MB / 0.829 GB, free: 40.36 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003186/1.459, allocations: 3.002 MB / 0.832 GB, free: 39.05 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001566/1.46, allocations: 54.34 kB / 0.832 GB, free: 39.04 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.079e-05/1.46, allocations: 64.84 kB / 0.8321 GB, free: 38.98 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=249): time 5.912e-06/1.46, allocations: 0 / 0.8321 GB, free: 38.98 MB / 0.4948 GB Notification: Performance of matching and sorting (n=268): time 0.0405/1.5, allocations: 24.43 MB / 0.8559 GB, free: 21.04 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.584e-05/1.5, allocations: 261.1 kB / 0.8562 GB, free: 20.73 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006977/1.507, allocations: 4.935 MB / 0.861 GB, free: 16.39 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0007883/1.508, allocations: 29.2 kB / 0.861 GB, free: 16.36 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.003047/1.511, allocations: 5.154 MB / 0.8661 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001298/1.512, allocations: 1.003 MB / 0.867 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003209/1.513, allocations: 4 kB / 0.8671 GB, free: 10.78 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003746/1.513, allocations: 0.6791 MB / 0.8677 GB, free: 10.2 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003279/1.516, allocations: 2.785 MB / 0.8704 GB, free: 7.711 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006167/1.523, allocations: 8.255 MB / 0.8785 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007657/1.53, allocations: 4.734 MB / 0.8831 GB, free: 9.285 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001789/1.531, allocations: 57.59 kB / 0.8832 GB, free: 9.23 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1168) (initialization): time 0.02081/1.551, allocations: 10.43 MB / 0.8934 GB, free: 100 kB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001185/1.552, allocations: 88 kB / 0.8934 GB, free: 12 kB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001238/1.553, allocations: 286.4 kB / 0.8937 GB, free: 0 / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002367/1.555, allocations: 0.883 MB / 0.8946 GB, free: 15.37 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007358/1.563, allocations: 2.07 MB / 0.8966 GB, free: 13.57 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009761/1.572, allocations: 8.202 MB / 0.9046 GB, free: 5.809 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008267/1.581, allocations: 312 kB / 0.9049 GB, free: 5.547 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002268/1.583, allocations: 0.5381 MB / 0.9054 GB, free: 5.02 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 894 * Number of states: 0 () * Number of discrete variables: 57 (worldTorque3.color[3],worldTorque3.color[2],worldTorque3.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],worldTorque2.color[3],worldTorque2.color[2],worldTorque2.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],fixed1.color[3],fixed1.color[2],fixed1.color[1],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],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 (1102): * Single equations (assignments): 1096 * 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%) 14,(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001905/1.585, allocations: 0.5929 MB / 0.906 GB, free: 4.422 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001466/1.586, allocations: 0.5207 MB / 0.9065 GB, free: 3.895 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007844/1.594, allocations: 4.218 MB / 0.9106 GB, free: 412 kB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-05/1.594, allocations: 31.88 kB / 0.9107 GB, free: 384 kB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.804e-05/1.594, allocations: 8 kB / 0.9107 GB, free: 376 kB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.852e-05/1.594, allocations: 14.77 kB / 0.9107 GB, free: 376 kB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3893/1.984, allocations: 10.37 MB / 0.9208 GB, free: 112.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.105e-05/1.984, allocations: 1.125 kB / 0.9208 GB, free: 112.8 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002524/1.986, allocations: 445.3 kB / 0.9212 GB, free: 112.8 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001713/1.988, allocations: 0.5172 MB / 0.9217 GB, free: 112.8 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002977/1.988, allocations: 15.31 kB / 0.9218 GB, free: 112.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007499/1.996, allocations: 7.272 MB / 0.9289 GB, free: 109 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.484e-06/1.996, allocations: 3.031 kB / 0.9289 GB, free: 109 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01031/2.006, allocations: 7.614 MB / 0.9363 GB, free: 108.2 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00251/2.009, allocations: 0.8935 MB / 0.9372 GB, free: 108.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008904/2.01, allocations: 12.98 kB / 0.9372 GB, free: 108.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002227/2.012, allocations: 107.1 kB / 0.9373 GB, free: 108.1 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003658/2.012, allocations: 167.4 kB / 0.9374 GB, free: 108.1 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001636/2.012, allocations: 69.05 kB / 0.9375 GB, free: 108.1 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.005407/2.018, allocations: 3.337 MB / 0.9408 GB, free: 107.9 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5.41e-07/2.018, allocations: 1.406 kB / 0.9408 GB, free: 107.9 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01094/2.029, allocations: 1.35 MB / 0.9421 GB, free: 107.9 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (Revolute3.phi,Revolute3.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 (220): * Single equations (assignments): 214 * 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%) 11,(1,100.0%) 11,(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007893/2.03, allocations: 147.9 kB / 0.9422 GB, free: 107.8 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01026/2.04, allocations: 7.018 MB / 0.9491 GB, free: 107.4 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 8.556e-06/2.04, allocations: 0 / 0.9491 GB, free: 107.4 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002832/2.043, allocations: 2.413 MB / 0.9514 GB, free: 107.1 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004024/2.047, allocations: 0.5992 MB / 0.952 GB, free: 107.1 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02705/2.074, allocations: 12.2 MB / 0.9639 GB, free: 104.7 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006084/2.08, allocations: 5.216 MB / 0.969 GB, free: 103.8 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.007293/2.087, allocations: 2.807 MB / 0.9718 GB, free: 103.7 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001215/2.089, allocations: 363.3 kB / 0.9721 GB, free: 103.7 MB / 0.5261 GB Notification: Performance of SimCode: time 1.383e-06/2.089, allocations: 0 / 0.9721 GB, free: 103.7 MB / 0.5261 GB Notification: Performance of Templates: time 0.08732/2.176, allocations: 46.4 MB / 1.017 GB, free: 93.31 MB / 0.5261 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldTorques.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldTorques.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldTorques.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldTorques.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldTorques.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldTorques -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldTorques.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldTorques_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/WorldTorques/WorldTorques.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldTorques.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches