Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.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.00134/0.00134, allocations: 111.1 kB / 20.44 MB, free: 1.184 MB / 14.72 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.001444/0.001444, allocations: 210.7 kB / 23.72 MB, free: 4.391 MB / 14.72 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 1.464/1.464, allocations: 230.6 MB / 257.5 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] 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(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001595/0.001595, allocations: 47.91 kB / 378.2 MB, free: 2.555 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2653/0.2669, allocations: 53.37 MB / 431.6 MB, free: 6.73 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum): time 0.009386/0.2763, allocations: 6.325 MB / 437.9 MB, free: 388 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00655/0.2828, allocations: 2.987 MB / 440.9 MB, free: 13.38 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009523/0.2838, allocations: 35.81 kB / 440.9 MB, free: 13.35 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002055/0.2858, allocations: 0.7899 MB / 441.7 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003597/0.2894, allocations: 1.323 MB / 443 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00128/0.2907, allocations: 495 kB / 443.5 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003772/0.2945, allocations: 2.558 MB / 446.1 MB, free: 8.18 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001757/0.2962, allocations: 1.079 MB / 447.2 MB, free: 7.082 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001349/0.2976, allocations: 0.7745 MB / 447.9 MB, free: 6.305 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001934/0.2995, allocations: 1.168 MB / 449.1 MB, free: 5.133 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004622/0.3, allocations: 136 kB / 449.2 MB, free: 5 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001793/0.3018, allocations: 0.7682 MB / 450 MB, free: 4.23 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001454/0.3032, allocations: 1.005 MB / 451 MB, free: 3.223 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001951/0.3052, allocations: 0.8419 MB / 451.9 MB, free: 2.375 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00584/0.311, allocations: 3.942 MB / 455.8 MB, free: 14.42 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.311, allocations: 0 / 455.8 MB, free: 14.42 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.311, allocations: 0 / 455.8 MB, free: 14.42 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001247/0.3112, allocations: 4 kB / 455.8 MB, free: 14.42 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 934 * Number of variables: 934 Notification: Performance of Generate backend data structure: time 0.00655/0.3177, allocations: 2.871 MB / 458.7 MB, free: 11.5 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.668e-05/0.3178, allocations: 8.031 kB / 458.7 MB, free: 11.5 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006156/0.3239, allocations: 1.657 MB / 460.3 MB, free: 9.836 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003225/0.3271, allocations: 1.255 MB / 461.6 MB, free: 8.555 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001125/0.3273, allocations: 118.9 kB / 461.7 MB, free: 8.438 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003728/0.3276, allocations: 159.8 kB / 461.9 MB, free: 8.281 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01011/0.3377, allocations: 6.359 MB / 468.2 MB, free: 1.391 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.554e-05/0.3378, allocations: 27.75 kB / 468.2 MB, free: 1.363 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002342/0.338, allocations: 83.89 kB / 468.3 MB, free: 1.281 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002606/0.3406, allocations: 1.441 MB / 469.8 MB, free: 15.84 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01056/0.3512, allocations: 5.654 MB / 475.4 MB, free: 10.18 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0303/0.3815, allocations: 24.76 MB / 0.4885 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004493/0.386, allocations: 1.731 MB / 0.4902 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001515/0.3875, allocations: 0.9444 MB / 0.4911 GB, free: 13.88 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.356e-05/0.3876, allocations: 15.88 kB / 0.4911 GB, free: 13.86 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.98e-05/0.3876, allocations: 42.56 kB / 0.4911 GB, free: 13.81 MB / 414.1 MB Notification: Performance of pre-optimization done (n=98): time 4.488e-06/0.3876, allocations: 0 / 0.4911 GB, free: 13.81 MB / 414.1 MB Notification: Performance of matching and sorting (n=106): time 0.0212/0.4088, allocations: 8.509 MB / 0.4994 GB, free: 5.238 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.047e-05/0.4089, allocations: 140.5 kB / 0.4996 GB, free: 5.07 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003592/0.4125, allocations: 2.634 MB / 0.5021 GB, free: 2.402 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001149/0.4126, allocations: 41.7 kB / 0.5022 GB, free: 2.355 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001679/0.4143, allocations: 2.178 MB / 0.5043 GB, free: 156 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004661/0.4148, allocations: 464.8 kB / 0.5048 GB, free: 15.69 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001123/0.4159, allocations: 0.8894 MB / 0.5056 GB, free: 14.79 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001913/0.4161, allocations: 349.9 kB / 0.506 GB, free: 14.44 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002208/0.4183, allocations: 1.414 MB / 0.5073 GB, free: 13.02 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004703/0.423, allocations: 4.25 MB / 0.5115 GB, free: 7.34 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007729/0.4307, allocations: 6.133 MB / 0.5175 GB, free: 15.79 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.962e-05/0.4308, allocations: 28 kB / 0.5175 GB, free: 15.77 MB / 446.1 MB Notification: Performance of matching and sorting (n=573) (initialization): time 0.01129/0.4421, allocations: 6.082 MB / 0.5234 GB, free: 9.68 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.071e-05/0.4421, allocations: 48 kB / 0.5235 GB, free: 9.633 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000114/0.4423, allocations: 100 kB / 0.5236 GB, free: 9.535 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002467/0.4447, allocations: 0.8045 MB / 0.5244 GB, free: 8.73 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002913/0.4476, allocations: 0.9902 MB / 0.5253 GB, free: 7.738 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006311/0.4539, allocations: 4.311 MB / 0.5295 GB, free: 3.324 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002774/0.4567, allocations: 243.6 kB / 0.5298 GB, free: 3.086 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003816/0.4571, allocations: 283.9 kB / 0.5301 GB, free: 2.809 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 459 * Number of states: 0 () * Number of discrete variables: 18 (body.sphereColor[3],body.sphereColor[2],body.sphereColor[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 (537): * Single equations (assignments): 533 * 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 {(2,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002021/0.4591, allocations: 1.367 MB / 0.5314 GB, free: 1.434 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003786/0.4595, allocations: 214.5 kB / 0.5316 GB, free: 1.223 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003931/0.4634, allocations: 1.819 MB / 0.5334 GB, free: 15.38 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.312e-05/0.4635, allocations: 16 kB / 0.5334 GB, free: 15.36 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.4635, allocations: 0 / 0.5334 GB, free: 15.36 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.443e-05/0.4635, allocations: 12.3 kB / 0.5334 GB, free: 15.35 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008445/0.4719, allocations: 4.131 MB / 0.5374 GB, free: 11.16 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.611e-06/0.4719, allocations: 4 kB / 0.5374 GB, free: 11.16 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006143/0.4725, allocations: 127.9 kB / 0.5376 GB, free: 11.03 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002128/0.4747, allocations: 0.6521 MB / 0.5382 GB, free: 10.38 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.679e-05/0.4747, allocations: 16 kB / 0.5382 GB, free: 10.36 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005441/0.4802, allocations: 3.799 MB / 0.5419 GB, free: 6.457 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.4802, allocations: 4 kB / 0.5419 GB, free: 6.453 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006278/0.4865, allocations: 3.665 MB / 0.5455 GB, free: 2.758 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005483/0.487, allocations: 194.6 kB / 0.5457 GB, free: 2.566 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002041/0.4872, allocations: 20 kB / 0.5457 GB, free: 2.547 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008234/0.488, allocations: 59.91 kB / 0.5458 GB, free: 2.488 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001652/0.4882, allocations: 59.83 kB / 0.5458 GB, free: 2.43 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.13e-05/0.4883, allocations: 28 kB / 0.5458 GB, free: 2.402 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.00245/0.4907, allocations: 1.499 MB / 0.5473 GB, free: 0.8867 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4907, allocations: 0 / 0.5473 GB, free: 0.8867 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003201/0.4939, allocations: 0.6327 MB / 0.5479 GB, free: 260 kB / 462.1 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 (75): * Single equations (assignments): 71 * 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,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000339/0.4943, allocations: 143 kB / 0.5481 GB, free: 108 kB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.1963/0.6906, allocations: 3.302 MB / 0.5513 GB, free: 117 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.6906, allocations: 0 / 0.5513 GB, free: 117 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001115/0.6917, allocations: 0.8674 MB / 0.5521 GB, free: 116.6 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001421/0.6931, allocations: 217.7 kB / 0.5523 GB, free: 116.5 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007537/0.7007, allocations: 5.506 MB / 0.5577 GB, free: 114.2 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001512/0.7022, allocations: 1.615 MB / 0.5593 GB, free: 113.7 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002343/0.7045, allocations: 1.37 MB / 0.5606 GB, free: 113.4 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003078/0.7048, allocations: 147.3 kB / 0.5608 GB, free: 113.3 MB / 462.1 MB Notification: Performance of SimCode: time 7.72e-07/0.7048, allocations: 0 / 0.5608 GB, free: 113.3 MB / 462.1 MB Notification: Performance of Templates: time 0.03319/0.738, allocations: 20.71 MB / 0.581 GB, free: 93.95 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.sim & ./Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/Pendulum/Pendulum.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.787753060460091]