Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001032/0.001032, allocations: 91.61 kB / 22.19 MB, free: 2.379 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.00118/0.00118, allocations: 158.3 kB / 25.45 MB, free: 8.859 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8518/0.8518, allocations: 158.6 MB / 187.2 MB, free: 3.035 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 299.7 MB, free: 6.906 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.036e-05/2.188e-05, allocations: 2.281 kB / 299.7 MB, free: 6.902 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum): time 0.005228/0.00525, allocations: 6.363 MB / 306.1 MB, free: 0.5117 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.004297/0.009547, allocations: 2.991 MB / 309.1 MB, free: 13.51 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000628/0.01018, allocations: 39.81 kB / 309.1 MB, free: 13.47 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001171/0.01135, allocations: 0.8092 MB / 309.9 MB, free: 12.66 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002034/0.01338, allocations: 1.388 MB / 311.3 MB, free: 11.27 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007489/0.01413, allocations: 0.5299 MB / 311.8 MB, free: 10.73 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002288/0.01642, allocations: 2.862 MB / 314.7 MB, free: 7.863 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001428/0.01784, allocations: 1.347 MB / 316 MB, free: 6.5 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001429/0.01927, allocations: 1.204 MB / 317.2 MB, free: 5.293 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001151/0.02042, allocations: 1.305 MB / 318.5 MB, free: 3.984 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000159/0.02058, allocations: 140 kB / 318.7 MB, free: 3.848 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009711/0.02155, allocations: 0.8227 MB / 319.5 MB, free: 3.023 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005898/0.02214, allocations: 1.079 MB / 320.6 MB, free: 1.941 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004806/0.02262, allocations: 0.6423 MB / 321.2 MB, free: 1.297 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002724/0.02535, allocations: 3.987 MB / 325.2 MB, free: 13.29 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.584e-06/0.02535, allocations: 0 / 325.2 MB, free: 13.29 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.02535, allocations: 0 / 325.2 MB, free: 13.29 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.312e-05/0.02539, allocations: 0 / 325.2 MB, free: 13.29 MB / 314.7 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.003191/0.02858, allocations: 2.923 MB / 328.1 MB, free: 10.32 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/0.02861, allocations: 11.98 kB / 328.1 MB, free: 10.31 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003045/0.03166, allocations: 1.684 MB / 329.8 MB, free: 8.625 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001435/0.03309, allocations: 1.297 MB / 331.1 MB, free: 7.297 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.747e-05/0.03317, allocations: 123.2 kB / 331.2 MB, free: 7.176 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002229/0.03339, allocations: 163.7 kB / 331.4 MB, free: 7.016 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005196/0.03859, allocations: 6.355 MB / 337.8 MB, free: 140 kB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.498e-05/0.03864, allocations: 31.73 kB / 337.8 MB, free: 108 kB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001575/0.03879, allocations: 79.89 kB / 337.9 MB, free: 28 kB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001315/0.04011, allocations: 1.433 MB / 339.3 MB, free: 14.59 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005614/0.04572, allocations: 5.658 MB / 345 MB, free: 8.934 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1468/0.1926, allocations: 24.89 MB / 369.8 MB, free: 39.77 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002629/0.1952, allocations: 1.779 MB / 371.6 MB, free: 39.25 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008083/0.196, allocations: 0.938 MB / 372.6 MB, free: 38.89 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.77e-05/0.196, allocations: 15.16 kB / 372.6 MB, free: 38.89 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.51e-05/0.1961, allocations: 48.55 kB / 372.6 MB, free: 38.84 MB / 330.7 MB Notification: Performance of pre-optimization done (n=98): time 3.907e-06/0.1961, allocations: 1.094 kB / 372.6 MB, free: 38.84 MB / 330.7 MB Notification: Performance of matching and sorting (n=106): time 0.01173/0.2078, allocations: 8.789 MB / 381.4 MB, free: 35.72 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.857e-05/0.2078, allocations: 139 kB / 381.6 MB, free: 35.57 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001994/0.2098, allocations: 2.768 MB / 384.3 MB, free: 34.16 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.207e-05/0.2099, allocations: 37.69 kB / 384.4 MB, free: 34.11 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005789/0.2105, allocations: 2.16 MB / 386.5 MB, free: 32.33 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001868/0.2106, allocations: 451.2 kB / 387 MB, free: 31.97 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005693/0.2112, allocations: 0.8722 MB / 387.8 MB, free: 31.29 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.588e-05/0.2113, allocations: 353.9 kB / 388.2 MB, free: 30.94 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001118/0.2124, allocations: 1.425 MB / 389.6 MB, free: 29.51 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00176/0.2141, allocations: 4.249 MB / 393.9 MB, free: 23.88 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003218/0.2174, allocations: 6.141 MB / 400 MB, free: 16.32 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.46e-05/0.2174, allocations: 28 kB / 400 MB, free: 16.3 MB / 330.7 MB Notification: Performance of matching and sorting (n=573) (initialization): time 0.005128/0.2225, allocations: 6.088 MB / 406.1 MB, free: 10.21 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.777e-05/0.2225, allocations: 48 kB / 406.2 MB, free: 10.16 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.67e-05/0.2226, allocations: 103.9 kB / 406.3 MB, free: 10.06 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001088/0.2237, allocations: 0.8048 MB / 407.1 MB, free: 9.258 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00131/0.225, allocations: 0.9864 MB / 408 MB, free: 8.27 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002943/0.2279, allocations: 4.308 MB / 412.4 MB, free: 3.863 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001545/0.2295, allocations: 287.6 kB / 412.6 MB, free: 3.582 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001722/0.2297, allocations: 276 kB / 412.9 MB, free: 3.312 MB / 330.7 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.001114/0.2308, allocations: 1.375 MB / 414.3 MB, free: 1.926 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001605/0.2309, allocations: 218.5 kB / 414.5 MB, free: 1.711 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001852/0.2328, allocations: 1.813 MB / 416.3 MB, free: 15.88 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.612e-05/0.2328, allocations: 20 kB / 416.3 MB, free: 15.86 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.103e-06/0.2328, allocations: 0 / 416.3 MB, free: 15.86 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.578e-06/0.2328, allocations: 7.984 kB / 416.3 MB, free: 15.85 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004769/0.2376, allocations: 4.185 MB / 420.5 MB, free: 11.64 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/0.2376, allocations: 4.938 kB / 420.5 MB, free: 11.64 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003016/0.2379, allocations: 135.8 kB / 420.7 MB, free: 11.5 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001024/0.2389, allocations: 0.6444 MB / 421.3 MB, free: 10.86 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.195e-05/0.239, allocations: 19.94 kB / 421.3 MB, free: 10.84 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003152/0.2421, allocations: 3.828 MB / 425.1 MB, free: 6.914 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.788e-06/0.2421, allocations: 11.72 kB / 425.2 MB, free: 6.906 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003321/0.2454, allocations: 3.662 MB / 428.8 MB, free: 3.211 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005694/0.246, allocations: 366.2 kB / 429.2 MB, free: 2.852 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001165/0.2461, allocations: 20 kB / 429.2 MB, free: 2.832 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004998/0.2466, allocations: 91.97 kB / 429.3 MB, free: 2.742 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.811e-05/0.2467, allocations: 67.83 kB / 429.4 MB, free: 2.676 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.31e-05/0.2468, allocations: 32.64 kB / 429.4 MB, free: 2.645 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001339/0.2481, allocations: 1.593 MB / 431 MB, free: 1.035 MB / 346.7 MB Notification: Performance of sort global known variables: time 3e-08/0.2481, allocations: 0 / 431 MB, free: 1.035 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001971/0.2501, allocations: 0.7336 MB / 431.7 MB, free: 312 kB / 346.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 (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.0002988/0.2504, allocations: 170.6 kB / 431.9 MB, free: 136 kB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.003077/0.2534, allocations: 3.303 MB / 435.2 MB, free: 12.85 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.2534, allocations: 0 / 435.2 MB, free: 12.85 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007271/0.2542, allocations: 0.8699 MB / 436.1 MB, free: 11.96 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008376/0.255, allocations: 229.4 kB / 436.3 MB, free: 11.75 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005397/0.2604, allocations: 5.759 MB / 442 MB, free: 5.938 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001328/0.2617, allocations: 1.625 MB / 443.7 MB, free: 4.281 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003158/0.2621, allocations: 188.5 kB / 443.8 MB, free: 4.098 MB / 362.7 MB Notification: Performance of SimCode: time 1.333e-06/0.2621, allocations: 4.219 kB / 443.9 MB, free: 4.094 MB / 362.7 MB Notification: Performance of Templates: time 0.03945/0.3015, allocations: 48.17 MB / 492 MB, free: 3.848 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/Pendulum/Pendulum.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 6.413590264506638]