Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.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.001881/0.001881, allocations: 92.31 kB / 20.96 MB, free: 3.477 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.002052/0.002052, allocations: 165.7 kB / 24.27 MB, free: 172 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 1.491/1.491, allocations: 177.2 MB / 204.6 MB, free: 5.582 MB / 186.7 MB " [Timeout remaining time 178] 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.3475/0.3475, allocations: 34.26 MB / 295.3 MB, free: 0.6758 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.RevoluteInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization") translateModel(ModelicaTest.MultiBody.Joints.RevoluteInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 377.3 MB, free: 2.965 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.549e-05/2.716e-05, allocations: 2.312 kB / 377.3 MB, free: 2.961 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.01324/0.01327, allocations: 9.046 MB / 386.3 MB, free: 9.863 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.009817/0.02309, allocations: 3.607 MB / 389.9 MB, free: 6.242 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001775/0.02486, allocations: 67.69 kB / 390 MB, free: 6.176 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00452/0.02938, allocations: 2.02 MB / 392 MB, free: 4.148 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005268/0.03465, allocations: 1.746 MB / 393.8 MB, free: 2.395 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002081/0.03673, allocations: 0.6625 MB / 394.4 MB, free: 1.73 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.006133/0.04286, allocations: 3.755 MB / 398.2 MB, free: 13.97 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004267/0.04713, allocations: 2.449 MB / 400.6 MB, free: 11.47 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00471/0.05184, allocations: 1.886 MB / 402.5 MB, free: 9.578 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003777/0.05562, allocations: 1.82 MB / 404.4 MB, free: 7.754 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007144/0.05633, allocations: 260 kB / 404.6 MB, free: 7.5 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002253/0.05858, allocations: 0.971 MB / 405.6 MB, free: 6.527 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001953/0.06054, allocations: 1.667 MB / 407.2 MB, free: 4.855 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001771/0.06231, allocations: 1.028 MB / 408.3 MB, free: 3.824 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009696/0.072, allocations: 5.817 MB / 414.1 MB, free: 13.98 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.07201, allocations: 4 kB / 414.1 MB, free: 13.98 MB / 394.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.07201, allocations: 0 / 414.1 MB, free: 13.98 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001862/0.0722, allocations: 3.938 kB / 414.1 MB, free: 13.98 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: 1275 * Number of variables: 1275 Notification: Performance of Generate backend data structure: time 0.01026/0.08245, allocations: 4.05 MB / 418.1 MB, free: 9.871 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.143e-05/0.08251, allocations: 8.031 kB / 418.2 MB, free: 9.863 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007554/0.09006, allocations: 2.245 MB / 420.4 MB, free: 7.613 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004541/0.0946, allocations: 1.876 MB / 422.3 MB, free: 5.691 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002073/0.09481, allocations: 197.2 kB / 422.5 MB, free: 5.496 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005716/0.09538, allocations: 248.2 kB / 422.7 MB, free: 5.254 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01723/0.1126, allocations: 8.498 MB / 431.2 MB, free: 12.07 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001198/0.1127, allocations: 43.64 kB / 431.3 MB, free: 12.03 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003793/0.1131, allocations: 127.9 kB / 431.4 MB, free: 11.91 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003178/0.1163, allocations: 1.695 MB / 433.1 MB, free: 10.21 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01593/0.1322, allocations: 7.086 MB / 440.2 MB, free: 3.109 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1986/0.3308, allocations: 32.29 MB / 472.5 MB, free: 73.16 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006432/0.3372, allocations: 2.819 MB / 475.3 MB, free: 72.38 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001572/0.3388, allocations: 1.363 MB / 476.6 MB, free: 71.83 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005527/0.3443, allocations: 3.46 MB / 480.1 MB, free: 70.13 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.03e-05/0.3444, allocations: 46.92 kB / 480.1 MB, free: 70.08 MB / 410.7 MB Notification: Performance of pre-optimization done (n=121): time 3.977e-06/0.3444, allocations: 0 / 480.1 MB, free: 70.08 MB / 410.7 MB Notification: Performance of matching and sorting (n=129): time 0.02639/0.3708, allocations: 11.94 MB / 492.1 MB, free: 65.71 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.456e-05/0.3708, allocations: 169.9 kB / 492.2 MB, free: 65.52 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004187/0.375, allocations: 3.512 MB / 495.8 MB, free: 64.27 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001373/0.3752, allocations: 42.17 kB / 495.8 MB, free: 64.22 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001295/0.3764, allocations: 2.85 MB / 498.6 MB, free: 62.07 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004453/0.3769, allocations: 0.5299 MB / 499.2 MB, free: 61.69 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001238/0.3781, allocations: 1.083 MB / 0.4885 GB, free: 61.14 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.163e-05/0.3782, allocations: 306.5 kB / 0.4888 GB, free: 60.84 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002034/0.3802, allocations: 1.712 MB / 0.4905 GB, free: 60.3 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003277/0.3835, allocations: 5.156 MB / 0.4955 GB, free: 55.07 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006124/0.3896, allocations: 7.426 MB / 0.5028 GB, free: 48.64 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.072e-05/0.3897, allocations: 37.72 kB / 0.5028 GB, free: 48.64 MB / 410.7 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.009405/0.3991, allocations: 6.991 MB / 0.5097 GB, free: 43.48 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.252e-05/0.3991, allocations: 60 kB / 0.5097 GB, free: 43.42 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001058/0.3992, allocations: 120.9 kB / 0.5098 GB, free: 43.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007638/0.4, allocations: 414.7 kB / 0.5102 GB, free: 42.96 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003334/0.4033, allocations: 1.254 MB / 0.5114 GB, free: 41.87 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002287/0.4056, allocations: 2.352 MB / 0.5137 GB, free: 39.61 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003968/0.4096, allocations: 326 kB / 0.5141 GB, free: 39.33 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004728/0.4101, allocations: 344.3 kB / 0.5144 GB, free: 39 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 555 * Number of states: 0 () * Number of discrete variables: 33 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],fixed.color[3],fixed.color[2],fixed.color[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[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 (668): * Single equations (assignments): 664 * Array equations: 3 * 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,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002238/0.4123, allocations: 1.785 MB / 0.5161 GB, free: 37.43 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005924/0.4129, allocations: 318.1 kB / 0.5164 GB, free: 37.11 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003867/0.4168, allocations: 2.328 MB / 0.5187 GB, free: 35.3 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.191e-05/0.4168, allocations: 16 kB / 0.5187 GB, free: 35.29 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.222e-05/0.4168, allocations: 7.938 kB / 0.5187 GB, free: 35.28 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.12e-05/0.4168, allocations: 3.75 kB / 0.5187 GB, free: 35.28 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008828/0.4256, allocations: 5.175 MB / 0.5238 GB, free: 30.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.02e-05/0.4256, allocations: 0.875 kB / 0.5238 GB, free: 30.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007513/0.4264, allocations: 179.7 kB / 0.524 GB, free: 30.52 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002007/0.4284, allocations: 0.7264 MB / 0.5247 GB, free: 29.79 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.446e-05/0.4285, allocations: 28 kB / 0.5247 GB, free: 29.77 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00499/0.4335, allocations: 4.708 MB / 0.5293 GB, free: 24.96 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/0.4335, allocations: 4.031 kB / 0.5293 GB, free: 24.96 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005941/0.4394, allocations: 4.348 MB / 0.5335 GB, free: 20.58 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008568/0.4403, allocations: 274 kB / 0.5338 GB, free: 20.31 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000286/0.4406, allocations: 16 kB / 0.5338 GB, free: 20.29 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001128/0.4417, allocations: 103.8 kB / 0.5339 GB, free: 20.19 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001944/0.4419, allocations: 76.41 kB / 0.534 GB, free: 20.12 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.301e-05/0.442, allocations: 28 kB / 0.534 GB, free: 20.09 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002453/0.4444, allocations: 2.034 MB / 0.536 GB, free: 18.06 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.4444, allocations: 64 / 0.536 GB, free: 18.06 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004189/0.4486, allocations: 0.8825 MB / 0.5369 GB, free: 17.18 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (rev.phi,rev.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 (96): * Single equations (assignments): 92 * Array equations: 3 * 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,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.0003697/0.449, allocations: 158.9 kB / 0.537 GB, free: 17.02 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005159/0.4541, allocations: 3.903 MB / 0.5408 GB, free: 13.14 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.818e-06/0.4541, allocations: 0.625 kB / 0.5408 GB, free: 13.14 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001136/0.4553, allocations: 1.042 MB / 0.5418 GB, free: 12.08 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001925/0.4572, allocations: 352.3 kB / 0.5422 GB, free: 11.76 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01045/0.4677, allocations: 7.428 MB / 0.5494 GB, free: 4.266 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00216/0.4698, allocations: 2.242 MB / 0.5516 GB, free: 1.992 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.003157/0.473, allocations: 1.607 MB / 0.5532 GB, free: 388 kB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005768/0.4736, allocations: 204.5 kB / 0.5534 GB, free: 184 kB / 410.7 MB Notification: Performance of SimCode: time 1.593e-06/0.4736, allocations: 0 / 0.5534 GB, free: 184 kB / 410.7 MB Notification: Performance of Templates: time 0.05961/0.5332, allocations: 25.82 MB / 0.5786 GB, free: 6.863 MB / 442.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/RevoluteInitialization/RevoluteInitialization.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.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.570324240019545]