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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001198/0.001198, allocations: 76.36 kB / 20.67 MB, free: 3.895 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001339/0.001339, allocations: 160.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8892/0.8892, allocations: 177 MB / 204.1 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 324.5 MB, free: 15.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.436e-05/1.578e-05, allocations: 6.844 kB / 324.5 MB, free: 15.88 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum): time 0.00545/0.005465, allocations: 6.337 MB / 330.9 MB, free: 9.512 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003296/0.008761, allocations: 3.006 MB / 333.9 MB, free: 6.496 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000315/0.009076, allocations: 35.88 kB / 333.9 MB, free: 6.461 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001059/0.01013, allocations: 0.813 MB / 334.7 MB, free: 5.645 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001622/0.01176, allocations: 1.365 MB / 336.1 MB, free: 4.273 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005344/0.01229, allocations: 0.5221 MB / 336.6 MB, free: 3.75 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001666/0.01396, allocations: 2.915 MB / 339.5 MB, free: 0.8281 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008774/0.01484, allocations: 1.332 MB / 340.8 MB, free: 15.48 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008192/0.01565, allocations: 1.192 MB / 342 MB, free: 14.29 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001098/0.01675, allocations: 1.286 MB / 343.3 MB, free: 13 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001378/0.01689, allocations: 140 kB / 343.5 MB, free: 12.86 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007761/0.01767, allocations: 0.811 MB / 344.3 MB, free: 12.05 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005164/0.01818, allocations: 1.055 MB / 345.3 MB, free: 10.99 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004015/0.01858, allocations: 0.6266 MB / 346 MB, free: 10.36 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002443/0.02103, allocations: 3.948 MB / 349.9 MB, free: 6.398 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.02103, allocations: 0 / 349.9 MB, free: 6.398 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.02103, allocations: 0 / 349.9 MB, free: 6.398 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.125e-05/0.02106, allocations: 0 / 349.9 MB, free: 6.398 MB / 314.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.003044/0.02411, allocations: 2.904 MB / 352.8 MB, free: 3.449 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.02415, allocations: 11.98 kB / 352.8 MB, free: 3.438 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003306/0.02448, allocations: 457.9 kB / 353.3 MB, free: 2.98 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003261/0.02774, allocations: 1.746 MB / 355 MB, free: 1.23 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001399/0.02914, allocations: 1.309 MB / 356.3 MB, free: 15.89 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.356e-05/0.0292, allocations: 119 kB / 356.4 MB, free: 15.78 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002048/0.02941, allocations: 159.8 kB / 356.6 MB, free: 15.62 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005323/0.03473, allocations: 6.367 MB / 363 MB, free: 8.73 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.578e-05/0.03477, allocations: 35.75 kB / 363 MB, free: 8.695 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001545/0.03493, allocations: 75.89 kB / 363.1 MB, free: 8.621 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001476/0.0364, allocations: 1.437 MB / 364.5 MB, free: 7.18 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005874/0.04228, allocations: 5.681 MB / 370.2 MB, free: 1.488 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0175/0.05978, allocations: 25.41 MB / 395.6 MB, free: 7.238 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002654/0.06243, allocations: 1.776 MB / 397.4 MB, free: 5.426 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008191/0.06325, allocations: 0.9411 MB / 398.3 MB, free: 4.473 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.655e-05/0.06328, allocations: 12.22 kB / 398.3 MB, free: 4.461 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.507e-05/0.06331, allocations: 54.48 kB / 398.4 MB, free: 4.398 MB / 362.7 MB Notification: Performance of pre-optimization done (n=98): time 3.967e-06/0.06331, allocations: 0 / 398.4 MB, free: 4.398 MB / 362.7 MB Notification: Performance of matching and sorting (n=106): time 0.01284/0.07615, allocations: 8.802 MB / 407.2 MB, free: 11.52 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.119e-05/0.07621, allocations: 140.5 kB / 407.3 MB, free: 11.36 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002813/0.07903, allocations: 3.15 MB / 410.5 MB, free: 8.188 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.859e-05/0.07908, allocations: 37.7 kB / 410.5 MB, free: 8.145 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001011/0.08009, allocations: 2.135 MB / 412.6 MB, free: 5.988 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002882/0.08038, allocations: 448.6 kB / 413.1 MB, free: 5.547 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007148/0.0811, allocations: 0.8775 MB / 414 MB, free: 4.656 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.718e-05/0.08116, allocations: 305.1 kB / 414.3 MB, free: 4.355 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001558/0.08272, allocations: 1.414 MB / 415.7 MB, free: 2.934 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002543/0.08527, allocations: 4.242 MB / 419.9 MB, free: 13.26 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004796/0.09006, allocations: 6.134 MB / 426 MB, free: 5.715 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.204e-05/0.0901, allocations: 28 kB / 426.1 MB, free: 5.688 MB / 394.7 MB Notification: Performance of matching and sorting (n=569) (initialization): time 0.006691/0.09679, allocations: 6.106 MB / 432.2 MB, free: 15.57 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.701e-05/0.09684, allocations: 48 kB / 432.2 MB, free: 15.52 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.529e-05/0.09691, allocations: 100 kB / 432.3 MB, free: 15.42 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00128/0.09819, allocations: 0.7973 MB / 433.1 MB, free: 14.62 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00166/0.09985, allocations: 0.9941 MB / 434.1 MB, free: 13.62 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003815/0.1037, allocations: 4.349 MB / 438.5 MB, free: 9.168 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001813/0.1055, allocations: 299.5 kB / 438.8 MB, free: 8.875 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002223/0.1057, allocations: 276 kB / 439 MB, free: 8.605 MB / 410.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 (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.001315/0.107, allocations: 1.368 MB / 440.4 MB, free: 7.227 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004011/0.1074, allocations: 250.1 kB / 440.6 MB, free: 6.984 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002203/0.1096, allocations: 1.851 MB / 442.5 MB, free: 5.117 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.496e-05/0.1096, allocations: 12 kB / 442.5 MB, free: 5.105 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.1096, allocations: 4 kB / 442.5 MB, free: 5.102 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.926e-06/0.1096, allocations: 7.922 kB / 442.5 MB, free: 5.094 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005214/0.1149, allocations: 4.595 MB / 447.1 MB, free: 444 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.1149, allocations: 0 / 447.1 MB, free: 444 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003352/0.1152, allocations: 131.8 kB / 447.2 MB, free: 312 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.1333/0.2485, allocations: 0.6392 MB / 447.9 MB, free: 112 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001577/0.2487, allocations: 17.33 kB / 447.9 MB, free: 112 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003215/0.2519, allocations: 3.852 MB / 451.7 MB, free: 110.6 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.2519, allocations: 0 / 451.7 MB, free: 110.6 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003231/0.2551, allocations: 3.686 MB / 455.4 MB, free: 109.3 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003533/0.2555, allocations: 251.2 kB / 455.7 MB, free: 109.3 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001476/0.2556, allocations: 25.91 kB / 455.7 MB, free: 109.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005531/0.2562, allocations: 103 kB / 455.8 MB, free: 109.3 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001033/0.2563, allocations: 66.86 kB / 455.9 MB, free: 109.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.378e-05/0.2563, allocations: 30.69 kB / 455.9 MB, free: 109.3 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001554/0.2579, allocations: 1.878 MB / 457.8 MB, free: 108.6 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.2579, allocations: 0 / 457.8 MB, free: 108.6 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001869/0.2598, allocations: 0.7133 MB / 458.5 MB, free: 108.5 MB / 410.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.003161/0.2629, allocations: 4.319 MB / 462.8 MB, free: 106.6 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002632/0.2655, allocations: 3.29 MB / 466.1 MB, free: 103.7 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.2656, allocations: 0 / 466.1 MB, free: 103.7 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005938/0.2661, allocations: 0.871 MB / 467 MB, free: 103 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009101/0.2671, allocations: 267.2 kB / 467.2 MB, free: 102.7 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02019/0.2872, allocations: 30.57 MB / 497.8 MB, free: 68.72 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001041/0.2883, allocations: 1.616 MB / 499.4 MB, free: 67.08 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001527/0.2898, allocations: 1.407 MB / 0.4891 GB, free: 65.66 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000704/0.2905, allocations: 1.056 MB / 0.4901 GB, free: 64.61 MB / 410.7 MB Notification: Performance of SimCode: time 1.052e-06/0.2905, allocations: 0 / 0.4901 GB, free: 64.61 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04664/0.3372, allocations: 43.29 MB / 0.5324 GB, free: 21.79 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.915/9.252, allocations: 7.328 kB / 0.5324 GB, free: 21.79 MB / 410.7 MB " [Timeout remaining time 651] (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 --stepSize=0.0009996 --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) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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: 11.06579718645662]