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.001281/0.001281, allocations: 68.08 kB / 21.24 MB, free: 408 kB / 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.001365/0.001365, allocations: 160.5 kB / 24.49 MB, free: 3.461 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.413/1.413, allocations: 173.4 MB / 201.1 MB, free: 12.7 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 0.00156/0.00156, allocations: 46.58 kB / 319.4 MB, free: 3.262 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08426/0.08582, allocations: 52.16 MB / 371.6 MB, free: 7.344 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum): time 0.00837/0.09419, allocations: 6.349 MB / 377.9 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006279/0.1005, allocations: 2.968 MB / 380.9 MB, free: 13.98 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000563/0.101, allocations: 39.81 kB / 380.9 MB, free: 13.95 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001651/0.1027, allocations: 0.7937 MB / 381.7 MB, free: 13.15 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002674/0.1054, allocations: 1.351 MB / 383.1 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009638/0.1063, allocations: 495 kB / 383.6 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002928/0.1092, allocations: 2.531 MB / 386.1 MB, free: 8.773 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001261/0.1105, allocations: 1.094 MB / 387.2 MB, free: 7.66 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008775/0.1114, allocations: 0.7783 MB / 388 MB, free: 6.879 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001516/0.1129, allocations: 1.172 MB / 389.1 MB, free: 5.703 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002529/0.1132, allocations: 136 kB / 389.3 MB, free: 5.57 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001371/0.1145, allocations: 0.7799 MB / 390 MB, free: 4.789 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009567/0.1155, allocations: 1.02 MB / 391.1 MB, free: 3.766 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000938/0.1164, allocations: 0.8613 MB / 391.9 MB, free: 2.898 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00415/0.1206, allocations: 3.983 MB / 395.9 MB, free: 14.9 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.1206, allocations: 4 kB / 395.9 MB, free: 14.89 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1206, allocations: 0 / 395.9 MB, free: 14.89 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.39e-05/0.1206, allocations: 0 / 395.9 MB, free: 14.89 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.004677/0.1253, allocations: 2.888 MB / 398.8 MB, free: 11.96 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/0.1253, allocations: 8.922 kB / 398.8 MB, free: 11.95 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006266/0.1316, allocations: 1.738 MB / 400.5 MB, free: 10.21 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002568/0.1342, allocations: 1.278 MB / 401.8 MB, free: 8.906 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.648e-05/0.1343, allocations: 110.9 kB / 401.9 MB, free: 8.797 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003004/0.1346, allocations: 151.9 kB / 402.1 MB, free: 8.648 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009224/0.1438, allocations: 6.382 MB / 408.5 MB, free: 1.738 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.826e-05/0.1439, allocations: 39.69 kB / 408.5 MB, free: 1.699 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002206/0.1441, allocations: 75.89 kB / 408.6 MB, free: 1.625 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002536/0.1466, allocations: 1.433 MB / 410 MB, free: 196 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01012/0.1567, allocations: 5.681 MB / 415.7 MB, free: 10.5 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02838/0.1851, allocations: 24.85 MB / 440.5 MB, free: 0.8359 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004153/0.1893, allocations: 1.778 MB / 442.3 MB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001289/0.1906, allocations: 0.9476 MB / 443.3 MB, free: 14.07 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.496e-05/0.1906, allocations: 8 kB / 443.3 MB, free: 14.06 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.658e-05/0.1906, allocations: 42.5 kB / 443.3 MB, free: 14.01 MB / 414.1 MB Notification: Performance of pre-optimization done (n=98): time 3.496e-06/0.1906, allocations: 0 / 443.3 MB, free: 14.01 MB / 414.1 MB Notification: Performance of matching and sorting (n=106): time 0.02112/0.2118, allocations: 8.686 MB / 452 MB, free: 5.25 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.905e-05/0.2119, allocations: 144.4 kB / 452.1 MB, free: 5.078 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003412/0.2153, allocations: 2.65 MB / 454.8 MB, free: 2.395 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 9.008e-05/0.2154, allocations: 37.7 kB / 454.8 MB, free: 2.352 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001515/0.2169, allocations: 2.186 MB / 457 MB, free: 144 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004319/0.2173, allocations: 456.7 kB / 457.5 MB, free: 15.69 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001068/0.2184, allocations: 0.8855 MB / 458.3 MB, free: 14.79 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001657/0.2185, allocations: 357.9 kB / 458.7 MB, free: 14.44 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002176/0.2207, allocations: 1.418 MB / 460.1 MB, free: 13.01 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004375/0.2251, allocations: 4.261 MB / 464.4 MB, free: 7.32 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.19/0.4151, allocations: 6.142 MB / 470.5 MB, free: 85.95 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001202/0.4152, allocations: 29.22 kB / 470.5 MB, free: 85.95 MB / 430.1 MB Notification: Performance of matching and sorting (n=573) (initialization): time 0.01152/0.4267, allocations: 6.102 MB / 476.6 MB, free: 85.01 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.968e-05/0.4268, allocations: 49.28 kB / 476.7 MB, free: 85.01 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001055/0.4269, allocations: 104.6 kB / 476.8 MB, free: 85.01 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002309/0.4292, allocations: 0.7871 MB / 477.6 MB, free: 84.93 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002899/0.4321, allocations: 1.001 MB / 478.6 MB, free: 84.8 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005004/0.4371, allocations: 4.314 MB / 482.9 MB, free: 82.56 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002852/0.44, allocations: 273.6 kB / 483.2 MB, free: 82.49 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002864/0.4403, allocations: 275.5 kB / 483.4 MB, free: 82.46 MB / 430.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.001385/0.4417, allocations: 1.368 MB / 484.8 MB, free: 81.85 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002535/0.4419, allocations: 220.8 kB / 485 MB, free: 81.85 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003164/0.4451, allocations: 1.822 MB / 486.8 MB, free: 81.3 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.877e-05/0.4451, allocations: 15.38 kB / 486.9 MB, free: 81.3 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.4451, allocations: 7.906 kB / 486.9 MB, free: 81.3 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.016e-05/0.4451, allocations: 7.812 kB / 486.9 MB, free: 81.3 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006427/0.4515, allocations: 4.146 MB / 491 MB, free: 79.92 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.645e-06/0.4516, allocations: 7.875 kB / 491 MB, free: 79.91 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005634/0.4521, allocations: 137.8 kB / 491.2 MB, free: 79.9 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0018/0.4539, allocations: 0.6413 MB / 491.8 MB, free: 79.71 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.48e-05/0.454, allocations: 15.91 kB / 491.8 MB, free: 79.7 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003748/0.4577, allocations: 3.793 MB / 495.6 MB, free: 76.66 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.4577, allocations: 4.031 kB / 495.6 MB, free: 76.66 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004631/0.4624, allocations: 3.671 MB / 499.3 MB, free: 73.08 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005186/0.4629, allocations: 189.7 kB / 499.5 MB, free: 72.92 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001865/0.4631, allocations: 18.34 kB / 499.5 MB, free: 72.91 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000838/0.4639, allocations: 71.89 kB / 499.6 MB, free: 72.84 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001455/0.4641, allocations: 60.02 kB / 499.6 MB, free: 72.78 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.044e-05/0.4641, allocations: 28.62 kB / 499.6 MB, free: 72.75 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001751/0.4659, allocations: 1.499 MB / 0.4894 GB, free: 71.23 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4659, allocations: 4 kB / 0.4894 GB, free: 71.23 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003022/0.4689, allocations: 0.6477 MB / 0.49 GB, free: 70.59 MB / 430.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.0002889/0.4692, allocations: 143.9 kB / 0.4902 GB, free: 70.45 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004112/0.4733, allocations: 3.32 MB / 0.4934 GB, free: 67.14 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.4733, allocations: 4 kB / 0.4934 GB, free: 67.14 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009248/0.4742, allocations: 0.8654 MB / 0.4943 GB, free: 66.26 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001372/0.4756, allocations: 227.4 kB / 0.4945 GB, free: 66.05 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006646/0.4822, allocations: 5.519 MB / 0.4999 GB, free: 60.51 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001645/0.4839, allocations: 1.621 MB / 0.5015 GB, free: 58.86 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0025/0.4864, allocations: 1.368 MB / 0.5028 GB, free: 57.48 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004031/0.4868, allocations: 148.5 kB / 0.5029 GB, free: 57.34 MB / 430.1 MB Notification: Performance of SimCode: time 8.52e-07/0.4868, allocations: 0 / 0.5029 GB, free: 57.34 MB / 430.1 MB Notification: Performance of Templates: time 0.03311/0.5199, allocations: 18.25 MB / 0.5208 GB, free: 39.43 MB / 430.1 MB " [Timeout remaining time 659] 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 -s ida -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/Pendulum/Pendulum.csv","/var/lib/jenkins1/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.483591327094473]