Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009674/0.0009674, allocations: 83.64 kB / 21.43 MB, free: 3.137 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.004398/0.004398, allocations: 164 kB / 24.7 MB, free: 9.414 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8263/0.8263, allocations: 158.6 MB / 186.5 MB, free: 3.031 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_Pendulum",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_Pendulum",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 298.4 MB, free: 3.512 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.055e-05/1.198e-05, allocations: 2.281 kB / 298.4 MB, free: 3.508 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum): time 0.1278/0.1278, allocations: 6.357 MB / 304.8 MB, free: 12.45 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.004312/0.1321, allocations: 2.988 MB / 307.8 MB, free: 10.92 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005819/0.1327, allocations: 39.19 kB / 307.8 MB, free: 10.91 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001287/0.134, allocations: 0.8043 MB / 308.6 MB, free: 10.57 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001864/0.1358, allocations: 1.398 MB / 310 MB, free: 9.969 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007469/0.1366, allocations: 0.5335 MB / 310.6 MB, free: 9.77 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.002246/0.1388, allocations: 2.863 MB / 313.4 MB, free: 8.77 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001227/0.1401, allocations: 1.341 MB / 314.8 MB, free: 8.223 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001013/0.1411, allocations: 1.204 MB / 316 MB, free: 7.75 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001036/0.1421, allocations: 1.301 MB / 317.3 MB, free: 7.195 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001756/0.1423, allocations: 138.3 kB / 317.4 MB, free: 7.195 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007932/0.1431, allocations: 0.8258 MB / 318.2 MB, free: 6.84 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005168/0.1436, allocations: 1.075 MB / 319.3 MB, free: 6.223 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004809/0.1441, allocations: 0.6515 MB / 320 MB, free: 5.863 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002206/0.1463, allocations: 3.997 MB / 324 MB, free: 3.246 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.327e-06/0.1463, allocations: 4 kB / 324 MB, free: 3.242 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1463, allocations: 0 / 324 MB, free: 3.242 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.162e-05/0.1463, allocations: 0 / 324 MB, free: 3.242 MB / 282.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.002996/0.1493, allocations: 2.937 MB / 326.9 MB, free: 1.137 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.1494, allocations: 12.89 kB / 326.9 MB, free: 1.133 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002904/0.1496, allocations: 452.8 kB / 327.4 MB, free: 0.8203 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003176/0.1528, allocations: 1.743 MB / 329.1 MB, free: 15.93 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001628/0.1545, allocations: 1.483 MB / 330.6 MB, free: 14.44 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.833e-05/0.1545, allocations: 115.4 kB / 330.7 MB, free: 14.32 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002196/0.1547, allocations: 159.8 kB / 330.8 MB, free: 14.17 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005498/0.1602, allocations: 6.374 MB / 337.2 MB, free: 7.266 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.861e-05/0.1603, allocations: 35.7 kB / 337.3 MB, free: 7.23 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001751/0.1605, allocations: 79.89 kB / 337.3 MB, free: 7.152 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001378/0.1618, allocations: 1.433 MB / 338.8 MB, free: 5.719 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006613/0.1685, allocations: 5.674 MB / 344.4 MB, free: 40 kB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01665/0.1851, allocations: 25.47 MB / 369.9 MB, free: 5.742 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00251/0.1876, allocations: 1.788 MB / 371.7 MB, free: 3.922 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008208/0.1884, allocations: 0.9442 MB / 372.6 MB, free: 2.965 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.189e-05/0.1885, allocations: 8 kB / 372.7 MB, free: 2.957 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.148e-05/0.1885, allocations: 46.5 kB / 372.7 MB, free: 2.902 MB / 330.7 MB Notification: Performance of pre-optimization done (n=98): time 3.186e-06/0.1885, allocations: 4 kB / 372.7 MB, free: 2.898 MB / 330.7 MB Notification: Performance of matching and sorting (n=106): time 0.01293/0.2014, allocations: 8.898 MB / 381.6 MB, free: 9.93 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.717e-05/0.2015, allocations: 140.5 kB / 381.7 MB, free: 9.762 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002819/0.2043, allocations: 3.214 MB / 385 MB, free: 6.531 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.879e-05/0.2044, allocations: 37.7 kB / 385 MB, free: 6.488 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001035/0.2054, allocations: 2.135 MB / 387.1 MB, free: 4.332 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002601/0.2057, allocations: 452.6 kB / 387.6 MB, free: 3.887 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007097/0.2064, allocations: 0.8736 MB / 388.4 MB, free: 3 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.014e-05/0.2065, allocations: 301.1 kB / 388.7 MB, free: 2.703 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001331/0.2078, allocations: 1.418 MB / 390.2 MB, free: 1.277 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002607/0.2104, allocations: 4.249 MB / 394.4 MB, free: 11.6 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004289/0.2147, allocations: 6.132 MB / 400.5 MB, free: 4.047 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.719e-05/0.2147, allocations: 28 kB / 400.6 MB, free: 4.02 MB / 362.7 MB Notification: Performance of matching and sorting (n=569) (initialization): time 0.006318/0.221, allocations: 6.115 MB / 406.7 MB, free: 13.9 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.394e-05/0.2211, allocations: 48 kB / 406.7 MB, free: 13.85 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.512e-05/0.2211, allocations: 103.9 kB / 406.8 MB, free: 13.75 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001228/0.2224, allocations: 0.7935 MB / 407.6 MB, free: 12.95 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001463/0.2238, allocations: 0.9942 MB / 408.6 MB, free: 11.96 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003878/0.2277, allocations: 4.345 MB / 413 MB, free: 7.508 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001953/0.2296, allocations: 311.8 kB / 413.3 MB, free: 7.207 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002365/0.2299, allocations: 280 kB / 413.5 MB, free: 6.934 MB / 378.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.001522/0.2314, allocations: 1.368 MB / 414.9 MB, free: 5.551 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002145/0.2316, allocations: 246.4 kB / 415.1 MB, free: 5.309 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002153/0.2338, allocations: 1.847 MB / 417 MB, free: 3.445 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.338e-05/0.2338, allocations: 16 kB / 417 MB, free: 3.43 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.2338, allocations: 0 / 417 MB, free: 3.43 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/0.2338, allocations: 11.98 kB / 417 MB, free: 3.418 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005096/0.2389, allocations: 4.596 MB / 421.6 MB, free: 14.76 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.2389, allocations: 0 / 421.6 MB, free: 14.76 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000315/0.2392, allocations: 139.8 kB / 421.7 MB, free: 14.62 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001056/0.2403, allocations: 0.6444 MB / 422.4 MB, free: 13.97 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.362e-05/0.2403, allocations: 20 kB / 422.4 MB, free: 13.95 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003181/0.2435, allocations: 3.846 MB / 426.3 MB, free: 9.988 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.2435, allocations: 0 / 426.3 MB, free: 9.988 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003341/0.2468, allocations: 3.687 MB / 429.9 MB, free: 6.27 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004662/0.2473, allocations: 402.1 kB / 430.3 MB, free: 5.875 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001312/0.2474, allocations: 23.91 kB / 430.4 MB, free: 5.855 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000572/0.248, allocations: 102 kB / 430.5 MB, free: 5.758 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.936e-05/0.2481, allocations: 67.77 kB / 430.5 MB, free: 5.691 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.453e-05/0.2481, allocations: 32.05 kB / 430.6 MB, free: 5.66 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.00174/0.2499, allocations: 1.926 MB / 432.5 MB, free: 3.727 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.41e-07/0.2499, allocations: 0 / 432.5 MB, free: 3.727 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002191/0.2521, allocations: 0.7382 MB / 433.2 MB, free: 2.988 MB / 394.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.003974/0.2561, allocations: 4.34 MB / 437.6 MB, free: 14.61 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003249/0.2593, allocations: 3.292 MB / 440.9 MB, free: 11.32 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.2593, allocations: 0 / 440.9 MB, free: 11.32 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007194/0.26, allocations: 0.8746 MB / 441.7 MB, free: 10.44 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009758/0.261, allocations: 273.3 kB / 442 MB, free: 10.17 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1861/0.4471, allocations: 30.79 MB / 472.8 MB, free: 135.8 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001845/0.449, allocations: 1.627 MB / 474.4 MB, free: 135.4 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002955/0.4519, allocations: 1.407 MB / 475.8 MB, free: 135.3 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001136/0.4531, allocations: 1.063 MB / 476.9 MB, free: 134.5 MB / 426.7 MB Notification: Performance of SimCode: time 3.537e-06/0.4531, allocations: 1.062 kB / 476.9 MB, free: 134.5 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06418/0.5172, allocations: 43.79 MB / 0.5085 GB, free: 100.5 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.113/9.63, allocations: 0 / 0.5085 GB, free: 100.5 MB / 426.7 MB " [Timeout remaining time 650] (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_Pendulum_fmu --startTime=0 --stopTime=5 --stepSize=0.0009996 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_Pendulum.fmu > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/Pendulum/Pendulum.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.321445022709668]