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.001306/0.001309, allocations: 109.7 kB / 17.33 MB, free: 5.992 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001452/0.001452, allocations: 205.8 kB / 18.26 MB, free: 5.074 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.282/1.282, allocations: 227.4 MB / 246.4 MB, free: 10.79 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001159/0.001159, allocations: 64.08 kB / 306.6 MB, free: 0.8438 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07585/0.07702, allocations: 50.53 MB / 357.1 MB, free: 14.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum): time 0.01255/0.0896, allocations: 14 MB / 371.1 MB, free: 260 kB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1515/0.2411, allocations: 4.263 MB / 375.4 MB, free: 8.934 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001269/0.2424, allocations: 53.5 kB / 375.4 MB, free: 8.926 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001493/0.2439, allocations: 0.7326 MB / 376.1 MB, free: 8.836 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002297/0.2463, allocations: 1.216 MB / 377.4 MB, free: 8.633 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000911/0.2472, allocations: 466.3 kB / 377.8 MB, free: 8.609 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002734/0.2499, allocations: 2.577 MB / 380.4 MB, free: 7.93 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001444/0.2514, allocations: 1.244 MB / 381.6 MB, free: 7.469 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001262/0.2527, allocations: 0.748 MB / 382.4 MB, free: 7.215 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001924/0.2546, allocations: 1.247 MB / 383.6 MB, free: 6.879 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000307/0.2549, allocations: 133.5 kB / 383.8 MB, free: 6.879 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001424/0.2563, allocations: 0.8754 MB / 384.6 MB, free: 6.703 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007553/0.2571, allocations: 1.014 MB / 385.6 MB, free: 6.359 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008618/0.258, allocations: 1.197 MB / 386.8 MB, free: 5.508 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003095/0.2611, allocations: 3.79 MB / 390.6 MB, free: 3.266 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.2611, allocations: 4 kB / 390.6 MB, free: 3.262 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.2611, allocations: 0 / 390.6 MB, free: 3.262 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.515e-05/0.2612, allocations: 0 / 390.6 MB, free: 3.262 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.004581/0.2658, allocations: 2.875 MB / 393.5 MB, free: 1.27 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/0.2658, allocations: 9.625 kB / 393.5 MB, free: 1.27 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004555/0.2663, allocations: 453 kB / 394 MB, free: 0.9844 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007396/0.2737, allocations: 1.648 MB / 395.6 MB, free: 136 kB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002864/0.2766, allocations: 1.514 MB / 397.1 MB, free: 15.18 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.922e-05/0.2767, allocations: 120.4 kB / 397.2 MB, free: 15.14 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002971/0.277, allocations: 156.7 kB / 397.4 MB, free: 15.11 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007885/0.2849, allocations: 6.367 MB / 403.8 MB, free: 9.574 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.331e-05/0.2849, allocations: 27.75 kB / 403.8 MB, free: 9.547 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002135/0.2852, allocations: 80.28 kB / 403.9 MB, free: 9.496 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003205/0.2884, allocations: 1.433 MB / 405.3 MB, free: 8.066 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0088/0.2972, allocations: 5.676 MB / 411 MB, free: 2.387 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02857/0.3258, allocations: 26.28 MB / 437.3 MB, free: 7.395 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003963/0.3298, allocations: 2.264 MB / 439.5 MB, free: 4.984 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001159/0.331, allocations: 1.02 MB / 440.5 MB, free: 3.953 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.327e-05/0.331, allocations: 14.44 kB / 440.6 MB, free: 3.941 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.601e-05/0.331, allocations: 42.78 kB / 440.6 MB, free: 3.891 MB / 350.1 MB Notification: Performance of pre-optimization done (n=98): time 4.319e-06/0.3311, allocations: 4 kB / 440.6 MB, free: 3.887 MB / 350.1 MB Notification: Performance of matching and sorting (n=106): time 0.02045/0.3515, allocations: 8.597 MB / 449.2 MB, free: 11.16 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.76e-05/0.3516, allocations: 140.5 kB / 449.3 MB, free: 10.99 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004148/0.3557, allocations: 2.819 MB / 452.2 MB, free: 8.152 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001137/0.3559, allocations: 37.7 kB / 452.2 MB, free: 8.109 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001755/0.3576, allocations: 2.079 MB / 454.3 MB, free: 6.035 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003797/0.358, allocations: 438.3 kB / 454.7 MB, free: 5.609 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009824/0.359, allocations: 0.8789 MB / 455.6 MB, free: 4.719 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 7.601e-05/0.3591, allocations: 301.1 kB / 455.9 MB, free: 4.422 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001873/0.361, allocations: 1.406 MB / 457.3 MB, free: 3.008 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003486/0.3645, allocations: 4.238 MB / 461.5 MB, free: 13.34 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006328/0.3708, allocations: 6.122 MB / 467.6 MB, free: 5.809 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.192e-05/0.3709, allocations: 28 kB / 467.7 MB, free: 5.781 MB / 382.1 MB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01117/0.3821, allocations: 6.077 MB / 473.7 MB, free: 15.7 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.948e-05/0.3822, allocations: 52.12 kB / 473.8 MB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001045/0.3823, allocations: 104.3 kB / 473.9 MB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002133/0.3844, allocations: 0.8006 MB / 474.7 MB, free: 14.74 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00258/0.387, allocations: 0.9902 MB / 475.7 MB, free: 13.75 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006871/0.3939, allocations: 4.463 MB / 480.1 MB, free: 9.148 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002626/0.3966, allocations: 259.6 kB / 480.4 MB, free: 8.895 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003925/0.397, allocations: 274.5 kB / 480.7 MB, free: 8.629 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.00187/0.3988, allocations: 1.364 MB / 482 MB, free: 7.25 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000399/0.3993, allocations: 240.9 kB / 482.3 MB, free: 7.012 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003614/0.4029, allocations: 1.853 MB / 484.1 MB, free: 5.145 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.108e-05/0.4029, allocations: 12 kB / 484.1 MB, free: 5.133 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.067e-06/0.4029, allocations: 7.938 kB / 484.1 MB, free: 5.125 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.586e-06/0.4029, allocations: 3.984 kB / 484.1 MB, free: 5.121 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007933/0.4109, allocations: 4.808 MB / 489 MB, free: 260 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.412e-06/0.4109, allocations: 0 / 489 MB, free: 260 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005775/0.4115, allocations: 135.8 kB / 489.1 MB, free: 124 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001903/0.4134, allocations: 0.6528 MB / 489.7 MB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.787e-05/0.4135, allocations: 16 kB / 489.8 MB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004593/0.4181, allocations: 3.947 MB / 493.7 MB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.518e-06/0.4181, allocations: 4.031 kB / 493.7 MB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005546/0.4237, allocations: 3.692 MB / 497.4 MB, free: 7.637 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006105/0.4243, allocations: 293.9 kB / 497.7 MB, free: 7.328 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004385/0.4247, allocations: 20 kB / 497.7 MB, free: 7.309 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001142/0.4259, allocations: 65.88 kB / 497.8 MB, free: 7.246 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002039/0.4261, allocations: 55.92 kB / 497.8 MB, free: 7.191 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.809e-05/0.4262, allocations: 28 kB / 497.8 MB, free: 7.164 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.003483/0.4297, allocations: 1.754 MB / 499.6 MB, free: 5.402 MB / 414.1 MB Notification: Performance of sort global known variables: time 3.3e-07/0.4297, allocations: 4.062 kB / 499.6 MB, free: 5.398 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.004559/0.4343, allocations: 0.6289 MB / 0.4885 GB, free: 4.77 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.005766/0.4401, allocations: 4.311 MB / 0.4927 GB, free: 428 kB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.005155/0.4452, allocations: 3.614 MB / 0.4962 GB, free: 12.82 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.4453, allocations: 3.938 kB / 0.4963 GB, free: 12.81 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001543/0.4468, allocations: 0.9396 MB / 0.4972 GB, free: 11.86 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002441/0.4493, allocations: 253.7 kB / 0.4974 GB, free: 11.61 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04921/0.4985, allocations: 33.39 MB / 0.53 GB, free: 5.234 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00301/0.5015, allocations: 2.184 MB / 0.5322 GB, free: 3.016 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.003631/0.5052, allocations: 1.4 MB / 0.5335 GB, free: 1.609 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00116/0.5064, allocations: 1.05 MB / 0.5345 GB, free: 0.5586 MB / 462.1 MB Notification: Performance of SimCode: time 8.42e-07/0.5064, allocations: 0 / 0.5345 GB, free: 0.5586 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4185/0.9249, allocations: 44.31 MB / 0.5778 GB, free: 139 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001917/0.9251, allocations: 233.4 kB / 0.578 GB, free: 138.8 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.377/4.302, allocations: 0 / 0.578 GB, free: 138.8 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