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.001883/0.001883, allocations: 107 kB / 21.18 MB, free: 0.6484 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.001883/0.001883, allocations: 214.7 kB / 24.48 MB, free: 3.941 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.426/1.426, allocations: 230.6 MB / 258.2 MB, free: 7.777 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.001566/0.001566, allocations: 47.92 kB / 379 MB, free: 2.426 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2124/0.2139, allocations: 53.36 MB / 432.3 MB, free: 6.68 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum): time 0.008267/0.2222, allocations: 6.324 MB / 438.7 MB, free: 340 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005242/0.2274, allocations: 3.002 MB / 441.7 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003291/0.2278, allocations: 39.81 kB / 441.7 MB, free: 13.28 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001576/0.2293, allocations: 0.7781 MB / 442.5 MB, free: 12.5 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002439/0.2318, allocations: 1.323 MB / 443.8 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008825/0.2327, allocations: 499 kB / 444.3 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002784/0.2354, allocations: 2.562 MB / 446.8 MB, free: 8.117 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001169/0.2366, allocations: 1.085 MB / 447.9 MB, free: 7.016 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007737/0.2374, allocations: 0.7667 MB / 448.7 MB, free: 6.246 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001411/0.2388, allocations: 1.211 MB / 449.9 MB, free: 5.031 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002298/0.239, allocations: 132 kB / 450 MB, free: 4.902 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001233/0.2403, allocations: 0.7721 MB / 450.8 MB, free: 4.129 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000883/0.2411, allocations: 1.009 MB / 451.8 MB, free: 3.117 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008205/0.242, allocations: 0.8496 MB / 452.7 MB, free: 2.262 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003861/0.2458, allocations: 3.936 MB / 456.6 MB, free: 14.31 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.2458, allocations: 0 / 456.6 MB, free: 14.31 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.2458, allocations: 4 kB / 456.6 MB, free: 14.31 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.198e-05/0.2458, allocations: 0 / 456.6 MB, free: 14.31 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.004636/0.2505, allocations: 2.861 MB / 459.5 MB, free: 11.4 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.202e-05/0.2505, allocations: 8.031 kB / 459.5 MB, free: 11.39 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00613/0.2566, allocations: 1.653 MB / 461.1 MB, free: 9.738 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002687/0.2593, allocations: 1.263 MB / 462.4 MB, free: 8.449 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001078/0.2594, allocations: 126.8 kB / 462.5 MB, free: 8.324 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003428/0.2598, allocations: 155.8 kB / 462.7 MB, free: 8.172 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009037/0.2688, allocations: 6.363 MB / 469 MB, free: 1.277 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.319e-05/0.2689, allocations: 27.75 kB / 469.1 MB, free: 1.25 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002428/0.2691, allocations: 79.89 kB / 469.1 MB, free: 1.172 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002571/0.2717, allocations: 1.437 MB / 470.6 MB, free: 15.73 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009446/0.2811, allocations: 5.662 MB / 476.2 MB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0283/0.3094, allocations: 24.76 MB / 0.4893 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004199/0.3136, allocations: 1.725 MB / 0.4909 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001318/0.315, allocations: 0.938 MB / 0.4919 GB, free: 13.78 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.076e-05/0.315, allocations: 12 kB / 0.4919 GB, free: 13.77 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.383e-05/0.315, allocations: 46.56 kB / 0.4919 GB, free: 13.71 MB / 414.1 MB Notification: Performance of pre-optimization done (n=98): time 3.106e-06/0.315, allocations: 0 / 0.4919 GB, free: 13.71 MB / 414.1 MB Notification: Performance of matching and sorting (n=106): time 0.02141/0.3365, allocations: 8.513 MB / 0.5002 GB, free: 5.129 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.771e-05/0.3365, allocations: 144.4 kB / 0.5004 GB, free: 4.957 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003285/0.3398, allocations: 2.638 MB / 0.5029 GB, free: 2.285 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.715e-05/0.3399, allocations: 37.7 kB / 0.503 GB, free: 2.242 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001576/0.3415, allocations: 2.182 MB / 0.5051 GB, free: 36 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004152/0.3419, allocations: 452.8 kB / 0.5055 GB, free: 15.59 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001131/0.343, allocations: 0.8894 MB / 0.5064 GB, free: 14.68 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001717/0.3432, allocations: 353.9 kB / 0.5067 GB, free: 14.33 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002197/0.3454, allocations: 1.414 MB / 0.5081 GB, free: 12.91 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004572/0.35, allocations: 4.25 MB / 0.5123 GB, free: 7.23 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007222/0.3572, allocations: 6.132 MB / 0.5183 GB, free: 15.69 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-05/0.3572, allocations: 28 kB / 0.5183 GB, free: 15.66 MB / 446.1 MB Notification: Performance of matching and sorting (n=573) (initialization): time 0.0106/0.3678, allocations: 6.09 MB / 0.5242 GB, free: 9.562 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.566e-05/0.3679, allocations: 48 kB / 0.5243 GB, free: 9.516 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001032/0.368, allocations: 100 kB / 0.5244 GB, free: 9.418 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002383/0.3704, allocations: 0.7927 MB / 0.5252 GB, free: 8.621 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002797/0.3732, allocations: 0.9982 MB / 0.5261 GB, free: 7.621 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00609/0.3793, allocations: 4.299 MB / 0.5303 GB, free: 3.223 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002408/0.3817, allocations: 251.6 kB / 0.5306 GB, free: 2.977 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003523/0.382, allocations: 280 kB / 0.5308 GB, free: 2.703 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.001786/0.3838, allocations: 1.372 MB / 0.5322 GB, free: 1.32 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003363/0.3842, allocations: 222.5 kB / 0.5324 GB, free: 1.102 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003965/0.3881, allocations: 1.811 MB / 0.5342 GB, free: 15.27 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.09e-05/0.3881, allocations: 12 kB / 0.5342 GB, free: 15.26 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/0.3882, allocations: 4 kB / 0.5342 GB, free: 15.25 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.141e-05/0.3882, allocations: 11.92 kB / 0.5342 GB, free: 15.24 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008324/0.3965, allocations: 4.13 MB / 0.5382 GB, free: 11.05 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.09e-06/0.3965, allocations: 0 / 0.5382 GB, free: 11.05 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006334/0.3971, allocations: 131.8 kB / 0.5383 GB, free: 10.92 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002169/0.3993, allocations: 0.6483 MB / 0.539 GB, free: 10.27 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.7e-05/0.3994, allocations: 23.97 kB / 0.539 GB, free: 10.25 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00534/0.4047, allocations: 3.791 MB / 0.5427 GB, free: 6.352 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/0.4047, allocations: 4.031 kB / 0.5427 GB, free: 6.348 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006429/0.4111, allocations: 3.661 MB / 0.5463 GB, free: 2.656 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004727/0.4116, allocations: 194.4 kB / 0.5465 GB, free: 2.465 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002207/0.4118, allocations: 12.28 kB / 0.5465 GB, free: 2.453 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008359/0.4127, allocations: 63.91 kB / 0.5465 GB, free: 2.391 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001772/0.4129, allocations: 59.83 kB / 0.5466 GB, free: 2.332 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.689e-05/0.4129, allocations: 39.86 kB / 0.5466 GB, free: 2.293 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002244/0.4152, allocations: 1.507 MB / 0.5481 GB, free: 0.7695 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4152, allocations: 0 / 0.5481 GB, free: 0.7695 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003128/0.4183, allocations: 0.6327 MB / 0.5487 GB, free: 140 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.1781/0.5965, allocations: 135.7 kB / 0.5488 GB, free: 117.4 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005137/0.6016, allocations: 3.298 MB / 0.5521 GB, free: 116.9 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/0.6016, allocations: 0 / 0.5521 GB, free: 116.9 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001039/0.6026, allocations: 0.8647 MB / 0.5529 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.001418/0.6041, allocations: 221 kB / 0.5531 GB, free: 116.5 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006433/0.6105, allocations: 5.523 MB / 0.5585 GB, free: 114.1 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001425/0.6119, allocations: 1.615 MB / 0.5601 GB, free: 113.7 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002232/0.6141, allocations: 1.363 MB / 0.5614 GB, free: 113.3 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002911/0.6144, allocations: 151.1 kB / 0.5616 GB, free: 113.2 MB / 462.1 MB Notification: Performance of SimCode: time 5.21e-07/0.6144, allocations: 4 kB / 0.5616 GB, free: 113.2 MB / 462.1 MB Notification: Performance of Templates: time 0.03352/0.648, allocations: 22.64 MB / 0.5837 GB, free: 91.87 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/Pendulum/Pendulum.csv","/var/lib/jenkins1/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.4336582659889245]