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: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_Pendulum",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_Pendulum",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001257/0.001258, allocations: 103.5 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001485/0.001485, allocations: 205.8 kB / 18.13 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.316/1.316, allocations: 227.4 MB / 246.3 MB, free: 10.75 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001295, allocations: 61.03 kB / 306.4 MB, free: 0.9766 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08695/0.08827, allocations: 50.54 MB / 356.9 MB, free: 14.44 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum): time 0.01534/0.1036, allocations: 14 MB / 370.9 MB, free: 376 kB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1729/0.2766, allocations: 4.356 MB / 375.3 MB, free: 8.906 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002148/0.2788, allocations: 54.03 kB / 375.3 MB, free: 8.898 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001879/0.2807, allocations: 0.7561 MB / 376.1 MB, free: 8.801 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002889/0.2836, allocations: 1.199 MB / 377.3 MB, free: 8.602 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001094/0.2847, allocations: 467.8 kB / 377.7 MB, free: 8.57 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004419/0.2892, allocations: 3.452 MB / 381.2 MB, free: 7.785 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002274/0.2915, allocations: 1.14 MB / 382.3 MB, free: 7.414 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001339/0.2928, allocations: 0.6551 MB / 383 MB, free: 7.191 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002048/0.2949, allocations: 1.192 MB / 384.2 MB, free: 6.898 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005599/0.2954, allocations: 93.06 kB / 384.2 MB, free: 6.898 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001984/0.2974, allocations: 0.8863 MB / 385.1 MB, free: 6.703 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001228/0.2987, allocations: 0.9709 MB / 386.1 MB, free: 6.293 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001638/0.3003, allocations: 1.161 MB / 387.3 MB, free: 5.414 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003588/0.3039, allocations: 3.727 MB / 391 MB, free: 3.031 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.3039, allocations: 5.375 kB / 391 MB, free: 3.027 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.3039, allocations: 0 / 391 MB, free: 3.027 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.441e-05/0.304, allocations: 0 / 391 MB, free: 3.027 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.004854/0.3089, allocations: 2.877 MB / 393.9 MB, free: 1.035 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.302e-05/0.3089, allocations: 13.61 kB / 393.9 MB, free: 1.031 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004746/0.3094, allocations: 448.7 kB / 394.3 MB, free: 0.75 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005386/0.3148, allocations: 1.649 MB / 396 MB, free: 15.9 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002455/0.3173, allocations: 1.51 MB / 397.5 MB, free: 14.95 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.994e-05/0.3174, allocations: 119.3 kB / 397.6 MB, free: 14.91 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002708/0.3177, allocations: 153.5 kB / 397.7 MB, free: 14.89 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007735/0.3254, allocations: 6.366 MB / 404.1 MB, free: 9.086 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.227e-05/0.3255, allocations: 27.75 kB / 404.1 MB, free: 9.059 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002158/0.3257, allocations: 77.7 kB / 404.2 MB, free: 9.008 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002178/0.3279, allocations: 1.439 MB / 405.7 MB, free: 7.578 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008389/0.3363, allocations: 5.67 MB / 411.3 MB, free: 1.898 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02388/0.3602, allocations: 26.29 MB / 437.6 MB, free: 6.902 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003935/0.3641, allocations: 2.259 MB / 439.9 MB, free: 4.496 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001169/0.3653, allocations: 1.018 MB / 440.9 MB, free: 3.465 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.989e-05/0.3654, allocations: 11.36 kB / 440.9 MB, free: 3.457 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.726e-05/0.3654, allocations: 46.56 kB / 441 MB, free: 3.402 MB / 350.1 MB Notification: Performance of pre-optimization done (n=98): time 3.226e-06/0.3654, allocations: 3.938 kB / 441 MB, free: 3.398 MB / 350.1 MB Notification: Performance of matching and sorting (n=106): time 0.02082/0.3863, allocations: 8.585 MB / 449.5 MB, free: 10.68 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.394e-05/0.3863, allocations: 140.6 kB / 449.7 MB, free: 10.51 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004315/0.3907, allocations: 2.819 MB / 452.5 MB, free: 7.672 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001019/0.3908, allocations: 49.62 kB / 452.5 MB, free: 7.617 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001378/0.3922, allocations: 2.072 MB / 454.6 MB, free: 5.551 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004158/0.3926, allocations: 444.2 kB / 455.1 MB, free: 5.121 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001197/0.3938, allocations: 0.869 MB / 455.9 MB, free: 4.238 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.354e-05/0.3939, allocations: 305.1 kB / 456.2 MB, free: 3.938 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002106/0.396, allocations: 1.41 MB / 457.6 MB, free: 2.52 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003615/0.3996, allocations: 4.238 MB / 461.9 MB, free: 12.85 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005933/0.4056, allocations: 6.117 MB / 468 MB, free: 5.324 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.425e-05/0.4057, allocations: 28 kB / 468 MB, free: 5.297 MB / 382.1 MB Notification: Performance of matching and sorting (n=569) (initialization): time 0.009706/0.4154, allocations: 6.09 MB / 474.1 MB, free: 15.2 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.087e-05/0.4155, allocations: 48 kB / 474.1 MB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001202/0.4156, allocations: 100 kB / 474.2 MB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002212/0.4178, allocations: 0.7928 MB / 475 MB, free: 14.26 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002578/0.4204, allocations: 0.9941 MB / 476 MB, free: 13.26 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005111/0.4255, allocations: 4.159 MB / 480.2 MB, free: 8.973 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002567/0.4281, allocations: 251.5 kB / 480.4 MB, free: 8.727 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003613/0.4285, allocations: 276 kB / 480.7 MB, free: 8.457 MB / 398.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 (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.001843/0.4303, allocations: 1.366 MB / 482.1 MB, free: 7.078 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004026/0.4307, allocations: 241 kB / 482.3 MB, free: 6.84 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003631/0.4344, allocations: 1.849 MB / 484.2 MB, free: 4.973 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.12e-05/0.4344, allocations: 12 kB / 484.2 MB, free: 4.961 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.349e-05/0.4344, allocations: 7.984 kB / 484.2 MB, free: 4.953 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.949e-06/0.4344, allocations: 3.984 kB / 484.2 MB, free: 4.949 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008715/0.4432, allocations: 4.807 MB / 489 MB, free: 84 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.067e-05/0.4432, allocations: 3.984 kB / 489 MB, free: 80 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006115/0.4438, allocations: 131.8 kB / 489.1 MB, free: 15.95 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001978/0.4458, allocations: 0.6483 MB / 489.8 MB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.566e-05/0.4459, allocations: 20 kB / 489.8 MB, free: 15.28 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004473/0.4504, allocations: 3.701 MB / 493.5 MB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.4504, allocations: 0 / 493.5 MB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005441/0.4558, allocations: 3.692 MB / 497.2 MB, free: 7.727 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005323/0.4564, allocations: 293.9 kB / 497.5 MB, free: 7.418 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003441/0.4567, allocations: 12 kB / 497.5 MB, free: 7.406 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009094/0.4577, allocations: 63.91 kB / 497.5 MB, free: 7.344 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001623/0.4578, allocations: 55.98 kB / 497.6 MB, free: 7.289 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.698e-05/0.4579, allocations: 28 kB / 497.6 MB, free: 7.262 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002667/0.4606, allocations: 1.762 MB / 499.4 MB, free: 5.492 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.4606, allocations: 0 / 499.4 MB, free: 5.492 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003105/0.4637, allocations: 0.627 MB / 0.4883 GB, free: 4.867 MB / 414.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.005793/0.4695, allocations: 4.312 MB / 0.4925 GB, free: 0.5156 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004792/0.4743, allocations: 3.389 MB / 0.4958 GB, free: 13.14 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.4743, allocations: 4 kB / 0.4958 GB, free: 13.13 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00117/0.4755, allocations: 0.9342 MB / 0.4967 GB, free: 12.19 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001522/0.4771, allocations: 251.1 kB / 0.497 GB, free: 11.94 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04627/0.5233, allocations: 33.4 MB / 0.5296 GB, free: 5.562 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002567/0.5259, allocations: 2.188 MB / 0.5317 GB, free: 3.34 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.003209/0.5292, allocations: 1.396 MB / 0.5331 GB, free: 1.938 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00139/0.5306, allocations: 1.046 MB / 0.5341 GB, free: 0.8906 MB / 462.1 MB Notification: Performance of SimCode: time 6.51e-07/0.5306, allocations: 0 / 0.5341 GB, free: 0.8906 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2014/0.732, allocations: 43.45 MB / 0.5765 GB, free: 138.8 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000197/0.7322, allocations: 242.3 kB / 0.5768 GB, free: 138.5 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.682/3.414, allocations: 4 kB / 0.5768 GB, free: 138.5 MB / 462.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum_res.mat --tempDir=temp_Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_Pendulum_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_Pendulum.fmu > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches