Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute.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.001062/0.001062, allocations: 87.58 kB / 21.19 MB, free: 3.371 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.0009936/0.0009936, allocations: 165 kB / 24.56 MB, free: 4 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9283/0.9283, allocations: 177.1 MB / 205 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2847/0.2847, allocations: 34.26 MB / 295.7 MB, free: 0.6914 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Joints.Revolute,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute") translateModel(ModelicaTest.MultiBody.Joints.Revolute,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 378 MB, free: 2.629 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.69e-05/2.861e-05, allocations: 9.484 kB / 378.1 MB, free: 2.621 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.01129/0.01132, allocations: 11.82 MB / 389.9 MB, free: 6.738 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.005932/0.01725, allocations: 3.878 MB / 393.8 MB, free: 2.848 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009849/0.01824, allocations: 67.75 kB / 393.8 MB, free: 2.781 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001693/0.01993, allocations: 1.397 MB / 395.2 MB, free: 1.379 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00264/0.02257, allocations: 1.84 MB / 397.1 MB, free: 15.53 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001054/0.02363, allocations: 0.5222 MB / 397.6 MB, free: 15.01 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.003534/0.02716, allocations: 3.979 MB / 401.6 MB, free: 11.02 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002138/0.0293, allocations: 2.157 MB / 403.7 MB, free: 8.828 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001695/0.03099, allocations: 1.847 MB / 405.6 MB, free: 6.977 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001721/0.03271, allocations: 1.944 MB / 407.5 MB, free: 5.027 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002834/0.033, allocations: 236 kB / 407.7 MB, free: 4.797 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001212/0.03421, allocations: 0.9048 MB / 408.6 MB, free: 3.891 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009867/0.03519, allocations: 1.679 MB / 410.3 MB, free: 2.207 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007518/0.03595, allocations: 1 MB / 411.3 MB, free: 1.203 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003297/0.03924, allocations: 4.058 MB / 415.4 MB, free: 13.12 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.03925, allocations: 0 / 415.4 MB, free: 13.12 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.03925, allocations: 0 / 415.4 MB, free: 13.12 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.171e-05/0.03928, allocations: 0 / 415.4 MB, free: 13.12 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1528 * Number of variables: 1528 Notification: Performance of Generate backend data structure: time 0.004691/0.04397, allocations: 4.6 MB / 420 MB, free: 8.461 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.955e-05/0.04402, allocations: 12.03 kB / 420 MB, free: 8.449 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006004/0.05003, allocations: 3.625 MB / 423.6 MB, free: 4.816 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001904/0.05193, allocations: 1.681 MB / 425.3 MB, free: 3.098 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.411e-05/0.05202, allocations: 185 kB / 425.5 MB, free: 2.914 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000321/0.05234, allocations: 248.2 kB / 425.7 MB, free: 2.672 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006199/0.05854, allocations: 5.339 MB / 431.1 MB, free: 12.76 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.629e-05/0.05859, allocations: 23.75 kB / 431.1 MB, free: 12.73 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002327/0.05882, allocations: 123.8 kB / 431.2 MB, free: 12.61 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002622/0.06144, allocations: 2.553 MB / 433.8 MB, free: 10.06 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005859/0.0673, allocations: 3.341 MB / 437.1 MB, free: 6.707 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1925/0.2598, allocations: 33.69 MB / 470.8 MB, free: 66.73 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004563/0.2643, allocations: 2.517 MB / 473.3 MB, free: 66.67 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001033/0.2654, allocations: 0.6631 MB / 474 MB, free: 66.57 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006116/0.266, allocations: 0.5239 MB / 474.5 MB, free: 66.5 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.201e-05/0.266, allocations: 61.17 kB / 474.5 MB, free: 66.44 MB / 410.7 MB Notification: Performance of pre-optimization done (n=229): time 4.248e-06/0.266, allocations: 0 / 474.5 MB, free: 66.44 MB / 410.7 MB Notification: Performance of matching and sorting (n=235): time 0.01527/0.2813, allocations: 8.183 MB / 482.7 MB, free: 64.62 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.516e-05/0.2813, allocations: 71.84 kB / 482.8 MB, free: 64.56 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002537/0.2839, allocations: 2.463 MB / 485.3 MB, free: 63.5 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001024/0.284, allocations: 57.52 kB / 485.3 MB, free: 63.45 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001197/0.2852, allocations: 2.865 MB / 488.2 MB, free: 61.51 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000646/0.2858, allocations: 0.922 MB / 489.1 MB, free: 60.82 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001094/0.2869, allocations: 1.109 MB / 490.2 MB, free: 60.23 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.21e-05/0.287, allocations: 0.5381 MB / 490.8 MB, free: 59.72 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001333/0.2883, allocations: 0.6646 MB / 491.4 MB, free: 59.63 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002611/0.2909, allocations: 4.9 MB / 496.3 MB, free: 53.91 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004727/0.2957, allocations: 6.188 MB / 0.4907 GB, free: 47.66 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001084/0.2958, allocations: 28.41 kB / 0.4908 GB, free: 47.66 MB / 410.7 MB Notification: Performance of matching and sorting (n=695) (initialization): time 0.007682/0.3034, allocations: 4.927 MB / 0.4956 GB, free: 46 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.282e-05/0.3035, allocations: 47.16 kB / 0.4956 GB, free: 46 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001293/0.3036, allocations: 101.7 kB / 0.4957 GB, free: 46 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001255/0.3049, allocations: 0.5614 MB / 0.4963 GB, free: 45.97 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002334/0.3072, allocations: 1.183 MB / 0.4974 GB, free: 45.83 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002604/0.3098, allocations: 3.02 MB / 0.5004 GB, free: 43.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002247/0.3121, allocations: 321.9 kB / 0.5007 GB, free: 43.42 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003658/0.3124, allocations: 300.2 kB / 0.501 GB, free: 43.38 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 454 * Number of states: 0 () * Number of discrete variables: 29 (axis.arrowLine.twoHeadedArrow,axis.headAtOrigin,frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],axis.color[3],axis.color[2],axis.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (635): * Single equations (assignments): 628 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001299/0.3137, allocations: 0.56 MB / 0.5015 GB, free: 42.92 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003851/0.3141, allocations: 328.4 kB / 0.5018 GB, free: 42.74 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003141/0.3173, allocations: 2.42 MB / 0.5042 GB, free: 41.98 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.923e-05/0.3173, allocations: 43.61 kB / 0.5042 GB, free: 41.97 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.243e-06/0.3173, allocations: 3.406 kB / 0.5042 GB, free: 41.97 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.739e-05/0.3173, allocations: 8.812 kB / 0.5042 GB, free: 41.97 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01156/0.3289, allocations: 6.135 MB / 0.5102 GB, free: 38.85 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.528e-06/0.3289, allocations: 8 kB / 0.5102 GB, free: 38.84 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009287/0.3298, allocations: 358.8 kB / 0.5106 GB, free: 38.56 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001142/0.331, allocations: 439.1 kB / 0.511 GB, free: 38.33 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001264/0.3311, allocations: 45.38 kB / 0.511 GB, free: 38.29 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001988/0.3331, allocations: 2.44 MB / 0.5134 GB, free: 35.9 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.306e-06/0.3331, allocations: 11.94 kB / 0.5134 GB, free: 35.89 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004176/0.3373, allocations: 2.958 MB / 0.5163 GB, free: 33.19 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004854/0.3378, allocations: 232.7 kB / 0.5165 GB, free: 32.96 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002179/0.338, allocations: 43.89 kB / 0.5166 GB, free: 32.93 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000727/0.3387, allocations: 171.1 kB / 0.5167 GB, free: 32.82 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002212/0.3389, allocations: 144 kB / 0.5169 GB, free: 32.75 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.374e-05/0.339, allocations: 58.02 kB / 0.5169 GB, free: 32.69 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001242/0.3403, allocations: 1.044 MB / 0.518 GB, free: 31.81 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.3403, allocations: 4 kB / 0.518 GB, free: 31.81 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003064/0.3433, allocations: 0.9843 MB / 0.5189 GB, free: 30.82 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 2 (revolute.phi,revolute.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 (178): * Single equations (assignments): 171 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004327/0.3438, allocations: 200.1 kB / 0.5191 GB, free: 30.63 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004071/0.3478, allocations: 2.844 MB / 0.5219 GB, free: 28.09 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.693e-06/0.3478, allocations: 0 / 0.5219 GB, free: 28.09 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001033/0.3489, allocations: 0.9371 MB / 0.5228 GB, free: 27.23 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001297/0.3502, allocations: 289.9 kB / 0.5231 GB, free: 27 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01142/0.3616, allocations: 7.513 MB / 0.5304 GB, free: 19.96 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001239/0.3628, allocations: 1.166 MB / 0.5316 GB, free: 19.11 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002445/0.3653, allocations: 1.577 MB / 0.5331 GB, free: 18.23 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005385/0.3658, allocations: 204.7 kB / 0.5333 GB, free: 18.05 MB / 410.7 MB Notification: Performance of SimCode: time 1.643e-06/0.3658, allocations: 0 / 0.5333 GB, free: 18.05 MB / 410.7 MB Notification: Performance of Templates: time 0.03563/0.4014, allocations: 25.24 MB / 0.5579 GB, free: 9.551 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/Revolute/Revolute.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.2730038720183074]