Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001681/0.001681, allocations: 119.1 kB / 20.45 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001714/0.001714, allocations: 204.1 kB / 23.72 MB, free: 4.391 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.443/1.443, allocations: 230.5 MB / 257.4 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001957/0.001957, allocations: 63.89 kB / 378.2 MB, free: 2.289 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2287/0.2307, allocations: 53.41 MB / 431.6 MB, free: 6.5 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum): time 0.008642/0.2393, allocations: 6.324 MB / 438 MB, free: 152 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006192/0.2455, allocations: 2.995 MB / 441 MB, free: 13.14 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008086/0.2463, allocations: 39.81 kB / 441 MB, free: 13.11 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001897/0.2482, allocations: 0.7782 MB / 441.8 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003321/0.2516, allocations: 1.326 MB / 443.1 MB, free: 11 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001145/0.2527, allocations: 0.4911 MB / 443.6 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003409/0.2561, allocations: 2.555 MB / 446.1 MB, free: 7.945 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001451/0.2576, allocations: 1.085 MB / 447.2 MB, free: 6.844 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001102/0.2587, allocations: 0.7589 MB / 448 MB, free: 6.082 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001569/0.2602, allocations: 1.172 MB / 449.2 MB, free: 4.906 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002845/0.2605, allocations: 136 kB / 449.3 MB, free: 4.773 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001451/0.262, allocations: 0.7644 MB / 450.1 MB, free: 4.008 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009818/0.263, allocations: 1.005 MB / 451.1 MB, free: 3 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009449/0.2639, allocations: 0.8457 MB / 451.9 MB, free: 2.148 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004635/0.2685, allocations: 3.944 MB / 455.9 MB, free: 14.19 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.2685, allocations: 0 / 455.9 MB, free: 14.19 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.2685, allocations: 3.938 kB / 455.9 MB, free: 14.19 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.337e-05/0.2686, allocations: 0 / 455.9 MB, free: 14.19 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.005523/0.2741, allocations: 2.865 MB / 458.7 MB, free: 11.28 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.659e-05/0.2742, allocations: 11.98 kB / 458.7 MB, free: 11.27 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006181/0.2803, allocations: 1.66 MB / 460.4 MB, free: 9.602 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003608/0.284, allocations: 1.259 MB / 461.7 MB, free: 8.312 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001321/0.2841, allocations: 114.9 kB / 461.8 MB, free: 8.199 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000421/0.2845, allocations: 159.8 kB / 461.9 MB, free: 8.043 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01058/0.2951, allocations: 6.363 MB / 468.3 MB, free: 1.152 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.237e-05/0.2952, allocations: 31.75 kB / 468.3 MB, free: 1.121 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002348/0.2954, allocations: 83.89 kB / 468.4 MB, free: 1.039 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002596/0.298, allocations: 1.429 MB / 469.8 MB, free: 15.61 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01044/0.3084, allocations: 5.662 MB / 475.5 MB, free: 9.941 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03042/0.3389, allocations: 24.76 MB / 0.4885 GB, free: 376 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004153/0.343, allocations: 1.736 MB / 0.4902 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001347/0.3444, allocations: 0.9365 MB / 0.4911 GB, free: 13.64 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.351e-05/0.3444, allocations: 8 kB / 0.4911 GB, free: 13.64 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.693e-05/0.3444, allocations: 46.5 kB / 0.4912 GB, free: 13.58 MB / 414.1 MB Notification: Performance of pre-optimization done (n=98): time 3.216e-06/0.3444, allocations: 0 / 0.4912 GB, free: 13.58 MB / 414.1 MB Notification: Performance of matching and sorting (n=106): time 0.02102/0.3655, allocations: 8.502 MB / 0.4995 GB, free: 5.008 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000103/0.3656, allocations: 148.4 kB / 0.4996 GB, free: 4.832 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003444/0.369, allocations: 2.638 MB / 0.5022 GB, free: 2.16 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001143/0.3691, allocations: 41.7 kB / 0.5022 GB, free: 2.113 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001597/0.3707, allocations: 2.174 MB / 0.5044 GB, free: 15.91 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004349/0.3711, allocations: 460.6 kB / 0.5048 GB, free: 15.46 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001105/0.3723, allocations: 0.8894 MB / 0.5057 GB, free: 14.56 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001772/0.3724, allocations: 349.9 kB / 0.506 GB, free: 14.21 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002106/0.3745, allocations: 1.418 MB / 0.5074 GB, free: 12.79 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004387/0.3789, allocations: 4.246 MB / 0.5115 GB, free: 7.109 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007174/0.3861, allocations: 6.137 MB / 0.5175 GB, free: 15.55 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.468e-05/0.3862, allocations: 28 kB / 0.5176 GB, free: 15.53 MB / 446.1 MB Notification: Performance of matching and sorting (n=573) (initialization): time 0.01049/0.3966, allocations: 6.082 MB / 0.5235 GB, free: 9.438 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.007e-05/0.3967, allocations: 52.25 kB / 0.5235 GB, free: 9.387 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000101/0.3968, allocations: 100 kB / 0.5236 GB, free: 9.289 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002246/0.3991, allocations: 0.7967 MB / 0.5244 GB, free: 8.488 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002631/0.4017, allocations: 0.9902 MB / 0.5254 GB, free: 7.496 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005834/0.4075, allocations: 4.312 MB / 0.5296 GB, free: 3.082 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002408/0.4099, allocations: 255.5 kB / 0.5298 GB, free: 2.832 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003477/0.4103, allocations: 280 kB / 0.5301 GB, free: 2.559 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.001852/0.4121, allocations: 1.368 MB / 0.5314 GB, free: 1.176 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003362/0.4125, allocations: 210.6 kB / 0.5316 GB, free: 0.9688 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003847/0.4163, allocations: 1.823 MB / 0.5334 GB, free: 15.12 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.013e-05/0.4163, allocations: 12 kB / 0.5334 GB, free: 15.11 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.662e-06/0.4163, allocations: 4 kB / 0.5334 GB, free: 15.11 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.675e-05/0.4164, allocations: 11.92 kB / 0.5335 GB, free: 15.1 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007825/0.4242, allocations: 4.116 MB / 0.5375 GB, free: 10.93 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.388e-06/0.4242, allocations: 4 kB / 0.5375 GB, free: 10.92 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005799/0.4248, allocations: 139.8 kB / 0.5376 GB, free: 10.79 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002039/0.4268, allocations: 0.6522 MB / 0.5382 GB, free: 10.13 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.325e-05/0.4269, allocations: 12 kB / 0.5383 GB, free: 10.12 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00515/0.432, allocations: 3.791 MB / 0.542 GB, free: 6.223 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.432, allocations: 0 / 0.542 GB, free: 6.223 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005949/0.438, allocations: 3.662 MB / 0.5455 GB, free: 2.531 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004266/0.4384, allocations: 194.4 kB / 0.5457 GB, free: 2.34 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001997/0.4386, allocations: 31.97 kB / 0.5458 GB, free: 2.309 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007969/0.4394, allocations: 59.86 kB / 0.5458 GB, free: 2.25 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001471/0.4395, allocations: 59.83 kB / 0.5459 GB, free: 2.191 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.35e-05/0.4396, allocations: 35.92 kB / 0.5459 GB, free: 2.156 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002261/0.4419, allocations: 1.499 MB / 0.5474 GB, free: 0.6406 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4419, allocations: 4.062 kB / 0.5474 GB, free: 0.6367 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00288/0.4448, allocations: 0.6288 MB / 0.548 GB, free: 8 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.2528/0.6976, allocations: 136 kB / 0.5481 GB, free: 113.9 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.009326/0.7069, allocations: 3.307 MB / 0.5513 GB, free: 113.4 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.975e-06/0.7069, allocations: 0 / 0.5513 GB, free: 113.4 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001934/0.7089, allocations: 0.8643 MB / 0.5522 GB, free: 113.1 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00252/0.7114, allocations: 219 kB / 0.5524 GB, free: 113 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01176/0.7232, allocations: 5.513 MB / 0.5578 GB, free: 110.7 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002869/0.726, allocations: 1.621 MB / 0.5594 GB, free: 110.2 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.004306/0.7303, allocations: 1.365 MB / 0.5607 GB, free: 110.1 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006069/0.7309, allocations: 148.3 kB / 0.5608 GB, free: 110.1 MB / 462.1 MB Notification: Performance of SimCode: time 1.503e-06/0.7309, allocations: 0 / 0.5608 GB, free: 110.1 MB / 462.1 MB Notification: Performance of Templates: time 0.03944/0.7704, allocations: 20.7 MB / 0.5811 GB, free: 92.54 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.902370508760214]