Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion.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.001087/0.001087, allocations: 88.22 kB / 20.95 MB, free: 3.586 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.001206/0.001206, allocations: 165 kB / 24.25 MB, free: 296 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.9655/0.9655, allocations: 158.6 MB / 186 MB, free: 2.906 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.1399/0.1399, allocations: 32.37 MB / 270.7 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.FreeMotion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|freeMotion.Q.[0-9,]+.|freeMotion.r_rel_a.[0-9,]+.|freeMotion.v_rel_a.[0-9,]+.|freeMotion.w_rel_b.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion") translateModel(ModelicaTest.MultiBody.Joints.FreeMotion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|freeMotion.Q.[0-9,]+.|freeMotion.r_rel_a.[0-9,]+.|freeMotion.v_rel_a.[0-9,]+.|freeMotion.w_rel_b.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.224e-06/2.224e-06, allocations: 0 / 347.7 MB, free: 9.773 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.766e-05/2.989e-05, allocations: 2.312 kB / 347.7 MB, free: 9.77 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotion): time 0.008258/0.008288, allocations: 11.72 MB / 359.4 MB, free: 14 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.007185/0.01547, allocations: 3.934 MB / 363.3 MB, free: 10.05 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009111/0.01638, allocations: 71.75 kB / 363.4 MB, free: 9.98 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001571/0.01795, allocations: 1.265 MB / 364.7 MB, free: 8.711 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002704/0.02066, allocations: 1.945 MB / 366.6 MB, free: 6.758 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007447/0.0214, allocations: 0.5338 MB / 367.1 MB, free: 6.223 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003305/0.02471, allocations: 4.739 MB / 371.9 MB, free: 1.473 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002103/0.02681, allocations: 2.341 MB / 374.2 MB, free: 15.11 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001737/0.02855, allocations: 1.98 MB / 376.2 MB, free: 13.12 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005106/0.03365, allocations: 2.167 MB / 378.4 MB, free: 10.95 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003717/0.03403, allocations: 243.9 kB / 378.6 MB, free: 10.71 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001527/0.03555, allocations: 1.08 MB / 379.7 MB, free: 9.629 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001265/0.03682, allocations: 1.831 MB / 381.5 MB, free: 7.793 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009175/0.03773, allocations: 1.055 MB / 382.6 MB, free: 6.734 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003889/0.04162, allocations: 4.346 MB / 386.9 MB, free: 2.371 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.04163, allocations: 4 kB / 386.9 MB, free: 2.367 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.04163, allocations: 0 / 386.9 MB, free: 2.367 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.46e-05/0.04167, allocations: 4 kB / 386.9 MB, free: 2.363 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: 1560 * Number of variables: 1560 Notification: Performance of Generate backend data structure: time 0.004695/0.04637, allocations: 4.849 MB / 391.8 MB, free: 13.45 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/0.04641, allocations: 8.031 kB / 391.8 MB, free: 13.44 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007196/0.05361, allocations: 3.75 MB / 395.5 MB, free: 9.68 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002213/0.05582, allocations: 1.849 MB / 397.4 MB, free: 7.797 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001941/0.05601, allocations: 189 kB / 397.6 MB, free: 7.609 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001093/0.05711, allocations: 336.3 kB / 397.9 MB, free: 7.281 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009028/0.06614, allocations: 5.518 MB / 403.4 MB, free: 1.121 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001175/0.06625, allocations: 27.75 kB / 403.4 MB, free: 1.094 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002847/0.06654, allocations: 123.8 kB / 403.6 MB, free: 0.9727 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00266/0.0692, allocations: 2.557 MB / 406.1 MB, free: 14.41 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009464/0.07866, allocations: 3.572 MB / 409.7 MB, free: 10.83 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04482/0.1235, allocations: 35.41 MB / 445.1 MB, free: 6.387 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006696/0.1302, allocations: 1.677 MB / 446.8 MB, free: 4.707 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001898/0.1321, allocations: 0.6693 MB / 447.4 MB, free: 4.035 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007712/0.1328, allocations: 413.3 kB / 447.9 MB, free: 3.629 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.117e-05/0.1329, allocations: 59.39 kB / 447.9 MB, free: 3.562 MB / 378.7 MB Notification: Performance of pre-optimization done (n=245): time 6.683e-06/0.1329, allocations: 0 / 447.9 MB, free: 3.562 MB / 378.7 MB Notification: Performance of matching and sorting (n=261): time 0.1926/0.3255, allocations: 9.761 MB / 457.7 MB, free: 102.9 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001264/0.3268, allocations: 1.979 MB / 459.7 MB, free: 101 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003219/0.33, allocations: 2.664 MB / 462.3 MB, free: 100.5 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003594/0.3304, allocations: 63.59 kB / 462.4 MB, free: 100.5 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001531/0.3319, allocations: 2.972 MB / 465.3 MB, free: 98.86 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001/0.3329, allocations: 1.037 MB / 466.4 MB, free: 98.14 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001171/0.3341, allocations: 1.21 MB / 467.6 MB, free: 97.5 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.485e-05/0.3342, allocations: 480.7 kB / 468.1 MB, free: 97.03 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001339/0.3355, allocations: 0.7835 MB / 468.8 MB, free: 96.93 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00278/0.3383, allocations: 5.281 MB / 474.1 MB, free: 90.83 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005538/0.3438, allocations: 6.768 MB / 480.9 MB, free: 83.14 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.178e-05/0.3439, allocations: 28 kB / 480.9 MB, free: 83.11 MB / 378.7 MB Notification: Performance of matching and sorting (n=762) (initialization): time 0.01259/0.3565, allocations: 6.599 MB / 487.5 MB, free: 77.37 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.436e-05/0.3565, allocations: 52 kB / 487.6 MB, free: 77.32 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007708/0.3642, allocations: 2.838 MB / 490.4 MB, free: 74.46 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007192/0.3714, allocations: 2.019 MB / 492.4 MB, free: 72.43 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003766/0.3752, allocations: 1.314 MB / 493.7 MB, free: 71.11 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004586/0.3798, allocations: 4.602 MB / 498.3 MB, free: 66.26 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004664/0.3845, allocations: 459.5 kB / 498.8 MB, free: 65.81 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007742/0.3852, allocations: 338.6 kB / 499.1 MB, free: 65.49 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 481 * Number of states: 0 () * Number of discrete variables: 24 (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],freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.arrowColor[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 (700): * Single equations (assignments): 688 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001777/0.387, allocations: 0.5935 MB / 499.7 MB, free: 64.88 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007485/0.3878, allocations: 346.2 kB / 0.4883 GB, free: 64.54 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005633/0.3934, allocations: 2.975 MB / 0.4912 GB, free: 61.49 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004482/0.3979, allocations: 2.133 MB / 0.4933 GB, free: 59.3 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.06e-05/0.3979, allocations: 4 kB / 0.4933 GB, free: 59.3 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.799e-05/0.3979, allocations: 7.969 kB / 0.4933 GB, free: 59.29 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01542/0.4133, allocations: 8.989 MB / 0.5021 GB, free: 50.11 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.477e-05/0.4133, allocations: 8.969 kB / 0.5021 GB, free: 50.1 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001049/0.4144, allocations: 423.3 kB / 0.5025 GB, free: 49.69 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001964/0.4163, allocations: 0.8722 MB / 0.5034 GB, free: 48.8 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000175/0.4165, allocations: 67.95 kB / 0.5034 GB, free: 48.73 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002127/0.4186, allocations: 4.143 MB / 0.5075 GB, free: 44.36 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0005322/0.4192, allocations: 1.929 MB / 0.5094 GB, free: 42.3 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005407/0.4246, allocations: 3.737 MB / 0.513 GB, free: 38.3 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008638/0.4254, allocations: 295.1 kB / 0.5133 GB, free: 38.01 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000289/0.4257, allocations: 59.66 kB / 0.5134 GB, free: 37.96 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009988/0.4267, allocations: 243.6 kB / 0.5136 GB, free: 37.72 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002957/0.427, allocations: 177.5 kB / 0.5138 GB, free: 37.55 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001079/0.4271, allocations: 79.97 kB / 0.5138 GB, free: 37.47 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001369/0.4285, allocations: 1.146 MB / 0.515 GB, free: 36.31 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.4285, allocations: 0 / 0.515 GB, free: 36.31 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.004109/0.4326, allocations: 1.179 MB / 0.5161 GB, free: 35.14 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 42 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],freeMotion.r_rel_a[1],freeMotion.r_rel_a[2],freeMotion.r_rel_a[3],freeMotion.v_rel_a[1],freeMotion.v_rel_a[2],freeMotion.v_rel_a[3],freeMotion.w_rel_b[1],freeMotion.w_rel_b[2],freeMotion.w_rel_b[3]) * 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 (202): * Single equations (assignments): 192 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,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.0005431/0.4332, allocations: 218.1 kB / 0.5163 GB, free: 34.92 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.006365/0.4395, allocations: 3.741 MB / 0.52 GB, free: 31.14 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.558e-05/0.4395, allocations: 0 / 0.52 GB, free: 31.14 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00248/0.442, allocations: 1.644 MB / 0.5216 GB, free: 29.45 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002137/0.4442, allocations: 336.6 kB / 0.5219 GB, free: 29.12 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01245/0.4566, allocations: 8.542 MB / 0.5302 GB, free: 20.34 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001162/0.4578, allocations: 1.246 MB / 0.5315 GB, free: 19.07 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.00261/0.4604, allocations: 1.715 MB / 0.5331 GB, free: 17.35 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006733/0.4611, allocations: 228.4 kB / 0.5334 GB, free: 17.12 MB / 378.7 MB Notification: Performance of SimCode: time 3.216e-06/0.4611, allocations: 0 / 0.5334 GB, free: 17.12 MB / 378.7 MB Notification: Performance of Templates: time 0.04553/0.5066, allocations: 33.29 MB / 0.5659 GB, free: 15.93 MB / 410.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/FreeMotion/FreeMotion.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.451061397092417]