Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007782/0.0007782, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001233/0.002012, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007407/0.0007407, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001182/0.001923, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9457/0.9457, allocations: 173.4 MB / 186 MB, free: 7.535 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1702/1.116, allocations: 52.49 MB / 238.5 MB, free: 7.613 MB / 234.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1479/0.1479, allocations: 32.8 MB / 272 MB, free: 6.277 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0212/0.1691, allocations: 12.54 MB / 284.5 MB, free: 9.691 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.293e-06/1.293e-06, allocations: 0 / 285.9 MB, free: 8.387 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.645e-05/1.774e-05, allocations: 2.312 kB / 285.9 MB, free: 8.383 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.007681/0.007699, allocations: 9.855 MB / 295.7 MB, free: 14.48 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006325/0.01402, allocations: 3.844 MB / 299.6 MB, free: 10.62 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00121/0.01523, allocations: 71.62 kB / 299.6 MB, free: 10.55 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002053/0.01729, allocations: 1.989 MB / 301.6 MB, free: 8.555 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002967/0.02025, allocations: 1.746 MB / 303.4 MB, free: 6.801 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001/0.02125, allocations: 0.6235 MB / 304 MB, free: 6.176 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003311/0.02456, allocations: 3.559 MB / 307.5 MB, free: 2.609 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002268/0.02683, allocations: 2.252 MB / 309.8 MB, free: 296 kB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002361/0.02919, allocations: 2.037 MB / 311.8 MB, free: 14.25 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00202/0.03121, allocations: 1.746 MB / 313.6 MB, free: 12.5 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005283/0.03174, allocations: 264 kB / 313.8 MB, free: 12.24 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001471/0.03321, allocations: 1.006 MB / 314.8 MB, free: 11.23 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001011/0.03422, allocations: 1.523 MB / 316.4 MB, free: 9.707 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009968/0.03522, allocations: 0.8607 MB / 317.2 MB, free: 8.844 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003675/0.0389, allocations: 3.588 MB / 320.8 MB, free: 5.242 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.174e-05/0.03891, allocations: 0 / 320.8 MB, free: 5.242 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.03891, allocations: 0 / 320.8 MB, free: 5.242 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.006e-05/0.03899, allocations: 0 / 320.8 MB, free: 5.242 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: 1275 * Number of variables: 1275 Notification: Performance of Generate backend data structure: time 0.005006/0.04399, allocations: 4.568 MB / 325.4 MB, free: 0.6055 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/0.04403, allocations: 12.03 kB / 325.4 MB, free: 0.5938 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1816/0.2256, allocations: 0.9355 MB / 326.3 MB, free: 19.42 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00292/0.2285, allocations: 1.466 MB / 327.8 MB, free: 19.18 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000148/0.2287, allocations: 194.1 kB / 328 MB, free: 19.17 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004939/0.2292, allocations: 254.6 kB / 328.2 MB, free: 19.16 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00703/0.2362, allocations: 4.244 MB / 332.5 MB, free: 17.32 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001108/0.2363, allocations: 42.36 kB / 332.5 MB, free: 17.31 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000232/0.2365, allocations: 124.8 kB / 332.6 MB, free: 17.31 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001199/0.2377, allocations: 1.376 MB / 334 MB, free: 17.31 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003571/0.2413, allocations: 2.098 MB / 336.1 MB, free: 17.2 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01763/0.2589, allocations: 27.41 MB / 363.5 MB, free: 12.38 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002477/0.2614, allocations: 1.261 MB / 364.8 MB, free: 11.13 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003142/0.2617, allocations: 283.7 kB / 365.1 MB, free: 10.85 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003442/0.2652, allocations: 2.972 MB / 368 MB, free: 7.902 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.708e-05/0.2652, allocations: 42.62 kB / 368.1 MB, free: 7.855 MB / 330.7 MB Notification: Performance of pre-optimization done (n=103): time 2.385e-06/0.2652, allocations: 0 / 368.1 MB, free: 7.855 MB / 330.7 MB Notification: Performance of matching and sorting (n=104): time 0.005311/0.2705, allocations: 2.63 MB / 370.7 MB, free: 5.238 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.376e-05/0.2706, allocations: 141 kB / 370.8 MB, free: 5.066 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002079/0.2726, allocations: 2.907 MB / 373.8 MB, free: 2.68 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.085e-05/0.2727, allocations: 33.7 kB / 373.8 MB, free: 2.641 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001071/0.2738, allocations: 2.761 MB / 376.5 MB, free: 36 kB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002618/0.274, allocations: 471.9 kB / 377 MB, free: 15.59 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006776/0.2747, allocations: 1.013 MB / 378 MB, free: 14.69 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.524e-05/0.2748, allocations: 305.1 kB / 378.3 MB, free: 14.39 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008345/0.2756, allocations: 0.6152 MB / 378.9 MB, free: 13.77 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002283/0.2779, allocations: 4.038 MB / 383 MB, free: 8.152 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00385/0.2817, allocations: 5.53 MB / 388.5 MB, free: 1.301 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.034e-05/0.2818, allocations: 36 kB / 388.5 MB, free: 1.266 MB / 346.7 MB Notification: Performance of matching and sorting (n=691) (initialization): time 0.003636/0.2854, allocations: 3.584 MB / 392.1 MB, free: 13.68 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.571e-05/0.2855, allocations: 60 kB / 392.2 MB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001083/0.2856, allocations: 132 kB / 392.3 MB, free: 13.49 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.801e-05/0.2857, allocations: 171.8 kB / 392.5 MB, free: 13.33 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002134/0.2878, allocations: 1.358 MB / 393.8 MB, free: 11.97 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000121/0.2879, allocations: 243 kB / 394.1 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001806/0.2897, allocations: 247.7 kB / 394.3 MB, free: 11.49 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000226/0.29, allocations: 288 kB / 394.6 MB, free: 11.21 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.0007928/0.2907, allocations: 0.5663 MB / 395.2 MB, free: 10.63 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002236/0.291, allocations: 171.8 kB / 395.3 MB, free: 10.46 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005735/0.2915, allocations: 0.5045 MB / 395.8 MB, free: 9.949 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.939e-06/0.2916, allocations: 8 kB / 395.8 MB, free: 9.941 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.614e-06/0.2916, allocations: 7.984 kB / 395.9 MB, free: 9.934 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.513e-06/0.2916, allocations: 3.984 kB / 395.9 MB, free: 9.93 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002633/0.2942, allocations: 2.19 MB / 398 MB, free: 7.93 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.225e-05/0.2942, allocations: 14.52 kB / 398.1 MB, free: 7.918 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003421/0.2946, allocations: 148 kB / 398.2 MB, free: 7.773 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002594/0.2948, allocations: 254 kB / 398.5 MB, free: 7.523 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001538/0.295, allocations: 43.64 kB / 398.5 MB, free: 7.477 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.969e-05/0.295, allocations: 17.95 kB / 398.5 MB, free: 7.461 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008755/0.2959, allocations: 1.423 MB / 399.9 MB, free: 5.949 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.22e-06/0.2959, allocations: 7.875 kB / 399.9 MB, free: 5.941 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001041/0.2969, allocations: 1.219 MB / 401.2 MB, free: 4.691 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001452/0.2971, allocations: 27.06 kB / 401.2 MB, free: 4.668 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004023/0.2975, allocations: 16 kB / 401.2 MB, free: 4.652 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.853e-05/0.2976, allocations: 59.83 kB / 401.3 MB, free: 4.594 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.469e-05/0.2976, allocations: 24.06 kB / 401.3 MB, free: 4.57 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0008157/0.2984, allocations: 1.037 MB / 402.3 MB, free: 3.664 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2984, allocations: 0 / 402.3 MB, free: 3.664 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002969/0.3014, allocations: 0.8085 MB / 403.1 MB, free: 2.855 MB / 362.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.000302/0.3017, allocations: 148.1 kB / 403.3 MB, free: 2.703 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002407/0.3041, allocations: 2.035 MB / 405.3 MB, free: 0.9297 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001774/0.3043, allocations: 106.8 kB / 405.4 MB, free: 0.8203 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005716/0.3048, allocations: 401.8 kB / 405.8 MB, free: 432 kB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002634/0.3075, allocations: 2.667 MB / 408.5 MB, free: 13.39 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01031/0.3178, allocations: 5.866 MB / 414.3 MB, free: 7.457 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001131/0.3189, allocations: 0.9905 MB / 415.3 MB, free: 6.445 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001165/0.3201, allocations: 419.2 kB / 415.7 MB, free: 6.031 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006966/0.3208, allocations: 473.1 kB / 416.2 MB, free: 5.57 MB / 378.7 MB Notification: Performance of SimCode: time 1.093e-06/0.3208, allocations: 0 / 416.2 MB, free: 5.57 MB / 378.7 MB Notification: Performance of Templates: time 0.0376/0.3584, allocations: 21.13 MB / 437.3 MB, free: 0.6406 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/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.4124976685270667]