Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.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.001246/0.001246, allocations: 76.66 kB / 20.67 MB, free: 1.027 MB / 14.72 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.001372/0.001372, allocations: 147.5 kB / 23.94 MB, free: 4.168 MB / 14.72 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 1.421/1.421, allocations: 173.4 MB / 200.4 MB, free: 12.89 MB / 190.1 MB " [Timeout remaining time 178] 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(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="Modelica_4.0.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.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 318.9 MB, free: 3.535 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.214e-05/2.383e-05, allocations: 2.281 kB / 318.9 MB, free: 3.531 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum): time 0.006808/0.006831, allocations: 6.341 MB / 325.3 MB, free: 15.4 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006567/0.0134, allocations: 2.983 MB / 328.3 MB, free: 13.56 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001004/0.0144, allocations: 38.66 kB / 328.3 MB, free: 13.55 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002061/0.01646, allocations: 0.8042 MB / 329.1 MB, free: 13.21 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003748/0.02021, allocations: 1.4 MB / 330.5 MB, free: 12.61 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001293/0.0215, allocations: 0.5334 MB / 331 MB, free: 12.38 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003736/0.02524, allocations: 2.856 MB / 333.9 MB, free: 10.86 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001745/0.02698, allocations: 1.344 MB / 335.2 MB, free: 9.93 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002088/0.02907, allocations: 1.195 MB / 336.4 MB, free: 9.207 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001828/0.0309, allocations: 1.3 MB / 337.7 MB, free: 8.508 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002691/0.03117, allocations: 138.1 kB / 337.9 MB, free: 8.508 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001791/0.03296, allocations: 0.8308 MB / 338.7 MB, free: 7.859 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001082/0.03404, allocations: 1.067 MB / 339.8 MB, free: 6.789 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009111/0.03495, allocations: 0.6423 MB / 340.4 MB, free: 6.145 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004972/0.03993, allocations: 3.986 MB / 344.4 MB, free: 2.141 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.03993, allocations: 0 / 344.4 MB, free: 2.141 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.03993, allocations: 4 kB / 344.4 MB, free: 2.137 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.554e-05/0.03999, allocations: 0 / 344.4 MB, free: 2.137 MB / 302.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.005395/0.04538, allocations: 2.907 MB / 347.3 MB, free: 15.18 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/0.04543, allocations: 12.92 kB / 347.3 MB, free: 15.17 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006673/0.0521, allocations: 1.735 MB / 349 MB, free: 13.43 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002463/0.05456, allocations: 1.243 MB / 350.3 MB, free: 12.16 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001213/0.05468, allocations: 123.2 kB / 350.4 MB, free: 12.04 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003169/0.055, allocations: 151.8 kB / 350.6 MB, free: 11.89 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009836/0.06484, allocations: 6.37 MB / 356.9 MB, free: 4.996 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.841e-05/0.0649, allocations: 31.7 kB / 357 MB, free: 4.965 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000248/0.06515, allocations: 79.89 kB / 357 MB, free: 4.887 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00266/0.06781, allocations: 1.448 MB / 358.5 MB, free: 3.434 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01072/0.07854, allocations: 5.666 MB / 364.2 MB, free: 13.77 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03113/0.1097, allocations: 24.87 MB / 389 MB, free: 4.086 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00459/0.1143, allocations: 1.779 MB / 390.8 MB, free: 2.273 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001477/0.1157, allocations: 0.9479 MB / 391.7 MB, free: 1.312 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.243e-05/0.1158, allocations: 8 kB / 391.8 MB, free: 1.305 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.938e-05/0.1158, allocations: 50.5 kB / 391.8 MB, free: 1.246 MB / 350.1 MB Notification: Performance of pre-optimization done (n=98): time 3.817e-06/0.1158, allocations: 0 / 391.8 MB, free: 1.246 MB / 350.1 MB Notification: Performance of matching and sorting (n=106): time 0.02513/0.141, allocations: 8.763 MB / 400.6 MB, free: 8.406 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001136/0.1411, allocations: 140.5 kB / 400.7 MB, free: 8.238 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005015/0.1461, allocations: 2.716 MB / 403.4 MB, free: 5.488 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001864/0.1463, allocations: 41.7 kB / 403.5 MB, free: 5.441 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001967/0.1482, allocations: 2.162 MB / 405.6 MB, free: 3.254 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007162/0.149, allocations: 448.7 kB / 406.1 MB, free: 2.812 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001726/0.1507, allocations: 0.8815 MB / 406.9 MB, free: 1.918 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002138/0.1509, allocations: 353.9 kB / 407.3 MB, free: 1.566 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002657/0.1536, allocations: 1.426 MB / 408.7 MB, free: 136 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005285/0.1588, allocations: 4.25 MB / 413 MB, free: 10.45 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008128/0.167, allocations: 6.144 MB / 419.1 MB, free: 2.898 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.786e-05/0.1671, allocations: 32 kB / 419.1 MB, free: 2.867 MB / 382.1 MB Notification: Performance of matching and sorting (n=573) (initialization): time 0.01214/0.1792, allocations: 6.106 MB / 425.2 MB, free: 12.75 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001005/0.1793, allocations: 48 kB / 425.3 MB, free: 12.71 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001602/0.1795, allocations: 100 kB / 425.4 MB, free: 12.61 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002491/0.182, allocations: 0.7967 MB / 426.2 MB, free: 11.81 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003182/0.1851, allocations: 0.9903 MB / 427.2 MB, free: 10.82 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006441/0.1916, allocations: 4.33 MB / 431.5 MB, free: 6.383 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003359/0.1949, allocations: 299.6 kB / 431.8 MB, free: 6.09 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006519/0.1956, allocations: 276 kB / 432.1 MB, free: 5.82 MB / 398.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.00261/0.1982, allocations: 1.376 MB / 433.4 MB, free: 4.434 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005584/0.1988, allocations: 218.6 kB / 433.7 MB, free: 4.219 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004386/0.2031, allocations: 1.813 MB / 435.5 MB, free: 2.395 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.938e-05/0.2032, allocations: 12 kB / 435.5 MB, free: 2.383 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.303e-05/0.2032, allocations: 7.984 kB / 435.5 MB, free: 2.375 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.373e-05/0.2032, allocations: 3.984 kB / 435.5 MB, free: 2.371 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01018/0.2134, allocations: 4.196 MB / 439.7 MB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-05/0.2134, allocations: 4.375 kB / 439.7 MB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007045/0.2141, allocations: 131.8 kB / 439.8 MB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002284/0.2164, allocations: 0.6483 MB / 440.5 MB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001116/0.2165, allocations: 19.98 kB / 440.5 MB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005682/0.2222, allocations: 3.818 MB / 444.3 MB, free: 9.383 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.2222, allocations: 3.938 kB / 444.3 MB, free: 9.379 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006508/0.2287, allocations: 3.675 MB / 448 MB, free: 5.676 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005813/0.2293, allocations: 214.4 kB / 448.2 MB, free: 5.465 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003671/0.2296, allocations: 20 kB / 448.2 MB, free: 5.445 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001228/0.2309, allocations: 91.84 kB / 448.3 MB, free: 5.355 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001809/0.2311, allocations: 63.83 kB / 448.4 MB, free: 5.293 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.985e-05/0.2311, allocations: 27.98 kB / 448.4 MB, free: 5.266 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002883/0.234, allocations: 1.566 MB / 450 MB, free: 3.684 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.234, allocations: 0 / 450 MB, free: 3.684 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003445/0.2375, allocations: 0.7343 MB / 450.7 MB, free: 2.949 MB / 414.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.0004459/0.2379, allocations: 171 kB / 450.9 MB, free: 2.773 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0057/0.2436, allocations: 3.315 MB / 454.2 MB, free: 15.47 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.2436, allocations: 0 / 454.2 MB, free: 15.47 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0013/0.2449, allocations: 0.8616 MB / 455 MB, free: 14.59 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001574/0.2465, allocations: 237.3 kB / 455.3 MB, free: 14.36 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009899/0.2564, allocations: 5.473 MB / 460.7 MB, free: 8.832 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002464/0.2588, allocations: 1.613 MB / 462.4 MB, free: 7.18 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.003119/0.262, allocations: 1.374 MB / 463.7 MB, free: 5.797 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005246/0.2625, allocations: 156.5 kB / 463.9 MB, free: 5.645 MB / 430.1 MB Notification: Performance of SimCode: time 7.42e-07/0.2625, allocations: 0 / 463.9 MB, free: 5.645 MB / 430.1 MB Notification: Performance of Templates: time 0.1806/0.4431, allocations: 19.58 MB / 483.5 MB, free: 126.4 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/Pendulum/Pendulum.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.5183509066700935]