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.001742/0.001742, allocations: 107.2 kB / 20.44 MB, free: 1.207 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.002114/0.002114, allocations: 213.7 kB / 23.73 MB, free: 4.406 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.438/1.438, allocations: 230.5 MB / 257.4 MB, free: 7.766 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="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 0.001946/0.001946, allocations: 71.89 kB / 377.7 MB, free: 2.801 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2608/0.2627, allocations: 53.41 MB / 431.1 MB, free: 6.418 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum): time 0.008792/0.2715, allocations: 6.311 MB / 437.5 MB, free: 80 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006056/0.2776, allocations: 2.995 MB / 440.5 MB, free: 13.07 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005986/0.2782, allocations: 39.81 kB / 440.5 MB, free: 13.04 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001703/0.2799, allocations: 0.7782 MB / 441.3 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002761/0.2826, allocations: 1.338 MB / 442.6 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001003/0.2836, allocations: 495 kB / 443.1 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003018/0.2867, allocations: 2.555 MB / 445.6 MB, free: 7.867 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001311/0.288, allocations: 1.076 MB / 446.7 MB, free: 6.773 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009204/0.2889, allocations: 0.7666 MB / 447.5 MB, free: 6.004 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001517/0.2904, allocations: 1.172 MB / 448.7 MB, free: 4.828 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002542/0.2907, allocations: 136 kB / 448.8 MB, free: 4.695 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00136/0.292, allocations: 0.7721 MB / 449.6 MB, free: 3.922 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009316/0.293, allocations: 1.005 MB / 450.6 MB, free: 2.914 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000881/0.2938, allocations: 0.8457 MB / 451.4 MB, free: 2.062 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004336/0.2982, allocations: 3.952 MB / 455.4 MB, free: 14.09 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.197e-06/0.2982, allocations: 0 / 455.4 MB, free: 14.09 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.2982, allocations: 0 / 455.4 MB, free: 14.09 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.186e-05/0.2982, allocations: 0 / 455.4 MB, free: 14.09 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.005264/0.3035, allocations: 2.88 MB / 458.3 MB, free: 11.17 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.815e-05/0.3035, allocations: 15.98 kB / 458.3 MB, free: 11.15 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005432/0.3041, allocations: 454 kB / 458.7 MB, free: 10.7 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006224/0.3103, allocations: 1.668 MB / 460.4 MB, free: 9.027 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003522/0.3138, allocations: 1.481 MB / 461.9 MB, free: 7.516 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001241/0.314, allocations: 118.9 kB / 462 MB, free: 7.398 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003513/0.3143, allocations: 151.9 kB / 462.1 MB, free: 7.25 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01023/0.3245, allocations: 6.363 MB / 468.5 MB, free: 368 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.355e-05/0.3246, allocations: 39.7 kB / 468.5 MB, free: 328 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002387/0.3248, allocations: 75.89 kB / 468.6 MB, free: 252 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002726/0.3276, allocations: 1.437 MB / 470 MB, free: 14.81 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01113/0.3387, allocations: 5.654 MB / 475.7 MB, free: 9.148 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03265/0.3714, allocations: 25.28 MB / 0.4892 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004432/0.3758, allocations: 1.733 MB / 0.4909 GB, free: 13.27 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001393/0.3772, allocations: 0.9365 MB / 0.4918 GB, free: 12.32 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.677e-05/0.3772, allocations: 12 kB / 0.4918 GB, free: 12.3 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.711e-05/0.3773, allocations: 42.56 kB / 0.4919 GB, free: 12.25 MB / 414.1 MB Notification: Performance of pre-optimization done (n=98): time 3.637e-06/0.3773, allocations: 0 / 0.4919 GB, free: 12.25 MB / 414.1 MB Notification: Performance of matching and sorting (n=106): time 0.02195/0.3992, allocations: 8.533 MB / 0.5002 GB, free: 3.652 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.842e-05/0.3993, allocations: 140.5 kB / 0.5004 GB, free: 3.484 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004271/0.4036, allocations: 2.998 MB / 0.5033 GB, free: 480 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001538/0.4037, allocations: 41.7 kB / 0.5033 GB, free: 432 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001704/0.4054, allocations: 2.163 MB / 0.5054 GB, free: 14.23 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005058/0.4059, allocations: 452.6 kB / 0.5059 GB, free: 13.79 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001179/0.4071, allocations: 0.8854 MB / 0.5067 GB, free: 12.89 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001341/0.4073, allocations: 305.1 kB / 0.507 GB, free: 12.59 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002242/0.4095, allocations: 1.406 MB / 0.5084 GB, free: 11.18 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004673/0.4142, allocations: 4.238 MB / 0.5125 GB, free: 5.508 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007812/0.422, allocations: 6.125 MB / 0.5185 GB, free: 13.97 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.252e-05/0.4221, allocations: 28 kB / 0.5185 GB, free: 13.94 MB / 446.1 MB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01161/0.4337, allocations: 6.085 MB / 0.5245 GB, free: 7.852 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.73e-05/0.4337, allocations: 52.94 kB / 0.5245 GB, free: 7.801 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001121/0.4339, allocations: 100 kB / 0.5246 GB, free: 7.703 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002482/0.4363, allocations: 0.804 MB / 0.5254 GB, free: 6.898 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002968/0.4393, allocations: 0.9863 MB / 0.5264 GB, free: 5.91 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006338/0.4456, allocations: 4.345 MB / 0.5306 GB, free: 1.453 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003169/0.4488, allocations: 243.6 kB / 0.5309 GB, free: 1.215 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005776/0.4494, allocations: 280 kB / 0.5311 GB, free: 0.9414 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.002293/0.4517, allocations: 1.364 MB / 0.5325 GB, free: 15.56 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004968/0.4522, allocations: 250.4 kB / 0.5327 GB, free: 15.31 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004105/0.4563, allocations: 1.845 MB / 0.5345 GB, free: 13.45 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.618e-05/0.4563, allocations: 12 kB / 0.5345 GB, free: 13.44 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.122e-05/0.4563, allocations: 4 kB / 0.5345 GB, free: 13.44 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.069e-05/0.4563, allocations: 3.984 kB / 0.5345 GB, free: 13.43 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009818/0.4661, allocations: 4.509 MB / 0.5389 GB, free: 8.859 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-05/0.4662, allocations: 0 / 0.5389 GB, free: 8.859 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006635/0.4668, allocations: 139.8 kB / 0.5391 GB, free: 8.723 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002121/0.4689, allocations: 0.6405 MB / 0.5397 GB, free: 8.078 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001034/0.469, allocations: 27.91 kB / 0.5397 GB, free: 8.051 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005614/0.4747, allocations: 3.818 MB / 0.5434 GB, free: 4.117 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.029e-06/0.4747, allocations: 4 kB / 0.5434 GB, free: 4.113 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006679/0.4813, allocations: 3.698 MB / 0.547 GB, free: 396 kB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008131/0.4822, allocations: 222.3 kB / 0.5473 GB, free: 172 kB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002608/0.4824, allocations: 23.92 kB / 0.5473 GB, free: 148 kB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009075/0.4833, allocations: 59.92 kB / 0.5473 GB, free: 88 kB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001839/0.4835, allocations: 55.89 kB / 0.5474 GB, free: 32 kB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.2099/0.6934, allocations: 32.95 kB / 0.5474 GB, free: 114.2 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003635/0.697, allocations: 1.753 MB / 0.5491 GB, free: 114.1 MB / 462.1 MB Notification: Performance of sort global known variables: time 2e-07/0.697, allocations: 0 / 0.5491 GB, free: 114.1 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003721/0.7007, allocations: 0.632 MB / 0.5498 GB, free: 114.1 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.006882/0.7076, allocations: 4.32 MB / 0.554 GB, free: 112.4 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006662/0.7143, allocations: 3.291 MB / 0.5572 GB, free: 111.3 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 8.506e-06/0.7143, allocations: 0 / 0.5572 GB, free: 111.3 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001184/0.7155, allocations: 0.8667 MB / 0.558 GB, free: 111 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002231/0.7177, allocations: 256 kB / 0.5583 GB, free: 110.9 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04098/0.7587, allocations: 30.22 MB / 0.5878 GB, free: 81.42 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00159/0.7603, allocations: 1.609 MB / 0.5894 GB, free: 79.79 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002572/0.7628, allocations: 1.4 MB / 0.5907 GB, free: 78.38 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001186/0.764, allocations: 1.05 MB / 0.5918 GB, free: 77.33 MB / 462.1 MB Notification: Performance of SimCode: time 1.633e-06/0.764, allocations: 7.281 kB / 0.5918 GB, free: 77.32 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1608/0.9249, allocations: 41.73 MB / 0.6325 GB, free: 36.07 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 16.38/17.31, allocations: 15.48 kB / 0.6325 GB, free: 36.05 MB / 462.1 MB " [Timeout remaining time 643] (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: 20.57605764688924]