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.0009989/0.0009989, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.0009111/0.0009111, allocations: 161.5 kB / 24.99 MB, free: 8.344 MB / 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 0.8883/0.8883, allocations: 177.1 MB / 205.3 MB, free: 5.648 MB / 186.7 MB " [Timeout remaining time 179] 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.2606/0.2606, allocations: 34.25 MB / 296 MB, free: 0.6836 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.423e-06/1.423e-06, allocations: 0 / 378 MB, free: 2.965 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.364e-05/1.506e-05, allocations: 2.312 kB / 378 MB, free: 2.961 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.008018/0.008033, allocations: 9.911 MB / 387.9 MB, free: 8.996 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.007832/0.01586, allocations: 3.716 MB / 391.7 MB, free: 5.266 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002158/0.01802, allocations: 67.69 kB / 391.7 MB, free: 5.199 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004214/0.02224, allocations: 2.075 MB / 393.8 MB, free: 3.117 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005043/0.02728, allocations: 1.738 MB / 395.5 MB, free: 1.371 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001559/0.02884, allocations: 0.6664 MB / 396.2 MB, free: 0.7031 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.005091/0.03393, allocations: 3.749 MB / 400 MB, free: 12.95 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002323/0.03625, allocations: 2.466 MB / 402.4 MB, free: 10.43 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002008/0.03826, allocations: 1.902 MB / 404.3 MB, free: 8.52 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001793/0.04005, allocations: 1.855 MB / 406.2 MB, free: 6.66 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003732/0.04043, allocations: 260 kB / 406.4 MB, free: 6.406 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00121/0.04164, allocations: 0.975 MB / 407.4 MB, free: 5.43 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009273/0.04256, allocations: 1.679 MB / 409.1 MB, free: 3.746 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009384/0.0435, allocations: 1.036 MB / 410.1 MB, free: 2.707 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002875/0.04638, allocations: 3.814 MB / 413.9 MB, free: 14.88 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.04638, allocations: 4 kB / 413.9 MB, free: 14.88 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.173e-06/0.04638, allocations: 0 / 413.9 MB, free: 14.88 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.027e-05/0.04645, allocations: 0 / 413.9 MB, free: 14.88 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.004282/0.05074, allocations: 4.379 MB / 418.3 MB, free: 10.43 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.472e-05/0.05077, allocations: 8.031 kB / 418.3 MB, free: 10.43 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003678/0.05445, allocations: 2.187 MB / 420.5 MB, free: 8.234 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001898/0.05635, allocations: 1.726 MB / 422.2 MB, free: 6.461 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.586e-05/0.05644, allocations: 193.2 kB / 422.4 MB, free: 6.27 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002753/0.05672, allocations: 256.2 kB / 422.7 MB, free: 6.02 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00562/0.06234, allocations: 5.302 MB / 428 MB, free: 15.8 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.252e-05/0.06241, allocations: 47.45 kB / 428 MB, free: 15.75 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002187/0.06263, allocations: 123.9 kB / 428.1 MB, free: 15.63 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001533/0.06416, allocations: 1.695 MB / 429.8 MB, free: 13.94 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005011/0.06917, allocations: 2.768 MB / 432.6 MB, free: 11.16 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.158/0.2272, allocations: 38.59 MB / 471.2 MB, free: 66.7 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003481/0.2307, allocations: 1.62 MB / 472.8 MB, free: 66.35 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005649/0.2313, allocations: 0.4895 MB / 473.3 MB, free: 66.23 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00278/0.234, allocations: 3.154 MB / 476.5 MB, free: 64.39 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.73e-05/0.2341, allocations: 58.34 kB / 476.5 MB, free: 64.34 MB / 410.7 MB Notification: Performance of pre-optimization done (n=121): time 2.845e-06/0.2341, allocations: 0 / 476.5 MB, free: 64.34 MB / 410.7 MB Notification: Performance of matching and sorting (n=129): time 0.01367/0.2478, allocations: 8.492 MB / 485 MB, free: 61.37 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.996e-05/0.2478, allocations: 164.8 kB / 485.2 MB, free: 61.18 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002651/0.2505, allocations: 3.177 MB / 488.3 MB, free: 59.88 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.081e-05/0.2505, allocations: 44.27 kB / 488.4 MB, free: 59.83 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001055/0.2516, allocations: 3.016 MB / 491.4 MB, free: 57.56 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003347/0.2519, allocations: 0.5561 MB / 492 MB, free: 57.16 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008656/0.2528, allocations: 1.171 MB / 493.1 MB, free: 56.54 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.102e-05/0.2528, allocations: 480.5 kB / 493.6 MB, free: 56.07 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007652/0.2536, allocations: 0.5547 MB / 494.2 MB, free: 55.99 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00206/0.2556, allocations: 5.651 MB / 499.8 MB, free: 49 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00401/0.2596, allocations: 6.825 MB / 0.4948 GB, free: 41.21 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.043e-05/0.2597, allocations: 35.16 kB / 0.4948 GB, free: 41.21 MB / 410.7 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.005535/0.2652, allocations: 4.661 MB / 0.4993 GB, free: 39.44 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.591e-05/0.2653, allocations: 58.91 kB / 0.4994 GB, free: 39.44 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001107/0.2654, allocations: 122.2 kB / 0.4995 GB, free: 39.44 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005042/0.2659, allocations: 335.5 kB / 0.4998 GB, free: 39.41 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002083/0.268, allocations: 1.248 MB / 0.5011 GB, free: 39.25 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001253/0.2693, allocations: 2.433 MB / 0.5034 GB, free: 37.14 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001816/0.2711, allocations: 316.2 kB / 0.5037 GB, free: 37.04 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003167/0.2714, allocations: 344.5 kB / 0.5041 GB, free: 37 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.0007766/0.2722, allocations: 0.6082 MB / 0.5047 GB, free: 36.5 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002706/0.2724, allocations: 319 kB / 0.505 GB, free: 36.33 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001881/0.2743, allocations: 1.304 MB / 0.5062 GB, free: 35.96 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.468e-05/0.2743, allocations: 14 kB / 0.5062 GB, free: 35.96 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.298e-06/0.2743, allocations: 6.922 kB / 0.5063 GB, free: 35.96 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.346e-06/0.2744, allocations: 6.969 kB / 0.5063 GB, free: 35.96 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005258/0.2796, allocations: 4.211 MB / 0.5104 GB, free: 34.29 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.2796, allocations: 3.531 kB / 0.5104 GB, free: 34.29 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004033/0.28, allocations: 170.6 kB / 0.5105 GB, free: 34.27 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001044/0.2811, allocations: 447.7 kB / 0.511 GB, free: 34.24 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.436e-05/0.2811, allocations: 23.94 kB / 0.511 GB, free: 34.23 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002414/0.2835, allocations: 2.912 MB / 0.5138 GB, free: 31.89 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.2835, allocations: 7.406 kB / 0.5138 GB, free: 31.88 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002807/0.2863, allocations: 2.276 MB / 0.5161 GB, free: 30.81 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002769/0.2866, allocations: 276.8 kB / 0.5163 GB, free: 30.55 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001724/0.2868, allocations: 25.03 kB / 0.5164 GB, free: 30.53 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005784/0.2874, allocations: 97.92 kB / 0.5164 GB, free: 30.47 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001802/0.2876, allocations: 70.83 kB / 0.5165 GB, free: 30.43 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.44e-05/0.2876, allocations: 33.67 kB / 0.5165 GB, free: 30.4 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001442/0.2891, allocations: 1.349 MB / 0.5179 GB, free: 29.29 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2891, allocations: 0 / 0.5179 GB, free: 29.29 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002735/0.2918, allocations: 0.8753 MB / 0.5187 GB, free: 28.42 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.0002855/0.2921, allocations: 170.6 kB / 0.5189 GB, free: 28.26 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002988/0.2951, allocations: 2.556 MB / 0.5214 GB, free: 25.98 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.2951, allocations: 4 kB / 0.5214 GB, free: 25.98 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006123/0.2957, allocations: 0.6177 MB / 0.522 GB, free: 25.4 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001121/0.2968, allocations: 359.1 kB / 0.5223 GB, free: 25.11 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006327/0.3031, allocations: 5.944 MB / 0.5281 GB, free: 19.59 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007325/0.3039, allocations: 1.014 MB / 0.5291 GB, free: 18.86 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0017/0.3056, allocations: 1.392 MB / 0.5305 GB, free: 18.06 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003293/0.3059, allocations: 203.7 kB / 0.5307 GB, free: 17.88 MB / 410.7 MB Notification: Performance of SimCode: time 1.413e-06/0.3059, allocations: 0 / 0.5307 GB, free: 17.88 MB / 410.7 MB Notification: Performance of Templates: time 0.03211/0.338, allocations: 25.82 MB / 0.5559 GB, free: 9.281 MB / 426.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe 2>&1) [Timeout 240] 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","",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.075547722168267]