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.001177/0.001177, allocations: 87.62 kB / 21.43 MB, free: 3.133 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.004533/0.004533, allocations: 162 kB / 24.69 MB, free: 8.891 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.8104/0.8104, 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.403e-06/1.403e-06, allocations: 0 / 298.4 MB, free: 3.504 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.609e-05/1.749e-05, allocations: 2.281 kB / 298.4 MB, free: 3.5 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum): time 0.1272/0.1272, allocations: 6.352 MB / 304.8 MB, free: 12.47 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003844/0.1311, allocations: 2.987 MB / 307.8 MB, free: 10.94 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004646/0.1315, allocations: 35.97 kB / 307.8 MB, free: 10.93 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001157/0.1327, allocations: 0.8121 MB / 308.6 MB, free: 10.59 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001876/0.1346, allocations: 1.398 MB / 310 MB, free: 9.984 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007215/0.1353, allocations: 0.532 MB / 310.6 MB, free: 9.789 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.002272/0.1376, allocations: 2.858 MB / 313.4 MB, free: 8.789 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001158/0.1387, allocations: 1.347 MB / 314.8 MB, free: 8.238 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009813/0.1397, allocations: 1.203 MB / 316 MB, free: 7.766 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001081/0.1408, allocations: 1.303 MB / 317.3 MB, free: 7.211 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001541/0.1409, allocations: 137.9 kB / 317.4 MB, free: 7.211 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009568/0.1419, allocations: 0.8216 MB / 318.2 MB, free: 6.859 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006418/0.1425, allocations: 1.075 MB / 319.3 MB, free: 6.242 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004776/0.143, allocations: 0.6481 MB / 320 MB, free: 5.887 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002616/0.1456, allocations: 4.005 MB / 324 MB, free: 3.262 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.1456, allocations: 7.938 kB / 324 MB, free: 3.254 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1456, allocations: 0 / 324 MB, free: 3.254 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.59e-05/0.1457, allocations: 0 / 324 MB, free: 3.254 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.003099/0.1487, allocations: 2.932 MB / 326.9 MB, free: 1.152 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.998e-05/0.1488, allocations: 13.92 kB / 326.9 MB, free: 1.148 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002873/0.1491, allocations: 446.6 kB / 327.4 MB, free: 0.8398 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003191/0.1523, allocations: 1.748 MB / 329.1 MB, free: 15.95 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001536/0.1538, allocations: 1.481 MB / 330.6 MB, free: 14.45 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.179e-05/0.1539, allocations: 115.4 kB / 330.7 MB, free: 14.34 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002189/0.1541, allocations: 151.8 kB / 330.8 MB, free: 14.19 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005367/0.1595, allocations: 6.374 MB / 337.2 MB, free: 7.285 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.505e-05/0.1595, allocations: 39.69 kB / 337.3 MB, free: 7.246 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001597/0.1597, allocations: 79.89 kB / 337.3 MB, free: 7.168 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001301/0.161, allocations: 1.437 MB / 338.8 MB, free: 5.73 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005782/0.1667, allocations: 5.679 MB / 344.4 MB, free: 48 kB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01776/0.1845, allocations: 25.47 MB / 369.9 MB, free: 5.75 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002347/0.1868, allocations: 1.779 MB / 371.7 MB, free: 3.938 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008108/0.1877, allocations: 0.9481 MB / 372.6 MB, free: 2.977 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.76e-05/0.1877, allocations: 8 kB / 372.7 MB, free: 2.969 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.488e-05/0.1877, allocations: 46.72 kB / 372.7 MB, free: 2.914 MB / 330.7 MB Notification: Performance of pre-optimization done (n=98): time 2.755e-06/0.1877, allocations: 0 / 372.7 MB, free: 2.914 MB / 330.7 MB Notification: Performance of matching and sorting (n=106): time 0.01267/0.2004, allocations: 8.901 MB / 381.6 MB, free: 9.941 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.592e-05/0.2004, allocations: 136.5 kB / 381.7 MB, free: 9.777 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002917/0.2034, allocations: 3.214 MB / 384.9 MB, free: 6.547 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.199e-05/0.2034, allocations: 37.7 kB / 385 MB, free: 6.504 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008633/0.2043, allocations: 2.135 MB / 387.1 MB, free: 4.348 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002501/0.2045, allocations: 452.6 kB / 387.6 MB, free: 3.902 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007195/0.2052, allocations: 0.8775 MB / 388.4 MB, free: 3.012 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.434e-05/0.2053, allocations: 301.1 kB / 388.7 MB, free: 2.715 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001337/0.2066, allocations: 1.414 MB / 390.1 MB, free: 1.293 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002786/0.2094, allocations: 4.249 MB / 394.4 MB, free: 11.61 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004242/0.2137, allocations: 6.135 MB / 400.5 MB, free: 4.059 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.307e-05/0.2137, allocations: 28 kB / 400.6 MB, free: 4.031 MB / 362.7 MB Notification: Performance of matching and sorting (n=569) (initialization): time 0.006365/0.2201, allocations: 6.118 MB / 406.7 MB, free: 13.91 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.452e-05/0.2201, allocations: 48 kB / 406.7 MB, free: 13.86 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.536e-05/0.2202, allocations: 100.9 kB / 406.8 MB, free: 13.77 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00125/0.2214, allocations: 0.7934 MB / 407.6 MB, free: 12.97 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0015/0.2229, allocations: 0.9981 MB / 408.6 MB, free: 11.97 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003966/0.2269, allocations: 4.345 MB / 413 MB, free: 7.52 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0018/0.2287, allocations: 307.5 kB / 413.3 MB, free: 7.219 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002213/0.2289, allocations: 280.4 kB / 413.5 MB, free: 6.945 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.001417/0.2303, allocations: 1.368 MB / 414.9 MB, free: 5.562 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002254/0.2305, allocations: 242.4 kB / 415.1 MB, free: 5.324 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002151/0.2327, allocations: 1.851 MB / 417 MB, free: 3.457 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.435e-05/0.2327, allocations: 19.88 kB / 417 MB, free: 3.438 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.246e-06/0.2327, allocations: 4 kB / 417 MB, free: 3.434 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.488e-06/0.2327, allocations: 7.984 kB / 417 MB, free: 3.426 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005468/0.2382, allocations: 4.588 MB / 421.6 MB, free: 14.78 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.813e-06/0.2382, allocations: 7.984 kB / 421.6 MB, free: 14.77 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003117/0.2385, allocations: 135.8 kB / 421.7 MB, free: 14.64 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001076/0.2396, allocations: 0.6483 MB / 422.4 MB, free: 13.98 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.56e-05/0.2396, allocations: 12 kB / 422.4 MB, free: 13.97 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003481/0.2431, allocations: 3.842 MB / 426.3 MB, free: 10.01 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.2431, allocations: 4.031 kB / 426.3 MB, free: 10.01 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00346/0.2466, allocations: 3.699 MB / 430 MB, free: 6.277 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006332/0.2472, allocations: 402.1 kB / 430.3 MB, free: 5.883 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001424/0.2474, allocations: 16 kB / 430.4 MB, free: 5.867 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005847/0.2479, allocations: 109.9 kB / 430.5 MB, free: 5.762 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000104/0.248, allocations: 56.11 kB / 430.5 MB, free: 5.707 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.763e-05/0.2481, allocations: 36.11 kB / 430.6 MB, free: 5.672 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002187/0.2503, allocations: 1.922 MB / 432.5 MB, free: 3.742 MB / 394.7 MB Notification: Performance of sort global known variables: time 1e-07/0.2503, allocations: 7.875 kB / 432.5 MB, free: 3.734 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002325/0.2526, allocations: 0.7343 MB / 433.2 MB, free: 3 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.004122/0.2567, allocations: 4.34 MB / 437.6 MB, free: 14.62 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003884/0.2606, allocations: 3.292 MB / 440.9 MB, free: 11.34 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.2606, allocations: 4.062 kB / 440.9 MB, free: 11.33 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007523/0.2614, allocations: 0.8707 MB / 441.7 MB, free: 10.45 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001017/0.2624, allocations: 269.3 kB / 442 MB, free: 10.18 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1626/0.4249, allocations: 30.79 MB / 472.8 MB, free: 135.9 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001813/0.4268, allocations: 1.628 MB / 474.4 MB, free: 135.5 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.00234/0.4291, allocations: 1.406 MB / 475.8 MB, free: 135.5 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008597/0.43, allocations: 1.064 MB / 476.9 MB, free: 134.6 MB / 426.7 MB Notification: Performance of SimCode: time 1.403e-06/0.43, allocations: 0 / 476.9 MB, free: 134.6 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04892/0.4789, allocations: 43.79 MB / 0.5085 GB, free: 100.6 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.784/9.263, allocations: 4.062 kB / 0.5085 GB, free: 100.6 MB / 426.7 MB " [Timeout remaining time 651] (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 & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0009996 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.csv","/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: 10.91845165938139]