Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.002609/0.002609, allocations: 92.97 kB / 20.21 MB, free: 4.211 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.003109/0.003109, allocations: 165.2 kB / 23.53 MB, free: 0.8984 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 1.375/1.375, allocations: 158.6 MB / 185.3 MB, free: 2.898 MB / 170.7 MB " [Timeout remaining time 178] 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.2009/0.2009, allocations: 32.37 MB / 270 MB, free: 14.77 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.Joints.Revolute,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute") translateModel(ModelicaTest.MultiBody.Joints.Revolute,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.092e-06/1.092e-06, allocations: 0 / 346.9 MB, free: 9.801 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.185e-05/2.294e-05, allocations: 6.25 kB / 347 MB, free: 9.793 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.01066/0.01069, allocations: 12.12 MB / 359.1 MB, free: 13.61 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.008976/0.01966, allocations: 3.883 MB / 363 MB, free: 9.719 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001682/0.02134, allocations: 71.75 kB / 363 MB, free: 9.648 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003406/0.02475, allocations: 1.409 MB / 364.4 MB, free: 8.234 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005042/0.02979, allocations: 1.902 MB / 366.3 MB, free: 6.324 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001428/0.03122, allocations: 0.53 MB / 366.9 MB, free: 5.793 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.005633/0.03685, allocations: 4.006 MB / 370.9 MB, free: 1.777 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003376/0.04023, allocations: 2.2 MB / 373.1 MB, free: 15.54 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003114/0.04334, allocations: 1.91 MB / 375 MB, free: 13.62 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003339/0.04668, allocations: 1.968 MB / 377 MB, free: 11.65 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000569/0.04725, allocations: 240 kB / 377.2 MB, free: 11.42 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002046/0.04929, allocations: 0.9243 MB / 378.1 MB, free: 10.49 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001978/0.05127, allocations: 1.753 MB / 379.9 MB, free: 8.734 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001678/0.05295, allocations: 1.039 MB / 380.9 MB, free: 7.691 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008369/0.06132, allocations: 6.357 MB / 387.3 MB, free: 1.312 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.06132, allocations: 0 / 387.3 MB, free: 1.312 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.744e-06/0.06133, allocations: 0 / 387.3 MB, free: 1.312 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001089/0.06143, allocations: 3.938 kB / 387.3 MB, free: 1.309 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1571 * Number of variables: 1571 Notification: Performance of Generate backend data structure: time 0.009648/0.07108, allocations: 5.104 MB / 392.4 MB, free: 12.13 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.07112, allocations: 12.03 kB / 392.4 MB, free: 12.12 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01276/0.08389, allocations: 3.656 MB / 396 MB, free: 8.457 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005001/0.08889, allocations: 1.732 MB / 397.8 MB, free: 6.688 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002059/0.08909, allocations: 197.2 kB / 398 MB, free: 6.492 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007592/0.08985, allocations: 260.1 kB / 398.2 MB, free: 6.238 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01485/0.1047, allocations: 5.85 MB / 404.1 MB, free: 15.77 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000108/0.1048, allocations: 31.7 kB / 404.1 MB, free: 15.74 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004342/0.1052, allocations: 127.8 kB / 404.2 MB, free: 15.62 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005456/0.1107, allocations: 2.624 MB / 406.8 MB, free: 12.99 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01482/0.1255, allocations: 3.93 MB / 410.8 MB, free: 9.043 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2067/0.3322, allocations: 42.6 MB / 453.4 MB, free: 76.17 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008152/0.3404, allocations: 2.195 MB / 455.6 MB, free: 76.12 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001583/0.342, allocations: 0.6777 MB / 456.3 MB, free: 76.11 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00102/0.343, allocations: 0.5218 MB / 456.8 MB, free: 76.09 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.793e-05/0.343, allocations: 56.78 kB / 456.8 MB, free: 76.05 MB / 378.7 MB Notification: Performance of pre-optimization done (n=229): time 4.498e-06/0.343, allocations: 0 / 456.8 MB, free: 76.05 MB / 378.7 MB Notification: Performance of matching and sorting (n=235): time 0.02443/0.3675, allocations: 8.378 MB / 465.2 MB, free: 75.19 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.386e-05/0.3675, allocations: 72.53 kB / 465.3 MB, free: 75.12 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00347/0.371, allocations: 3.104 MB / 468.4 MB, free: 74.68 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001957/0.3712, allocations: 51.61 kB / 468.4 MB, free: 74.64 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001736/0.3729, allocations: 3.081 MB / 471.5 MB, free: 72.98 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007837/0.3737, allocations: 0.9953 MB / 472.5 MB, free: 72.42 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001401/0.3751, allocations: 1.316 MB / 473.8 MB, free: 71.74 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001402/0.3752, allocations: 0.5659 MB / 474.4 MB, free: 71.22 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001374/0.3766, allocations: 0.7178 MB / 475.1 MB, free: 71.1 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002877/0.3795, allocations: 5.203 MB / 480.3 MB, free: 64.66 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004858/0.3843, allocations: 6.551 MB / 486.9 MB, free: 56.33 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.47e-05/0.3844, allocations: 28 kB / 486.9 MB, free: 56.3 MB / 378.7 MB Notification: Performance of matching and sorting (n=704) (initialization): time 0.008243/0.3926, allocations: 5.104 MB / 492 MB, free: 51.19 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.947e-05/0.3927, allocations: 48 kB / 492 MB, free: 51.14 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.296e-05/0.3928, allocations: 104 kB / 492.1 MB, free: 51.04 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001926/0.3947, allocations: 0.5655 MB / 492.7 MB, free: 50.47 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003216/0.3979, allocations: 1.205 MB / 493.9 MB, free: 49.26 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003428/0.4013, allocations: 3.109 MB / 497 MB, free: 46.04 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003375/0.4047, allocations: 335.6 kB / 497.3 MB, free: 45.71 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004273/0.4051, allocations: 308 kB / 497.6 MB, free: 45.41 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 463 * Number of states: 0 () * Number of discrete variables: 27 (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 (644): * Single equations (assignments): 637 * 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.001589/0.4067, allocations: 0.6722 MB / 498.3 MB, free: 44.73 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006065/0.4073, allocations: 325.7 kB / 498.6 MB, free: 44.41 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005156/0.4125, allocations: 2.58 MB / 0.4895 GB, free: 41.81 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.805e-05/0.4125, allocations: 51.5 kB / 0.4895 GB, free: 41.76 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.4126, allocations: 0 / 0.4895 GB, free: 41.76 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.582e-05/0.4126, allocations: 11.91 kB / 0.4895 GB, free: 41.75 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01485/0.4274, allocations: 7.27 MB / 0.4966 GB, free: 34.35 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.187e-05/0.4274, allocations: 8 kB / 0.4966 GB, free: 34.34 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00145/0.4289, allocations: 359.5 kB / 0.497 GB, free: 33.99 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00172/0.4306, allocations: 439.3 kB / 0.4974 GB, free: 33.55 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001739/0.4308, allocations: 51.92 kB / 0.4975 GB, free: 33.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002835/0.4336, allocations: 2.514 MB / 0.4999 GB, free: 30.87 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.4336, allocations: 11.94 kB / 0.4999 GB, free: 30.86 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005665/0.4393, allocations: 3.104 MB / 0.5029 GB, free: 27.61 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00177/0.441, allocations: 0.541 MB / 0.5035 GB, free: 27.06 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003745/0.4414, allocations: 43.27 kB / 0.5035 GB, free: 27.02 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001325/0.4427, allocations: 172.4 kB / 0.5037 GB, free: 26.86 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003092/0.4431, allocations: 140.8 kB / 0.5038 GB, free: 26.72 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001486/0.4432, allocations: 67.92 kB / 0.5039 GB, free: 26.65 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001611/0.4448, allocations: 1.28 MB / 0.5051 GB, free: 25.36 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.4448, allocations: 0 / 0.5051 GB, free: 25.36 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003623/0.4484, allocations: 1.031 MB / 0.5061 GB, free: 24.33 MB / 378.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.0004256/0.4489, allocations: 202.6 kB / 0.5063 GB, free: 24.13 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004887/0.4538, allocations: 3.146 MB / 0.5094 GB, free: 20.98 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.822e-06/0.4538, allocations: 4 kB / 0.5094 GB, free: 20.98 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001433/0.4552, allocations: 1.011 MB / 0.5104 GB, free: 19.95 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001643/0.4568, allocations: 273.4 kB / 0.5107 GB, free: 19.69 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01037/0.4672, allocations: 7.797 MB / 0.5183 GB, free: 11.71 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002127/0.4693, allocations: 2.378 MB / 0.5206 GB, free: 9.316 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.002988/0.4723, allocations: 1.585 MB / 0.5221 GB, free: 7.723 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006131/0.4729, allocations: 192.5 kB / 0.5223 GB, free: 7.535 MB / 378.7 MB Notification: Performance of SimCode: time 1.272e-06/0.4729, allocations: 0 / 0.5223 GB, free: 7.535 MB / 378.7 MB Notification: Performance of Templates: time 0.05417/0.5271, allocations: 25.51 MB / 0.5472 GB, free: 14.18 MB / 410.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/Revolute/Revolute.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.476356990984641]