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.001415/0.001415, allocations: 92.31 kB / 20.96 MB, free: 3.477 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.001504/0.001504, allocations: 165.7 kB / 24.27 MB, free: 172 kB / 18.57 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.464/1.464, allocations: 177.1 MB / 204.6 MB, free: 5.586 MB / 186.7 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 1.754e-06/1.754e-06, allocations: 0 / 272.3 MB, free: 1.797 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.508e-05/2.683e-05, allocations: 2.312 kB / 272.3 MB, free: 1.793 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum): time 0.009373/0.0094, allocations: 6.33 MB / 278.7 MB, free: 11.44 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006494/0.01589, allocations: 3.002 MB / 281.7 MB, free: 8.426 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006727/0.01657, allocations: 39.81 kB / 281.7 MB, free: 8.387 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00189/0.01846, allocations: 0.8092 MB / 282.5 MB, free: 7.574 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003072/0.02153, allocations: 1.373 MB / 283.9 MB, free: 6.195 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001161/0.02269, allocations: 0.5338 MB / 284.4 MB, free: 5.66 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003676/0.02637, allocations: 2.909 MB / 287.3 MB, free: 2.746 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001998/0.02836, allocations: 1.387 MB / 288.7 MB, free: 1.34 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001747/0.03011, allocations: 1.181 MB / 289.9 MB, free: 160 kB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1128/0.1429, allocations: 1.283 MB / 291.2 MB, free: 17.09 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00049/0.1434, allocations: 138.2 kB / 291.3 MB, free: 17.09 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001744/0.1451, allocations: 0.8107 MB / 292.1 MB, free: 17.09 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001124/0.1462, allocations: 1.054 MB / 293.2 MB, free: 17.09 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009426/0.1472, allocations: 0.6299 MB / 293.8 MB, free: 17.09 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005303/0.1525, allocations: 3.946 MB / 297.8 MB, free: 16.71 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.1525, allocations: 1.062 kB / 297.8 MB, free: 16.71 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1525, allocations: 2.094 kB / 297.8 MB, free: 16.71 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.488e-05/0.1526, allocations: 0 / 297.8 MB, free: 16.71 MB / 266.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.006101/0.1587, allocations: 2.886 MB / 300.6 MB, free: 15.47 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.678e-05/0.1587, allocations: 10.31 kB / 300.7 MB, free: 15.47 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006411/0.1651, allocations: 2.062 MB / 302.7 MB, free: 15.14 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002765/0.1679, allocations: 1.253 MB / 304 MB, free: 14.56 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.429e-05/0.168, allocations: 117.4 kB / 304.1 MB, free: 14.53 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003689/0.1684, allocations: 154.9 kB / 304.2 MB, free: 14.5 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007681/0.176, allocations: 6.383 MB / 310.6 MB, free: 10.66 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.807e-05/0.1761, allocations: 27.22 kB / 310.6 MB, free: 10.66 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002326/0.1763, allocations: 81.11 kB / 310.7 MB, free: 10.63 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002107/0.1784, allocations: 1.435 MB / 312.2 MB, free: 9.238 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008177/0.1866, allocations: 5.668 MB / 317.8 MB, free: 3.715 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03292/0.2195, allocations: 24.92 MB / 342.7 MB, free: 10.32 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004584/0.2241, allocations: 1.776 MB / 344.5 MB, free: 8.516 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001468/0.2256, allocations: 0.9402 MB / 345.5 MB, free: 7.566 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.451e-05/0.2256, allocations: 23.84 kB / 345.5 MB, free: 7.547 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.053e-05/0.2257, allocations: 42.56 kB / 345.5 MB, free: 7.496 MB / 298.7 MB Notification: Performance of pre-optimization done (n=98): time 2.835e-06/0.2257, allocations: 0 / 345.5 MB, free: 7.496 MB / 298.7 MB Notification: Performance of matching and sorting (n=106): time 0.02393/0.2496, allocations: 8.788 MB / 354.3 MB, free: 14.66 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001219/0.2497, allocations: 144.5 kB / 354.5 MB, free: 14.49 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00477/0.2545, allocations: 2.712 MB / 357.2 MB, free: 11.75 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001692/0.2547, allocations: 37.7 kB / 357.2 MB, free: 11.7 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001996/0.2567, allocations: 2.153 MB / 359.4 MB, free: 9.562 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006511/0.2573, allocations: 452.2 kB / 359.8 MB, free: 9.125 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001444/0.2588, allocations: 0.8743 MB / 360.7 MB, free: 8.238 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002554/0.259, allocations: 364.6 kB / 361 MB, free: 7.879 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002667/0.2617, allocations: 1.423 MB / 362.5 MB, free: 6.449 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006135/0.2678, allocations: 4.251 MB / 366.7 MB, free: 0.7969 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009293/0.2771, allocations: 6.16 MB / 372.9 MB, free: 9.254 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.029e-05/0.2772, allocations: 32 kB / 372.9 MB, free: 9.223 MB / 330.7 MB Notification: Performance of matching and sorting (n=573) (initialization): time 0.01386/0.2911, allocations: 6.335 MB / 379.2 MB, free: 2.875 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.164e-05/0.2911, allocations: 48 kB / 379.3 MB, free: 2.828 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000138/0.2913, allocations: 100 kB / 379.4 MB, free: 2.73 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002591/0.2939, allocations: 0.805 MB / 380.2 MB, free: 1.922 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003625/0.2975, allocations: 1.001 MB / 381.2 MB, free: 0.9219 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007213/0.3047, allocations: 4.334 MB / 385.5 MB, free: 12.5 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00359/0.3083, allocations: 295.5 kB / 385.8 MB, free: 12.21 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006552/0.309, allocations: 276 kB / 386.1 MB, free: 11.94 MB / 346.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.002704/0.3117, allocations: 1.378 MB / 387.4 MB, free: 10.55 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005688/0.3122, allocations: 234.6 kB / 387.7 MB, free: 10.32 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004559/0.3168, allocations: 1.821 MB / 389.5 MB, free: 8.488 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.76e-05/0.3168, allocations: 12 kB / 389.5 MB, free: 8.477 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.758e-06/0.3168, allocations: 4 kB / 389.5 MB, free: 8.473 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.558e-05/0.3168, allocations: 7.984 kB / 389.5 MB, free: 8.465 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01116/0.328, allocations: 4.193 MB / 393.7 MB, free: 4.23 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.552e-05/0.328, allocations: 4 kB / 393.7 MB, free: 4.227 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007531/0.3288, allocations: 135.8 kB / 393.9 MB, free: 4.094 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002397/0.3312, allocations: 0.6541 MB / 394.5 MB, free: 3.438 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001344/0.3313, allocations: 24.81 kB / 394.5 MB, free: 3.418 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006372/0.3377, allocations: 3.833 MB / 398.4 MB, free: 15.48 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.3377, allocations: 4 kB / 398.4 MB, free: 15.48 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00713/0.3448, allocations: 3.697 MB / 402.1 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007654/0.3456, allocations: 210.4 kB / 402.3 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002521/0.3458, allocations: 16.12 kB / 402.3 MB, free: 11.53 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001048/0.3469, allocations: 103.8 kB / 402.4 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002075/0.3471, allocations: 55.89 kB / 402.4 MB, free: 11.37 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.438e-05/0.3472, allocations: 34.67 kB / 402.5 MB, free: 11.34 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.003455/0.3506, allocations: 1.558 MB / 404 MB, free: 9.766 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.3506, allocations: 0 / 404 MB, free: 9.766 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.004235/0.3549, allocations: 0.7108 MB / 404.7 MB, free: 9.055 MB / 362.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.0005024/0.3554, allocations: 156.7 kB / 404.9 MB, free: 8.895 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.006596/0.362, allocations: 3.326 MB / 408.2 MB, free: 5.586 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/0.362, allocations: 0 / 408.2 MB, free: 5.586 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001448/0.3634, allocations: 0.8634 MB / 409.1 MB, free: 4.711 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001848/0.3653, allocations: 243.2 kB / 409.3 MB, free: 4.477 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01134/0.3766, allocations: 5.541 MB / 414.9 MB, free: 14.86 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002552/0.3792, allocations: 1.616 MB / 416.5 MB, free: 13.22 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.003345/0.3825, allocations: 1.369 MB / 417.8 MB, free: 11.84 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004675/0.383, allocations: 156.5 kB / 418 MB, free: 11.69 MB / 378.7 MB Notification: Performance of SimCode: time 1.733e-06/0.383, allocations: 0 / 418 MB, free: 11.69 MB / 378.7 MB Notification: Performance of Templates: time 0.1562/0.5391, allocations: 19.6 MB / 437.6 MB, free: 121.1 MB / 378.7 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 -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/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_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.7561129530658945]