Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009918/0.0009918, allocations: 95.91 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009597/0.0009598, allocations: 206.8 kB / 17.9 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.353/1.353, allocations: 227.2 MB / 245.9 MB, free: 12.09 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002382/0.0002383, allocations: 7.984 kB / 306.6 MB, free: 1.656 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1012/0.1015, allocations: 51.49 MB / 358.1 MB, free: 14.16 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum): time 0.01122/0.1127, allocations: 11.98 MB / 370 MB, free: 2.137 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1857/0.2985, allocations: 4.126 MB / 374.2 MB, free: 8.641 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001971/0.3005, allocations: 54.47 kB / 374.2 MB, free: 8.641 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001179/0.3017, allocations: 0.5373 MB / 374.8 MB, free: 8.641 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005224/0.307, allocations: 1.94 MB / 376.7 MB, free: 8.609 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001067/0.308, allocations: 402.5 kB / 377.1 MB, free: 8.609 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00271/0.3108, allocations: 1.479 MB / 378.6 MB, free: 8.594 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001881/0.3127, allocations: 1.332 MB / 379.9 MB, free: 8.418 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008913/0.3136, allocations: 0.5976 MB / 380.5 MB, free: 8.359 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001041/0.3146, allocations: 0.8314 MB / 381.3 MB, free: 8.238 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001915/0.3148, allocations: 78.53 kB / 381.4 MB, free: 8.238 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001386/0.3162, allocations: 0.6996 MB / 382.1 MB, free: 8.223 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008831/0.3171, allocations: 0.8734 MB / 383 MB, free: 8.121 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004217/0.3175, allocations: 497.1 kB / 383.5 MB, free: 7.988 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002939/0.3205, allocations: 2.946 MB / 386.4 MB, free: 6.84 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.3205, allocations: 1.312 kB / 386.4 MB, free: 6.84 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3205, allocations: 4 kB / 386.4 MB, free: 6.836 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.547e-05/0.3206, allocations: 0 / 386.4 MB, free: 6.836 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.004284/0.3248, allocations: 2.503 MB / 388.9 MB, free: 5.242 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/0.3249, allocations: 8.25 kB / 388.9 MB, free: 5.242 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006563/0.3315, allocations: 1.971 MB / 390.9 MB, free: 4.363 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002852/0.3343, allocations: 1.4 MB / 392.3 MB, free: 3.738 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001014/0.3344, allocations: 117.1 kB / 392.4 MB, free: 3.734 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003249/0.3348, allocations: 148.8 kB / 392.6 MB, free: 3.734 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008293/0.3431, allocations: 6.394 MB / 399 MB, free: 1.035 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.698e-05/0.3432, allocations: 30.19 kB / 399 MB, free: 1.02 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002257/0.3434, allocations: 76.19 kB / 399.1 MB, free: 0.9961 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002142/0.3455, allocations: 1.438 MB / 400.5 MB, free: 15.72 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01004/0.3556, allocations: 5.695 MB / 406.2 MB, free: 10.02 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0283/0.3839, allocations: 26.31 MB / 432.5 MB, free: 15.02 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004206/0.3882, allocations: 2.262 MB / 434.8 MB, free: 12.61 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.844e-05/0.3882, allocations: 15.12 kB / 434.8 MB, free: 12.6 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.015e-05/0.3883, allocations: 43.97 kB / 434.8 MB, free: 12.55 MB / 350.1 MB Notification: Performance of pre-optimization done (n=98): time 3.377e-06/0.3883, allocations: 0 / 434.8 MB, free: 12.55 MB / 350.1 MB Notification: Performance of matching and sorting (n=106): time 0.01975/0.408, allocations: 8.813 MB / 443.6 MB, free: 3.543 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.402e-05/0.4081, allocations: 140.5 kB / 443.8 MB, free: 3.375 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003551/0.4117, allocations: 2.919 MB / 446.7 MB, free: 452 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.55e-05/0.4118, allocations: 45.7 kB / 446.7 MB, free: 400 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00123/0.413, allocations: 2.076 MB / 448.8 MB, free: 14.32 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003596/0.4134, allocations: 440 kB / 449.3 MB, free: 13.9 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001626/0.4136, allocations: 84 kB / 449.3 MB, free: 13.82 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002624/0.4138, allocations: 0.4916 MB / 449.8 MB, free: 13.32 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001982/0.4158, allocations: 1.39 MB / 451.2 MB, free: 11.92 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003645/0.4195, allocations: 4.206 MB / 455.4 MB, free: 6.285 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002943/0.4224, allocations: 2.371 MB / 457.8 MB, free: 3.914 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-05/0.4225, allocations: 28 kB / 457.8 MB, free: 3.887 MB / 366.1 MB Notification: Performance of matching and sorting (n=569) (initialization): time 0.009352/0.4318, allocations: 6.058 MB / 463.9 MB, free: 13.82 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.973e-05/0.4319, allocations: 48.09 kB / 463.9 MB, free: 13.78 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.313e-05/0.432, allocations: 107.9 kB / 464 MB, free: 13.67 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002171/0.4342, allocations: 0.8118 MB / 464.8 MB, free: 12.86 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002647/0.4368, allocations: 0.9865 MB / 465.8 MB, free: 11.87 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005272/0.4421, allocations: 4.241 MB / 470.1 MB, free: 7.5 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002759/0.4449, allocations: 243.6 kB / 470.3 MB, free: 7.262 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000323/0.4452, allocations: 275 kB / 470.6 MB, free: 6.996 MB / 382.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 (533): * Single equations (assignments): 529 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,77.8%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001923/0.4472, allocations: 1.368 MB / 471.9 MB, free: 5.617 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003373/0.4475, allocations: 232.9 kB / 472.2 MB, free: 5.387 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003619/0.4511, allocations: 1.845 MB / 474 MB, free: 3.52 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-05/0.4512, allocations: 12 kB / 474 MB, free: 3.508 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.825e-06/0.4512, allocations: 4 kB / 474 MB, free: 3.504 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.899e-06/0.4512, allocations: 3.984 kB / 474 MB, free: 3.5 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008317/0.4595, allocations: 4.825 MB / 478.9 MB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/0.4595, allocations: 2.078 kB / 478.9 MB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006032/0.4601, allocations: 139.8 kB / 479 MB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001963/0.4621, allocations: 0.6483 MB / 479.6 MB, free: 13.83 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.476e-05/0.4622, allocations: 16 kB / 479.7 MB, free: 13.81 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004963/0.4672, allocations: 3.78 MB / 483.4 MB, free: 9.902 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.995e-06/0.4672, allocations: 7.969 kB / 483.5 MB, free: 9.895 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005588/0.4728, allocations: 3.779 MB / 487.2 MB, free: 6.059 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005877/0.4734, allocations: 309.9 kB / 487.5 MB, free: 5.734 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002329/0.4736, allocations: 16 kB / 487.5 MB, free: 5.719 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008531/0.4745, allocations: 63.91 kB / 487.6 MB, free: 5.656 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001448/0.4747, allocations: 55.92 kB / 487.7 MB, free: 5.602 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.978e-05/0.4747, allocations: 32 kB / 487.7 MB, free: 5.57 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.003086/0.4778, allocations: 1.832 MB / 489.5 MB, free: 3.73 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4778, allocations: 224 / 489.5 MB, free: 3.73 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.003303/0.4812, allocations: 0.6595 MB / 490.2 MB, free: 3.074 MB / 398.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003516/0.4815, allocations: 161.9 kB / 490.3 MB, free: 2.906 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.004681/0.4862, allocations: 3.384 MB / 493.7 MB, free: 15.54 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.4862, allocations: 0 / 493.7 MB, free: 15.54 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001196/0.4874, allocations: 0.9238 MB / 494.7 MB, free: 14.6 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001017/0.4885, allocations: 243.6 kB / 494.9 MB, free: 14.36 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007995/0.4965, allocations: 6.412 MB / 0.4896 GB, free: 7.914 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001946/0.4984, allocations: 2.243 MB / 0.4917 GB, free: 5.637 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.002897/0.5013, allocations: 1.396 MB / 0.4931 GB, free: 4.234 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003477/0.5017, allocations: 163.4 kB / 0.4933 GB, free: 4.074 MB / 414.1 MB Notification: Performance of SimCode: time 6.91e-07/0.5017, allocations: 0 / 0.4933 GB, free: 4.074 MB / 414.1 MB Notification: Performance of Templates: time 0.03526/0.537, allocations: 21.89 MB / 0.5146 GB, free: 14.28 MB / 446.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.makefile (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe 2>&1) diffSimulationResults("Modelica_trunk_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","../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches