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.0009434/0.0009434, allocations: 76.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001324/0.002267, allocations: 447.8 kB / 10.35 MB, free: 348 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.0009404/0.0009404, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001156/0.002097, allocations: 463.6 kB / 11.69 MB, free: 2.48 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.9512/0.9512, allocations: 158.6 MB / 171 MB, free: 2.184 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1689/1.12, allocations: 49.49 MB / 220.5 MB, free: 5.27 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.1349/0.1349, allocations: 32.34 MB / 253.6 MB, free: 4.164 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.04177/0.1767, allocations: 12.29 MB / 265.9 MB, free: 7.836 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.853e-06/1.853e-06, allocations: 0 / 267.2 MB, free: 6.523 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.005e-05/1.19e-05, allocations: 2.312 kB / 267.2 MB, free: 6.52 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.008346/0.008358, allocations: 9.856 MB / 277.1 MB, free: 12.61 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.006513/0.01487, allocations: 3.864 MB / 280.9 MB, free: 8.73 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008247/0.0157, allocations: 63.69 kB / 281 MB, free: 8.668 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002046/0.01774, allocations: 1.993 MB / 283 MB, free: 6.668 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002442/0.02018, allocations: 1.73 MB / 284.7 MB, free: 4.93 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009137/0.0211, allocations: 0.6197 MB / 285.4 MB, free: 4.309 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.002965/0.02406, allocations: 3.595 MB / 288.9 MB, free: 0.7031 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001704/0.02577, allocations: 2.259 MB / 291.2 MB, free: 14.38 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001625/0.02739, allocations: 2.045 MB / 293.3 MB, free: 12.33 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00165/0.02904, allocations: 1.753 MB / 295 MB, free: 10.57 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002409/0.02928, allocations: 264 kB / 295.3 MB, free: 10.31 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001176/0.03046, allocations: 0.9985 MB / 296.3 MB, free: 9.312 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000854/0.03131, allocations: 1.527 MB / 297.8 MB, free: 7.781 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006754/0.03199, allocations: 0.8607 MB / 298.6 MB, free: 6.918 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002987/0.03497, allocations: 3.599 MB / 302.2 MB, free: 3.305 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.21e-05/0.03499, allocations: 0 / 302.2 MB, free: 3.305 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.03499, allocations: 0 / 302.2 MB, free: 3.305 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.323e-05/0.03503, allocations: 0 / 302.2 MB, free: 3.305 MB / 298.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.003683/0.03871, allocations: 4.572 MB / 306.8 MB, free: 14.66 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.099e-05/0.03874, allocations: 12.03 kB / 306.8 MB, free: 14.65 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002051/0.0408, allocations: 0.9333 MB / 307.8 MB, free: 13.72 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00176/0.04256, allocations: 1.492 MB / 309.3 MB, free: 12.18 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.909e-05/0.04264, allocations: 189.2 kB / 309.4 MB, free: 11.99 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002691/0.04291, allocations: 260.2 kB / 309.7 MB, free: 11.74 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003778/0.04669, allocations: 4.231 MB / 313.9 MB, free: 6.824 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.94e-05/0.04675, allocations: 39.64 kB / 314 MB, free: 6.785 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000195/0.04695, allocations: 135.8 kB / 314.1 MB, free: 6.652 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00121/0.04816, allocations: 1.469 MB / 315.6 MB, free: 5.184 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003342/0.0515, allocations: 2.103 MB / 317.7 MB, free: 3.051 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1625/0.214, allocations: 27.43 MB / 345.1 MB, free: 31.3 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002529/0.2165, allocations: 1.252 MB / 346.4 MB, free: 31.07 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003302/0.2168, allocations: 271.6 kB / 346.6 MB, free: 31.02 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004138/0.221, allocations: 2.973 MB / 349.6 MB, free: 30.19 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.321e-05/0.221, allocations: 45.69 kB / 349.6 MB, free: 30.15 MB / 330.7 MB Notification: Performance of pre-optimization done (n=103): time 2.795e-06/0.221, allocations: 5.344 kB / 349.6 MB, free: 30.15 MB / 330.7 MB Notification: Performance of matching and sorting (n=104): time 0.005331/0.2264, allocations: 2.626 MB / 352.3 MB, free: 29.7 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.608e-05/0.2264, allocations: 142.3 kB / 352.4 MB, free: 29.54 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002285/0.2287, allocations: 2.914 MB / 355.3 MB, free: 29.09 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.794e-05/0.2287, allocations: 46.11 kB / 355.4 MB, free: 29.05 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001085/0.2298, allocations: 2.757 MB / 358.1 MB, free: 27.33 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002386/0.23, allocations: 465.3 kB / 358.6 MB, free: 27.09 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006985/0.2307, allocations: 1.009 MB / 359.6 MB, free: 26.96 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.311e-05/0.2308, allocations: 304.1 kB / 359.9 MB, free: 26.66 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008838/0.2317, allocations: 0.6141 MB / 360.5 MB, free: 26.64 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002113/0.2338, allocations: 4.033 MB / 364.5 MB, free: 22.02 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003068/0.2369, allocations: 5.122 MB / 369.7 MB, free: 17.35 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.747e-05/0.2369, allocations: 36.22 kB / 369.7 MB, free: 17.35 MB / 330.7 MB Notification: Performance of matching and sorting (n=691) (initialization): time 0.003387/0.2403, allocations: 3.593 MB / 373.3 MB, free: 14.64 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.327e-05/0.2404, allocations: 60 kB / 373.3 MB, free: 14.58 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.627e-05/0.2404, allocations: 124 kB / 373.5 MB, free: 14.46 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.933e-05/0.2405, allocations: 168 kB / 373.6 MB, free: 14.29 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001875/0.2424, allocations: 1.352 MB / 375 MB, free: 12.98 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.073e-05/0.2425, allocations: 247.3 kB / 375.2 MB, free: 12.74 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001723/0.2442, allocations: 245.8 kB / 375.5 MB, free: 12.58 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002223/0.2444, allocations: 293.9 kB / 375.7 MB, free: 12.33 MB / 330.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.0008018/0.2452, allocations: 0.5713 MB / 376.3 MB, free: 11.83 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001972/0.2454, allocations: 167.3 kB / 376.5 MB, free: 11.67 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005753/0.246, allocations: 0.5104 MB / 377 MB, free: 11.15 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.454e-05/0.246, allocations: 12 kB / 377 MB, free: 11.14 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.246, allocations: 0 / 377 MB, free: 11.14 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.266e-06/0.246, allocations: 11.92 kB / 377 MB, free: 11.13 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002442/0.2485, allocations: 2.193 MB / 379.2 MB, free: 8.938 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.2485, allocations: 2.734 kB / 379.2 MB, free: 8.938 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003196/0.2488, allocations: 143.8 kB / 379.4 MB, free: 8.797 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002864/0.2491, allocations: 318 kB / 379.7 MB, free: 8.484 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001495/0.2492, allocations: 47.8 kB / 379.7 MB, free: 8.434 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.913e-05/0.2493, allocations: 19.98 kB / 379.7 MB, free: 8.414 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007065/0.25, allocations: 1.427 MB / 381.2 MB, free: 6.895 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.25, allocations: 4 kB / 381.2 MB, free: 6.891 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007569/0.2507, allocations: 1.222 MB / 382.4 MB, free: 5.633 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000153/0.2509, allocations: 15.98 kB / 382.4 MB, free: 5.617 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003919/0.2513, allocations: 20 kB / 382.4 MB, free: 5.598 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.409e-05/0.2513, allocations: 55.84 kB / 382.5 MB, free: 5.543 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.292e-05/0.2514, allocations: 23.98 kB / 382.5 MB, free: 5.52 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0006756/0.252, allocations: 1.048 MB / 383.5 MB, free: 4.473 MB / 330.7 MB Notification: Performance of sort global known variables: time 4e-08/0.252, allocations: 0 / 383.5 MB, free: 4.473 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001925/0.254, allocations: 0.8085 MB / 384.4 MB, free: 3.664 MB / 330.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.0002702/0.2542, allocations: 156.7 kB / 384.5 MB, free: 3.5 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001458/0.2557, allocations: 1.932 MB / 386.4 MB, free: 1.582 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001379/0.2558, allocations: 100.7 kB / 386.5 MB, free: 1.477 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003724/0.2562, allocations: 351.9 kB / 386.9 MB, free: 1.121 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001234/0.2574, allocations: 0.6829 MB / 387.6 MB, free: 472 kB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009432/0.2669, allocations: 5.889 MB / 393.4 MB, free: 10.49 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008749/0.2678, allocations: 0.9911 MB / 394.4 MB, free: 9.484 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0008855/0.2686, allocations: 426.8 kB / 394.9 MB, free: 9.066 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005888/0.2692, allocations: 481.2 kB / 395.3 MB, free: 8.594 MB / 346.7 MB Notification: Performance of SimCode: time 1.232e-06/0.2692, allocations: 3.938 kB / 395.3 MB, free: 8.59 MB / 346.7 MB Notification: Performance of Templates: time 0.03474/0.304, allocations: 22.95 MB / 418.3 MB, free: 1.836 MB / 362.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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.755375748500228]