Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001045/0.001045, allocations: 89.05 kB / 9.989 MB, free: 0.6953 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001331/0.002376, allocations: 452 kB / 10.43 MB, free: 260 kB / 10.45 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.0007895/0.0007895, allocations: 161.1 kB / 11.33 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001004/0.001794, allocations: 483.5 kB / 11.8 MB, free: 2.359 MB / 13.93 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.898/0.898, allocations: 158.6 MB / 171.2 MB, free: 2.516 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1742/1.072, allocations: 49.5 MB / 220.7 MB, free: 1.363 MB / 218.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.1431/0.1431, allocations: 32.35 MB / 253.8 MB, free: 232 kB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02748/0.1706, allocations: 12.31 MB / 266.1 MB, free: 3.875 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.RevoluteInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization") translateModel(ModelicaTest.MultiBody.Joints.RevoluteInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 267.4 MB, free: 2.559 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.102e-05/3.248e-05, allocations: 10.19 kB / 267.4 MB, free: 2.547 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.0115/0.01153, allocations: 9.856 MB / 277.3 MB, free: 8.633 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.008253/0.01978, allocations: 3.86 MB / 281.1 MB, free: 4.762 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001207/0.02099, allocations: 63.69 kB / 281.2 MB, free: 4.699 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002734/0.02372, allocations: 1.993 MB / 283.2 MB, free: 2.699 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002543/0.02627, allocations: 1.73 MB / 284.9 MB, free: 0.9609 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009709/0.02724, allocations: 0.6235 MB / 285.5 MB, free: 344 kB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.1491/0.1763, allocations: 3.576 MB / 289.1 MB, free: 1.984 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002685/0.179, allocations: 2.248 MB / 291.4 MB, free: 1.711 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0033/0.1823, allocations: 2.055 MB / 293.4 MB, free: 1.531 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002613/0.1849, allocations: 1.746 MB / 295.2 MB, free: 1.406 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006742/0.1856, allocations: 257.5 kB / 295.4 MB, free: 1.406 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001673/0.1873, allocations: 1.002 MB / 296.4 MB, free: 1.391 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001218/0.1885, allocations: 1.525 MB / 297.9 MB, free: 1.176 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001276/0.1898, allocations: 0.8679 MB / 298.8 MB, free: 1.008 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003128/0.1929, allocations: 3.592 MB / 302.4 MB, free: 0 / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.366e-05/0.1929, allocations: 160 / 302.4 MB, free: 0 / 282.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1929, allocations: 2.25 kB / 302.4 MB, free: 0 / 282.7 MB Notification: Performance of Transformations before backend: time 0.0001522/0.1931, allocations: 0 / 302.4 MB, free: 0 / 282.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.004627/0.1977, allocations: 4.586 MB / 307 MB, free: 13.54 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/0.1977, allocations: 12.03 kB / 307 MB, free: 13.53 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002306/0.2, allocations: 0.9318 MB / 307.9 MB, free: 12.86 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001832/0.2019, allocations: 1.489 MB / 309.4 MB, free: 11.58 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.965e-05/0.202, allocations: 190.7 kB / 309.6 MB, free: 11.42 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002767/0.2022, allocations: 256.2 kB / 309.9 MB, free: 11.21 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003859/0.2061, allocations: 4.249 MB / 314.1 MB, free: 6.68 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.648e-05/0.2062, allocations: 37.48 kB / 314.1 MB, free: 6.66 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001948/0.2063, allocations: 129.7 kB / 314.3 MB, free: 6.566 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001119/0.2075, allocations: 1.373 MB / 315.6 MB, free: 5.215 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002832/0.2103, allocations: 2.109 MB / 317.7 MB, free: 3.305 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01902/0.2293, allocations: 27.41 MB / 345.2 MB, free: 7.836 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002417/0.2317, allocations: 1.269 MB / 346.4 MB, free: 6.566 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002969/0.232, allocations: 271.5 kB / 346.7 MB, free: 6.289 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003573/0.2356, allocations: 2.98 MB / 349.7 MB, free: 3.328 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.118e-05/0.2356, allocations: 46.62 kB / 349.7 MB, free: 3.277 MB / 330.7 MB Notification: Performance of pre-optimization done (n=103): time 2.815e-06/0.2356, allocations: 0 / 349.7 MB, free: 3.277 MB / 330.7 MB Notification: Performance of matching and sorting (n=104): time 0.005877/0.2415, allocations: 2.647 MB / 352.4 MB, free: 0.6328 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.205e-05/0.2416, allocations: 141 kB / 352.5 MB, free: 472 kB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002138/0.2437, allocations: 2.91 MB / 355.4 MB, free: 14.06 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.826e-05/0.2438, allocations: 37.7 kB / 355.5 MB, free: 14.02 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001312/0.2451, allocations: 2.766 MB / 358.2 MB, free: 11.4 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002569/0.2453, allocations: 461.5 kB / 358.7 MB, free: 10.97 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007176/0.246, allocations: 1.013 MB / 359.7 MB, free: 10.06 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.903e-05/0.2461, allocations: 301.1 kB / 360 MB, free: 9.766 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008096/0.2469, allocations: 0.6191 MB / 360.6 MB, free: 9.141 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002438/0.2494, allocations: 4.042 MB / 364.6 MB, free: 3.512 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004072/0.2534, allocations: 5.515 MB / 370.2 MB, free: 12.58 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.845e-05/0.2535, allocations: 36 kB / 370.2 MB, free: 12.55 MB / 362.7 MB Notification: Performance of matching and sorting (n=691) (initialization): time 0.003883/0.2574, allocations: 3.594 MB / 373.8 MB, free: 8.945 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.332e-05/0.2574, allocations: 63.98 kB / 373.8 MB, free: 8.883 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.732e-05/0.2575, allocations: 132 kB / 374 MB, free: 8.754 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.632e-05/0.2576, allocations: 167.9 kB / 374.1 MB, free: 8.59 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002372/0.26, allocations: 1.349 MB / 375.5 MB, free: 7.238 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001135/0.2601, allocations: 247.4 kB / 375.7 MB, free: 6.996 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002202/0.2623, allocations: 242.5 kB / 376 MB, free: 6.762 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003037/0.2626, allocations: 296 kB / 376.3 MB, free: 6.473 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 575 * 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 (667): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001402/0.264, allocations: 0.57 MB / 376.8 MB, free: 5.891 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004782/0.2645, allocations: 167.8 kB / 377 MB, free: 5.727 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008474/0.2653, allocations: 0.5091 MB / 377.5 MB, free: 5.195 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-05/0.2654, allocations: 8 kB / 377.5 MB, free: 5.188 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.435e-06/0.2654, allocations: 4 kB / 377.5 MB, free: 5.184 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.288e-06/0.2654, allocations: 3.984 kB / 377.5 MB, free: 5.18 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003665/0.269, allocations: 2.197 MB / 379.7 MB, free: 2.992 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-05/0.2691, allocations: 11.98 kB / 379.7 MB, free: 2.98 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000376/0.2694, allocations: 143.8 kB / 379.9 MB, free: 2.84 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005423/0.27, allocations: 325.9 kB / 380.2 MB, free: 2.52 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002007/0.2702, allocations: 51.8 kB / 380.2 MB, free: 2.465 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.648e-05/0.2702, allocations: 16 kB / 380.2 MB, free: 2.449 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001136/0.2714, allocations: 1.422 MB / 381.7 MB, free: 0.9219 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.56e-06/0.2714, allocations: 11.97 kB / 381.7 MB, free: 0.9102 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0014/0.2728, allocations: 1.215 MB / 382.9 MB, free: 15.65 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002878/0.273, allocations: 23.98 kB / 382.9 MB, free: 15.63 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004708/0.2735, allocations: 19.94 kB / 382.9 MB, free: 15.61 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.931e-05/0.2736, allocations: 59.83 kB / 383 MB, free: 15.55 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.058e-05/0.2736, allocations: 20 kB / 383 MB, free: 15.53 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0009362/0.2746, allocations: 1.048 MB / 384.1 MB, free: 14.48 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.2746, allocations: 0 / 384.1 MB, free: 14.48 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002941/0.2775, allocations: 0.8124 MB / 384.9 MB, free: 13.67 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 2 (rev.w,damper.phi_rel) * 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 (78): * Single equations (assignments): 74 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003915/0.2779, allocations: 152.8 kB / 385 MB, free: 13.52 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002502/0.2804, allocations: 2.04 MB / 387.1 MB, free: 11.51 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001653/0.2806, allocations: 100.1 kB / 387.2 MB, free: 11.4 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005382/0.2811, allocations: 408.5 kB / 387.6 MB, free: 10.99 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002897/0.284, allocations: 2.664 MB / 390.2 MB, free: 7.957 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009603/0.2936, allocations: 5.899 MB / 396.1 MB, free: 1.973 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007733/0.2944, allocations: 0.9906 MB / 397.1 MB, free: 0.9688 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001015/0.2954, allocations: 416.8 kB / 397.5 MB, free: 0.5586 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005608/0.296, allocations: 469.2 kB / 398 MB, free: 100 kB / 378.7 MB Notification: Performance of SimCode: time 1.763e-06/0.296, allocations: 0 / 398 MB, free: 100 kB / 378.7 MB Notification: Performance of Templates: time 0.03632/0.3323, allocations: 21.35 MB / 419.3 MB, free: 10.77 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/RevoluteInitialization/RevoluteInitialization.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.2774006128311157]