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.001174/0.001174, allocations: 81.95 kB / 21.44 MB, free: 3.059 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.001267/0.001267, allocations: 165.8 kB / 24.84 MB, free: 8.711 MB / 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.9285/0.9285, allocations: 158.6 MB / 186.7 MB, free: 2.793 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.1271/0.1271, allocations: 32.37 MB / 271.5 MB, free: 14.54 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.004e-06/2.004e-06, allocations: 0 / 349 MB, free: 9.133 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.461e-05/2.661e-05, allocations: 4.281 kB / 349 MB, free: 9.129 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldTorques): time 0.01775/0.01778, allocations: 16.57 MB / 365.5 MB, free: 8.488 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01239/0.03017, allocations: 5.272 MB / 370.8 MB, free: 3.199 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002531/0.0327, allocations: 135.4 kB / 370.9 MB, free: 3.062 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005404/0.03811, allocations: 5.404 MB / 376.3 MB, free: 13.64 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006051/0.04416, allocations: 3.051 MB / 379.4 MB, free: 10.57 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00205/0.04621, allocations: 1.388 MB / 380.8 MB, free: 9.184 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.008052/0.05426, allocations: 8.943 MB / 389.7 MB, free: 228 kB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004851/0.05911, allocations: 5.983 MB / 395.7 MB, free: 10.15 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005061/0.06417, allocations: 5.243 MB / 400.9 MB, free: 4.898 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003967/0.06814, allocations: 4.314 MB / 405.3 MB, free: 0.5742 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007883/0.06893, allocations: 0.6211 MB / 405.9 MB, free: 15.95 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0019/0.07083, allocations: 1.603 MB / 407.5 MB, free: 14.35 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002299/0.07313, allocations: 3.807 MB / 411.3 MB, free: 10.53 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002314/0.07544, allocations: 2.368 MB / 413.7 MB, free: 8.156 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00847/0.08391, allocations: 7.94 MB / 421.6 MB, free: 192 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.004e-06/0.08392, allocations: 0 / 421.6 MB, free: 192 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.08392, allocations: 7.875 kB / 421.6 MB, free: 184 kB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002666/0.08419, allocations: 0 / 421.6 MB, free: 184 kB / 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.01205/0.09624, allocations: 8.716 MB / 430.3 MB, free: 7.375 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.365e-05/0.09629, allocations: 12.03 kB / 430.3 MB, free: 7.363 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007896/0.1042, allocations: 2.946 MB / 433.3 MB, free: 4.41 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004688/0.1089, allocations: 3.818 MB / 437.1 MB, free: 0.5039 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001959/0.1091, allocations: 402.7 kB / 437.5 MB, free: 112 kB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.2621/0.3712, allocations: 0.5306 MB / 438 MB, free: 83.54 MB / 362.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01673/0.3879, allocations: 8.905 MB / 446.9 MB, free: 79.16 MB / 362.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002331/0.3881, allocations: 73.7 kB / 447 MB, free: 79.16 MB / 362.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006351/0.3888, allocations: 257.4 kB / 447.3 MB, free: 79.16 MB / 362.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002785/0.3916, allocations: 2.727 MB / 450 MB, free: 79.14 MB / 362.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01141/0.403, allocations: 3.889 MB / 453.9 MB, free: 77.53 MB / 362.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04673/0.4497, allocations: 68.08 MB / 0.5097 GB, free: 8.906 MB / 362.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005107/0.4548, allocations: 2.258 MB / 0.5119 GB, free: 6.598 MB / 362.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007733/0.4556, allocations: 0.6008 MB / 0.5125 GB, free: 5.977 MB / 362.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008123/0.4637, allocations: 5.35 MB / 0.5177 GB, free: 0.7773 MB / 362.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.645e-05/0.4637, allocations: 58.75 kB / 0.5178 GB, free: 0.7109 MB / 362.8 MB Notification: Performance of pre-optimization done (n=192): time 5.891e-06/0.4637, allocations: 0 / 0.5178 GB, free: 0.7109 MB / 362.8 MB Notification: Performance of matching and sorting (n=195): time 0.02209/0.4858, allocations: 6.521 MB / 0.5242 GB, free: 10.46 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001059/0.4859, allocations: 256.8 kB / 0.5244 GB, free: 10.16 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006839/0.4928, allocations: 5.679 MB / 0.53 GB, free: 4.734 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0002874/0.4931, allocations: 53.7 kB / 0.53 GB, free: 4.676 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.003652/0.4967, allocations: 5.631 MB / 0.5355 GB, free: 15.01 MB / 394.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009312/0.4976, allocations: 0.8688 MB / 0.5363 GB, free: 14.14 MB / 394.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002168/0.4998, allocations: 1.992 MB / 0.5383 GB, free: 12.12 MB / 394.8 MB Notification: Performance of setup shared object (initialization): time 0.0001152/0.4999, allocations: 480.5 kB / 0.5388 GB, free: 11.66 MB / 394.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001719/0.5016, allocations: 0.7903 MB / 0.5395 GB, free: 10.86 MB / 394.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006518/0.5082, allocations: 9.327 MB / 0.5486 GB, free: 13.64 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009445/0.5176, allocations: 10.96 MB / 0.5593 GB, free: 14.88 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001537/0.5178, allocations: 56 kB / 0.5594 GB, free: 14.82 MB / 426.8 MB Notification: Performance of matching and sorting (n=1164) (initialization): time 0.01143/0.5292, allocations: 7.149 MB / 0.5664 GB, free: 7.656 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 8.708e-05/0.5293, allocations: 92 kB / 0.5665 GB, free: 7.566 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001711/0.5294, allocations: 204 kB / 0.5667 GB, free: 7.367 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006054/0.53, allocations: 371.5 kB / 0.567 GB, free: 6.992 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00372/0.5338, allocations: 2.035 MB / 0.569 GB, free: 4.953 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002729/0.5365, allocations: 5.557 MB / 0.5744 GB, free: 15.05 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005658/0.5422, allocations: 407.7 kB / 0.5748 GB, free: 14.66 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001055/0.5432, allocations: 480 kB / 0.5753 GB, free: 14.19 MB / 442.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 918 * 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 (1137): * Single equations (assignments): 1131 * 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,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002743/0.546, allocations: 0.9135 MB / 0.5762 GB, free: 13.26 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001287/0.5472, allocations: 0.5746 MB / 0.5767 GB, free: 12.68 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001872/0.5491, allocations: 1.307 MB / 0.578 GB, free: 11.35 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.447e-05/0.5491, allocations: 20 kB / 0.578 GB, free: 11.33 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.307e-06/0.5491, allocations: 7.938 kB / 0.578 GB, free: 11.32 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.192e-05/0.5492, allocations: 7.969 kB / 0.578 GB, free: 11.31 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009998/0.5592, allocations: 6.782 MB / 0.5847 GB, free: 4.355 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.109e-05/0.5592, allocations: 11.98 kB / 0.5847 GB, free: 4.344 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008129/0.56, allocations: 304.3 kB / 0.585 GB, free: 4.047 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003286/0.5603, allocations: 122.5 kB / 0.5851 GB, free: 3.918 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001033/0.5604, allocations: 51.92 kB / 0.5851 GB, free: 3.867 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1442/0.7046, allocations: 5.193 MB / 0.5902 GB, free: 130.3 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.783e-06/0.7046, allocations: 7.688 kB / 0.5902 GB, free: 130.3 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003795/0.7084, allocations: 2.719 MB / 0.5929 GB, free: 129.2 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001473/0.7099, allocations: 0.6738 MB / 0.5935 GB, free: 129.2 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000619/0.7105, allocations: 32.25 kB / 0.5935 GB, free: 129.2 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001423/0.7119, allocations: 57.2 kB / 0.5936 GB, free: 129.2 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002332/0.7121, allocations: 135.2 kB / 0.5937 GB, free: 129.2 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.903e-05/0.7122, allocations: 50.64 kB / 0.5938 GB, free: 129.2 MB / 442.8 MB Notification: Performance of sorting global known variables: time 0.003/0.7152, allocations: 2.317 MB / 0.596 GB, free: 129 MB / 442.8 MB Notification: Performance of sort global known variables: time 2e-07/0.7152, allocations: 0 / 0.596 GB, free: 129 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.006631/0.7219, allocations: 1.579 MB / 0.5976 GB, free: 129 MB / 442.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * Number of states: 6 (Revolute2.phi,Revolute2.w,Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.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 (177): * Single equations (assignments): 171 * 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,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004418/0.7223, allocations: 201.6 kB / 0.5978 GB, free: 128.9 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.005516/0.7278, allocations: 4.128 MB / 0.6018 GB, free: 128.1 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 7.083e-06/0.7278, allocations: 3.719 kB / 0.6018 GB, free: 128.1 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 0.001001/0.7288, allocations: 1.046 MB / 0.6028 GB, free: 127.6 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003471/0.7323, allocations: 0.6894 MB / 0.6035 GB, free: 127.5 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01816/0.7505, allocations: 12.31 MB / 0.6155 GB, free: 122.4 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002434/0.7529, allocations: 2.042 MB / 0.6175 GB, free: 122.1 MB / 442.8 MB Notification: Performance of simCode: alias equations: time 0.002868/0.7558, allocations: 0.7518 MB / 0.6183 GB, free: 121.9 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001329/0.7571, allocations: 0.8787 MB / 0.6191 GB, free: 121.3 MB / 442.8 MB Notification: Performance of SimCode: time 1.974e-06/0.7571, allocations: 0 / 0.6191 GB, free: 121.3 MB / 442.8 MB Notification: Performance of Templates: time 0.06486/0.822, allocations: 45.91 MB / 0.6639 GB, free: 78.78 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: 5.066667338833213]