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/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001564/0.001564, allocations: 88.2 kB / 20.94 MB, free: 3.605 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001865/0.001865, allocations: 169 kB / 24.24 MB, free: 308 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8272/0.8272, allocations: 158.6 MB / 186.1 MB, free: 2.898 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.128/0.128, allocations: 32.37 MB / 270.7 MB, free: 14.76 MB / 266.7 MB " [Timeout remaining time 180] 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 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 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.WorldTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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=5002,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldTorques") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.144e-06/2.144e-06, allocations: 0 / 347.7 MB, free: 9.719 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.715e-05/1.93e-05, allocations: 14.25 kB / 347.7 MB, free: 9.703 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldTorques): time 0.01171/0.01173, allocations: 16.96 MB / 364.7 MB, free: 8.68 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.008791/0.02052, allocations: 5.292 MB / 370 MB, free: 3.371 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001356/0.02188, allocations: 135.4 kB / 370.1 MB, free: 3.238 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004756/0.02663, allocations: 5.471 MB / 375.6 MB, free: 13.75 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003776/0.03041, allocations: 3.036 MB / 378.6 MB, free: 10.7 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001534/0.03194, allocations: 1.392 MB / 380 MB, free: 9.301 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.006378/0.03832, allocations: 8.924 MB / 388.9 MB, free: 368 kB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0047/0.04302, allocations: 5.987 MB / 394.9 MB, free: 10.29 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004299/0.04732, allocations: 4.303 MB / 399.2 MB, free: 5.973 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003692/0.05101, allocations: 4.369 MB / 403.6 MB, free: 1.594 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006141/0.05162, allocations: 0.625 MB / 404.2 MB, free: 0.9688 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00209/0.05371, allocations: 1.603 MB / 405.8 MB, free: 15.36 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002224/0.05594, allocations: 3.822 MB / 409.6 MB, free: 11.53 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001765/0.0577, allocations: 2.364 MB / 412 MB, free: 9.16 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006591/0.06429, allocations: 7.94 MB / 419.9 MB, free: 1.191 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.0643, allocations: 0 / 419.9 MB, free: 1.191 MB / 346.7 MB Notification: Performance of FrontEnd: time 9.81e-07/0.0643, allocations: 0 / 419.9 MB, free: 1.191 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.509e-05/0.06437, allocations: 0 / 419.9 MB, free: 1.191 MB / 346.7 MB 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.009567/0.07394, allocations: 9.072 MB / 429 MB, free: 8.031 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.742e-05/0.07399, allocations: 8.031 kB / 429 MB, free: 8.023 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008856/0.08284, allocations: 4.018 MB / 433 MB, free: 3.996 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2406/0.3234, allocations: 4.539 MB / 437.6 MB, free: 88.91 MB / 362.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003119/0.3237, allocations: 403.9 kB / 438 MB, free: 88.89 MB / 362.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001318/0.3251, allocations: 0.5379 MB / 438.5 MB, free: 88.89 MB / 362.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01138/0.3364, allocations: 9.973 MB / 448.5 MB, free: 83.77 MB / 362.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001152/0.3366, allocations: 79.16 kB / 448.6 MB, free: 83.73 MB / 362.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003941/0.337, allocations: 253.5 kB / 448.8 MB, free: 83.61 MB / 362.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00244/0.3394, allocations: 3.068 MB / 451.9 MB, free: 81.66 MB / 362.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008341/0.3477, allocations: 5.407 MB / 457.3 MB, free: 76.28 MB / 362.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03355/0.3813, allocations: 68.08 MB / 0.5131 GB, free: 7.074 MB / 362.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005998/0.3873, allocations: 2.713 MB / 0.5157 GB, free: 4.305 MB / 362.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001216/0.3885, allocations: 1.061 MB / 0.5167 GB, free: 3.227 MB / 362.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001099/0.3886, allocations: 45.59 kB / 0.5168 GB, free: 3.184 MB / 362.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.16e-05/0.3886, allocations: 67.05 kB / 0.5168 GB, free: 3.109 MB / 362.8 MB Notification: Performance of pre-optimization done (n=249): time 6.162e-06/0.3887, allocations: 3.344 kB / 0.5169 GB, free: 3.109 MB / 362.8 MB Notification: Performance of matching and sorting (n=267): time 0.03393/0.4226, allocations: 19.36 MB / 0.5358 GB, free: 16 MB / 394.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001008/0.4227, allocations: 261.2 kB / 0.536 GB, free: 15.69 MB / 394.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00555/0.4282, allocations: 5.489 MB / 0.5414 GB, free: 10.42 MB / 394.8 MB Notification: Performance of collectPreVariables (initialization): time 0.000158/0.4284, allocations: 65.7 kB / 0.5414 GB, free: 10.35 MB / 394.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.00277/0.4312, allocations: 5.391 MB / 0.5467 GB, free: 4.984 MB / 394.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008222/0.432, allocations: 1.101 MB / 0.5478 GB, free: 3.875 MB / 394.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002102/0.4341, allocations: 1.966 MB / 0.5497 GB, free: 1.891 MB / 394.8 MB Notification: Performance of setup shared object (initialization): time 0.0001215/0.4342, allocations: 476.8 kB / 0.5501 GB, free: 1.422 MB / 394.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001736/0.436, allocations: 1.095 MB / 0.5512 GB, free: 328 kB / 394.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006293/0.4422, allocations: 8.986 MB / 0.56 GB, free: 3.727 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008725/0.451, allocations: 11.03 MB / 0.5708 GB, free: 5.125 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.622e-05/0.451, allocations: 52 kB / 0.5708 GB, free: 5.074 MB / 426.8 MB Notification: Performance of matching and sorting (n=1176) (initialization): time 0.01171/0.4628, allocations: 8.752 MB / 0.5794 GB, free: 12.3 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 8.752e-05/0.4628, allocations: 88 kB / 0.5794 GB, free: 12.21 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001161/0.463, allocations: 184 kB / 0.5796 GB, free: 12.03 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002572/0.4655, allocations: 1.159 MB / 0.5807 GB, free: 10.86 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003526/0.4691, allocations: 2.082 MB / 0.5828 GB, free: 8.773 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1645/0.6336, allocations: 8.824 MB / 0.5914 GB, free: 133.4 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006538/0.6401, allocations: 0.6031 MB / 0.592 GB, free: 133.4 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000638/0.6408, allocations: 0.5257 MB / 0.5925 GB, free: 133.4 MB / 442.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 846 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1110): * Single equations (assignments): 1104 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,14,100.0%), (1,14,100.0%), (1,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002248/0.643, allocations: 0.8942 MB / 0.5934 GB, free: 133.2 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009794/0.644, allocations: 0.5932 MB / 0.594 GB, free: 133.2 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005822/0.6498, allocations: 3.011 MB / 0.5969 GB, free: 133.1 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.157e-05/0.6498, allocations: 32.78 kB / 0.5969 GB, free: 133.1 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.7e-05/0.6499, allocations: 16.02 kB / 0.5969 GB, free: 133.1 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-05/0.6499, allocations: 13.33 kB / 0.597 GB, free: 133.1 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01412/0.664, allocations: 8.923 MB / 0.6057 GB, free: 132.3 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.537e-06/0.664, allocations: 0 / 0.6057 GB, free: 132.3 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001513/0.6655, allocations: 455.5 kB / 0.6061 GB, free: 132.3 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002638/0.6682, allocations: 0.8764 MB / 0.607 GB, free: 132.3 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001587/0.6683, allocations: 51.11 kB / 0.607 GB, free: 132.3 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006318/0.6746, allocations: 8.097 MB / 0.6149 GB, free: 126.4 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.6746, allocations: 0 / 0.6149 GB, free: 126.4 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006589/0.6812, allocations: 4.354 MB / 0.6192 GB, free: 125.5 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001124/0.6824, allocations: 0.9225 MB / 0.6201 GB, free: 125.3 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003841/0.6827, allocations: 43.44 kB / 0.6201 GB, free: 125.3 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001307/0.684, allocations: 274.8 kB / 0.6204 GB, free: 125.3 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003166/0.6844, allocations: 177 kB / 0.6205 GB, free: 125.2 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000119/0.6845, allocations: 73.77 kB / 0.6206 GB, free: 125.2 MB / 442.8 MB Notification: Performance of sorting global known variables: time 0.002468/0.6869, allocations: 2.421 MB / 0.623 GB, free: 124.5 MB / 442.8 MB Notification: Performance of sort global known variables: time 4.91e-07/0.6869, allocations: 0 / 0.623 GB, free: 124.5 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.004929/0.6919, allocations: 1.882 MB / 0.6248 GB, free: 123.7 MB / 442.8 MB 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (219): * Single equations (assignments): 213 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,11,100.0%), (1,11,100.0%), (1,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003982/0.6923, allocations: 217.6 kB / 0.625 GB, free: 123.5 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.005329/0.6976, allocations: 5.033 MB / 0.6299 GB, free: 119.1 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.6976, allocations: 0 / 0.6299 GB, free: 119.1 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 0.001376/0.699, allocations: 1.607 MB / 0.6315 GB, free: 117.7 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001933/0.7009, allocations: 0.6889 MB / 0.6322 GB, free: 117 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01288/0.7138, allocations: 12.74 MB / 0.6446 GB, free: 104.3 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001415/0.7152, allocations: 2.101 MB / 0.6467 GB, free: 102.1 MB / 442.8 MB Notification: Performance of simCode: alias equations: time 0.003126/0.7183, allocations: 2.267 MB / 0.6489 GB, free: 99.87 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008915/0.7192, allocations: 364.4 kB / 0.6492 GB, free: 99.52 MB / 442.8 MB Notification: Performance of SimCode: time 1.583e-06/0.7192, allocations: 0 / 0.6492 GB, free: 99.52 MB / 442.8 MB Notification: Performance of Templates: time 0.07334/0.7926, allocations: 55.29 MB / 0.7032 GB, free: 44.32 MB / 442.8 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldTorques.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldTorques.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.98686064989306]