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.001243/0.001243, allocations: 105.1 kB / 21.22 MB, free: 0.6289 MB / 14.72 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.001352/0.001352, allocations: 212.7 kB / 24.52 MB, free: 3.91 MB / 14.72 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 1.404/1.404, allocations: 230.5 MB / 258.2 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_Pendulum",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001872/0.001872, allocations: 59.91 kB / 378.5 MB, free: 2.836 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.281/0.2829, allocations: 53.41 MB / 431.9 MB, free: 6.461 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum): time 0.008858/0.2917, allocations: 6.272 MB / 438.2 MB, free: 164 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007045/0.2988, allocations: 2.994 MB / 441.2 MB, free: 13.16 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001254/0.3, allocations: 39.81 kB / 441.2 MB, free: 13.12 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001822/0.3019, allocations: 0.7782 MB / 442 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003458/0.3053, allocations: 1.331 MB / 443.3 MB, free: 11 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001261/0.3066, allocations: 499 kB / 443.8 MB, free: 10.51 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003777/0.3104, allocations: 2.558 MB / 446.4 MB, free: 7.949 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001461/0.3118, allocations: 1.081 MB / 447.5 MB, free: 6.852 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00114/0.313, allocations: 0.7705 MB / 448.2 MB, free: 6.078 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001917/0.3149, allocations: 1.211 MB / 449.4 MB, free: 4.863 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003785/0.3153, allocations: 132 kB / 449.6 MB, free: 4.734 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00156/0.3168, allocations: 0.776 MB / 450.3 MB, free: 3.957 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001124/0.3179, allocations: 1.005 MB / 451.4 MB, free: 2.949 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001187/0.3191, allocations: 0.8457 MB / 452.2 MB, free: 2.098 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004708/0.3238, allocations: 3.948 MB / 456.1 MB, free: 14.13 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.3238, allocations: 0 / 456.1 MB, free: 14.13 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3238, allocations: 0 / 456.1 MB, free: 14.13 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.213e-05/0.3239, allocations: 0 / 456.1 MB, free: 14.13 MB / 366.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.005618/0.3295, allocations: 2.88 MB / 459 MB, free: 11.21 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.116e-05/0.3296, allocations: 8.031 kB / 459 MB, free: 11.2 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 8.886e-05/0.3297, allocations: 63.09 kB / 459.1 MB, free: 11.14 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006223/0.3303, allocations: 450 kB / 459.5 MB, free: 10.69 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006203/0.3365, allocations: 1.676 MB / 461.2 MB, free: 9.008 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003151/0.3396, allocations: 1.481 MB / 462.7 MB, free: 7.496 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001206/0.3398, allocations: 114.9 kB / 462.8 MB, free: 7.383 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003581/0.3401, allocations: 159.9 kB / 463 MB, free: 7.227 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009991/0.3501, allocations: 6.363 MB / 469.3 MB, free: 344 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.385e-05/0.3502, allocations: 35.7 kB / 469.4 MB, free: 308 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000237/0.3504, allocations: 75.89 kB / 469.4 MB, free: 232 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002578/0.353, allocations: 1.437 MB / 470.9 MB, free: 14.79 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01068/0.3637, allocations: 5.673 MB / 476.5 MB, free: 9.109 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03316/0.3968, allocations: 25.27 MB / 0.4901 GB, free: 15.01 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004055/0.4009, allocations: 1.739 MB / 0.4918 GB, free: 13.23 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001312/0.4022, allocations: 0.9469 MB / 0.4927 GB, free: 12.28 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.509e-05/0.4023, allocations: 12 kB / 0.4927 GB, free: 12.27 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.312e-05/0.4023, allocations: 38.56 kB / 0.4927 GB, free: 12.22 MB / 414.1 MB Notification: Performance of pre-optimization done (n=98): time 3.788e-06/0.4023, allocations: 0 / 0.4927 GB, free: 12.22 MB / 414.1 MB Notification: Performance of matching and sorting (n=106): time 0.02082/0.4231, allocations: 8.528 MB / 0.5011 GB, free: 3.617 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.827e-05/0.4232, allocations: 140.5 kB / 0.5012 GB, free: 3.449 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004098/0.4273, allocations: 2.832 MB / 0.504 GB, free: 0.6016 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001106/0.4274, allocations: 37.7 kB / 0.504 GB, free: 0.5586 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001745/0.4292, allocations: 2.159 MB / 0.5061 GB, free: 14.38 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005341/0.4297, allocations: 452.6 kB / 0.5065 GB, free: 13.93 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001121/0.4308, allocations: 0.8893 MB / 0.5074 GB, free: 13.03 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001281/0.4309, allocations: 305.1 kB / 0.5077 GB, free: 12.73 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002085/0.433, allocations: 1.406 MB / 0.5091 GB, free: 11.31 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004443/0.4375, allocations: 4.242 MB / 0.5132 GB, free: 5.641 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007262/0.4447, allocations: 6.119 MB / 0.5192 GB, free: 14.11 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.207e-05/0.4448, allocations: 31.94 kB / 0.5192 GB, free: 14.07 MB / 446.1 MB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01207/0.4569, allocations: 6.087 MB / 0.5252 GB, free: 7.984 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.851e-05/0.457, allocations: 51.94 kB / 0.5252 GB, free: 7.934 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001163/0.4571, allocations: 100 kB / 0.5253 GB, free: 7.836 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00238/0.4595, allocations: 0.8011 MB / 0.5261 GB, free: 7.031 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002941/0.4624, allocations: 0.9825 MB / 0.527 GB, free: 6.047 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006316/0.4687, allocations: 4.338 MB / 0.5313 GB, free: 1.598 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00285/0.4716, allocations: 263.6 kB / 0.5315 GB, free: 1.34 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004932/0.472, allocations: 272 kB / 0.5318 GB, free: 1.074 MB / 446.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.002168/0.4742, allocations: 1.357 MB / 0.5331 GB, free: 15.7 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004498/0.4747, allocations: 250.3 kB / 0.5333 GB, free: 15.45 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003982/0.4786, allocations: 1.845 MB / 0.5352 GB, free: 13.59 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.308e-05/0.4787, allocations: 16 kB / 0.5352 GB, free: 13.57 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.937e-06/0.4787, allocations: 4 kB / 0.5352 GB, free: 13.57 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.366e-05/0.4787, allocations: 3.984 kB / 0.5352 GB, free: 13.57 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008475/0.4872, allocations: 4.513 MB / 0.5396 GB, free: 8.992 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.995e-06/0.4872, allocations: 8.062 kB / 0.5396 GB, free: 8.984 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000579/0.4878, allocations: 135.8 kB / 0.5397 GB, free: 8.852 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001966/0.4897, allocations: 0.6405 MB / 0.5403 GB, free: 8.207 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.251e-05/0.4898, allocations: 12 kB / 0.5404 GB, free: 8.195 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004908/0.4947, allocations: 3.826 MB / 0.5441 GB, free: 4.254 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/0.4947, allocations: 4.031 kB / 0.5441 GB, free: 4.25 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005804/0.5005, allocations: 3.686 MB / 0.5477 GB, free: 0.5352 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006299/0.5011, allocations: 238.1 kB / 0.5479 GB, free: 308 kB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002501/0.5014, allocations: 12 kB / 0.5479 GB, free: 296 kB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008763/0.5023, allocations: 76.02 kB / 0.548 GB, free: 220 kB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001756/0.5024, allocations: 55.89 kB / 0.5481 GB, free: 164 kB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.501e-05/0.5025, allocations: 28 kB / 0.5481 GB, free: 136 kB / 462.1 MB Notification: Performance of sorting global known variables: time 0.2224/0.7249, allocations: 1.753 MB / 0.5498 GB, free: 115 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.7249, allocations: 1.188 kB / 0.5498 GB, free: 115 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004571/0.7295, allocations: 0.6264 MB / 0.5504 GB, free: 115 MB / 462.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.006544/0.736, allocations: 4.331 MB / 0.5546 GB, free: 113.4 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004555/0.7406, allocations: 3.287 MB / 0.5579 GB, free: 112.3 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.097e-06/0.7406, allocations: 0 / 0.5579 GB, free: 112.3 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009593/0.7415, allocations: 0.8687 MB / 0.5587 GB, free: 112 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001639/0.7432, allocations: 251.3 kB / 0.5589 GB, free: 111.8 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03144/0.7746, allocations: 30.23 MB / 0.5885 GB, free: 81.75 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001464/0.7761, allocations: 1.626 MB / 0.59 GB, free: 80.11 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002361/0.7784, allocations: 1.396 MB / 0.5914 GB, free: 78.7 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009864/0.7794, allocations: 1.05 MB / 0.5924 GB, free: 77.66 MB / 462.1 MB Notification: Performance of SimCode: time 8.62e-07/0.7794, allocations: 0 / 0.5924 GB, free: 77.66 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8566/1.636, allocations: 43.35 MB / 0.6348 GB, free: 34.81 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 20.08/21.72, allocations: 7.219 kB / 0.6348 GB, free: 34.81 MB / 462.1 MB " [Timeout remaining time 638] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 25.13789265207015]