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.0008487/0.0008487, allocations: 95.94 kB / 17.35 MB, free: 6.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000985/0.000985, allocations: 205.9 kB / 18.29 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.196/1.196, allocations: 227.7 MB / 246.8 MB, free: 9.566 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000231/0.000231, allocations: 4 kB / 307.8 MB, free: 0.5156 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07645/0.0767, allocations: 51.52 MB / 359.4 MB, free: 12.98 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum): time 0.1511/0.2278, allocations: 13.42 MB / 372.8 MB, free: 8.902 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00648/0.2343, allocations: 4.294 MB / 377.1 MB, free: 8.699 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007999/0.2352, allocations: 62.23 kB / 377.1 MB, free: 8.684 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005555/0.2357, allocations: 272.8 kB / 377.4 MB, free: 8.625 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002144/0.2379, allocations: 1.213 MB / 378.6 MB, free: 8.422 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007937/0.2387, allocations: 457.7 kB / 379.1 MB, free: 8.395 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003396/0.2421, allocations: 3.458 MB / 382.5 MB, free: 7.965 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001695/0.2438, allocations: 1.414 MB / 383.9 MB, free: 7.445 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007896/0.2446, allocations: 0.6166 MB / 384.6 MB, free: 7.242 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001196/0.2458, allocations: 1.149 MB / 385.7 MB, free: 6.973 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001698/0.246, allocations: 77.41 kB / 385.8 MB, free: 6.973 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001437/0.2474, allocations: 0.8698 MB / 386.6 MB, free: 6.754 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007049/0.2481, allocations: 0.9501 MB / 387.6 MB, free: 6.254 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007481/0.2489, allocations: 1.155 MB / 388.8 MB, free: 5.367 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002785/0.2517, allocations: 3.665 MB / 392.4 MB, free: 3.047 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.2517, allocations: 0 / 392.4 MB, free: 3.047 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.2517, allocations: 0 / 392.4 MB, free: 3.047 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.462e-05/0.2517, allocations: 0 / 392.4 MB, free: 3.047 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.003185/0.2549, allocations: 2.39 MB / 394.8 MB, free: 1.309 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.596e-05/0.255, allocations: 8.531 kB / 394.8 MB, free: 1.309 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003884/0.2554, allocations: 448.4 kB / 395.3 MB, free: 1.027 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005329/0.2607, allocations: 1.698 MB / 396.9 MB, free: 176 kB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00201/0.2627, allocations: 1.517 MB / 398.5 MB, free: 15.21 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.948e-05/0.2628, allocations: 122.3 kB / 398.6 MB, free: 15.18 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002697/0.2631, allocations: 157.2 kB / 398.7 MB, free: 15.14 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007361/0.2704, allocations: 6.369 MB / 405.1 MB, free: 9.469 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.478e-05/0.2705, allocations: 35.73 kB / 405.1 MB, free: 9.434 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002091/0.2707, allocations: 85.84 kB / 405.2 MB, free: 9.379 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002222/0.273, allocations: 1.429 MB / 406.7 MB, free: 7.957 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007973/0.2809, allocations: 5.681 MB / 412.3 MB, free: 2.266 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02309/0.304, allocations: 26.27 MB / 438.6 MB, free: 7.273 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003899/0.308, allocations: 2.258 MB / 440.9 MB, free: 4.871 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001162/0.3092, allocations: 1.015 MB / 441.9 MB, free: 3.844 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.251e-05/0.3092, allocations: 23.19 kB / 441.9 MB, free: 3.824 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.603e-05/0.3092, allocations: 42.5 kB / 441.9 MB, free: 3.773 MB / 350.1 MB Notification: Performance of pre-optimization done (n=98): time 2.796e-06/0.3092, allocations: 0 / 441.9 MB, free: 3.773 MB / 350.1 MB Notification: Performance of matching and sorting (n=106): time 0.01878/0.328, allocations: 8.545 MB / 450.5 MB, free: 11.08 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.676e-05/0.3281, allocations: 148.4 kB / 450.6 MB, free: 10.91 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003316/0.3314, allocations: 2.823 MB / 453.5 MB, free: 8.066 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.722e-05/0.3315, allocations: 40.28 kB / 453.5 MB, free: 8.023 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001259/0.3328, allocations: 2.074 MB / 455.6 MB, free: 5.953 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003446/0.3331, allocations: 439 kB / 456 MB, free: 5.527 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003998/0.3335, allocations: 378.3 kB / 456.4 MB, free: 5.152 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.483e-05/0.3336, allocations: 301.1 kB / 456.7 MB, free: 4.855 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001955/0.3356, allocations: 1.406 MB / 458.1 MB, free: 3.441 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003605/0.3392, allocations: 4.238 MB / 462.3 MB, free: 13.77 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005999/0.3452, allocations: 6.116 MB / 468.4 MB, free: 6.246 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.213e-05/0.3453, allocations: 28 kB / 468.5 MB, free: 6.219 MB / 382.1 MB Notification: Performance of matching and sorting (n=569) (initialization): time 0.009221/0.3545, allocations: 6.082 MB / 474.5 MB, free: 132 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.273e-05/0.3546, allocations: 48.19 kB / 474.6 MB, free: 84 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.862e-05/0.3547, allocations: 104 kB / 474.7 MB, free: 15.98 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002131/0.3568, allocations: 0.7966 MB / 475.5 MB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002435/0.3593, allocations: 0.9902 MB / 476.5 MB, free: 14.19 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00496/0.3642, allocations: 4.151 MB / 480.6 MB, free: 9.906 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002176/0.3664, allocations: 247.6 kB / 480.9 MB, free: 9.664 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003076/0.3667, allocations: 276.4 kB / 481.1 MB, free: 9.395 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.00168/0.3684, allocations: 1.378 MB / 482.5 MB, free: 8.004 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000321/0.3687, allocations: 229 kB / 482.7 MB, free: 7.777 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003621/0.3724, allocations: 1.849 MB / 484.6 MB, free: 5.91 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.807e-05/0.3724, allocations: 15.94 kB / 484.6 MB, free: 5.895 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.367e-05/0.3724, allocations: 4 kB / 484.6 MB, free: 5.891 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.598e-06/0.3724, allocations: 11.92 kB / 484.6 MB, free: 5.879 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007501/0.3799, allocations: 4.819 MB / 489.4 MB, free: 1.004 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/0.38, allocations: 4 kB / 489.4 MB, free: 1 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005312/0.3805, allocations: 131.8 kB / 489.6 MB, free: 0.8711 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001866/0.3824, allocations: 0.6444 MB / 490.2 MB, free: 228 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.632e-05/0.3824, allocations: 24.05 kB / 490.2 MB, free: 204 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004299/0.3868, allocations: 3.686 MB / 493.9 MB, free: 12.38 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.3868, allocations: 0 / 493.9 MB, free: 12.38 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005217/0.392, allocations: 3.695 MB / 497.6 MB, free: 8.66 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004128/0.3924, allocations: 290 kB / 497.9 MB, free: 8.355 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002445/0.3927, allocations: 30.5 kB / 497.9 MB, free: 8.328 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008144/0.3935, allocations: 59.98 kB / 498 MB, free: 8.27 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001444/0.3936, allocations: 59.8 kB / 498 MB, free: 8.211 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.871e-05/0.3937, allocations: 32 kB / 498.1 MB, free: 8.18 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002309/0.396, allocations: 1.758 MB / 499.8 MB, free: 6.414 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.396, allocations: 0 / 499.8 MB, free: 6.414 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002637/0.3987, allocations: 0.6289 MB / 0.4887 GB, free: 5.785 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.005483/0.4042, allocations: 4.322 MB / 0.493 GB, free: 1.422 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004336/0.4085, allocations: 3.391 MB / 0.4963 GB, free: 14.04 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.4085, allocations: 0 / 0.4963 GB, free: 14.04 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00106/0.4096, allocations: 0.939 MB / 0.4972 GB, free: 13.09 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001611/0.4112, allocations: 243.1 kB / 0.4974 GB, free: 12.85 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04059/0.4518, allocations: 33.45 MB / 0.5301 GB, free: 6.398 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002072/0.4539, allocations: 2.184 MB / 0.5322 GB, free: 4.184 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002861/0.4568, allocations: 1.4 MB / 0.5336 GB, free: 2.777 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001188/0.458, allocations: 1.046 MB / 0.5346 GB, free: 1.73 MB / 462.1 MB Notification: Performance of SimCode: time 9.22e-07/0.458, allocations: 0 / 0.5346 GB, free: 1.73 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1892/0.6472, allocations: 43.03 MB / 0.5766 GB, free: 138.8 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001425/0.6474, allocations: 233 kB / 0.5768 GB, free: 138.5 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.451/3.099, allocations: 0 / 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