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.004815/0.004815, allocations: 114 kB / 21.97 MB, free: 5.23 MB / 14.72 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.001327/0.001327, allocations: 207.5 kB / 25.27 MB, free: 3.246 MB / 14.72 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 1.272/1.272, allocations: 207.6 MB / 236 MB, free: 9.984 MB / 190.1 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_Pendulum",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001613/0.001613, allocations: 51.92 kB / 348 MB, free: 10.11 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2338/0.2354, allocations: 49.16 MB / 397.1 MB, free: 8.961 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum): time 0.006711/0.2421, allocations: 7.183 MB / 404.3 MB, free: 3.949 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004962/0.247, allocations: 3.198 MB / 407.5 MB, free: 1.867 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007076/0.2478, allocations: 43.06 kB / 407.6 MB, free: 1.852 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00147/0.2492, allocations: 0.8067 MB / 408.4 MB, free: 1.5 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002453/0.2517, allocations: 1.345 MB / 409.7 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008938/0.2526, allocations: 0.4931 MB / 410.2 MB, free: 0.75 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002732/0.2553, allocations: 2.547 MB / 412.8 MB, free: 15.56 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001267/0.2566, allocations: 1.1 MB / 413.9 MB, free: 14.77 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001003/0.2576, allocations: 0.7749 MB / 414.6 MB, free: 14.34 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001487/0.2591, allocations: 1.224 MB / 415.9 MB, free: 13.62 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002912/0.2594, allocations: 135 kB / 416 MB, free: 13.62 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001686/0.261, allocations: 0.9025 MB / 416.9 MB, free: 13.2 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009982/0.262, allocations: 1.033 MB / 417.9 MB, free: 12.62 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00133/0.2634, allocations: 1.202 MB / 419.1 MB, free: 11.7 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00505/0.2684, allocations: 3.995 MB / 423.1 MB, free: 9.012 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.2684, allocations: 4 kB / 423.1 MB, free: 9.008 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.2684, allocations: 0 / 423.1 MB, free: 9.008 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.386e-05/0.2685, allocations: 0 / 423.1 MB, free: 9.008 MB / 334.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.005643/0.2741, allocations: 2.911 MB / 426 MB, free: 6.312 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.5e-05/0.2742, allocations: 15.98 kB / 426 MB, free: 6.297 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.729e-05/0.2743, allocations: 55.16 kB / 426.1 MB, free: 6.242 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006379/0.2749, allocations: 454 kB / 426.5 MB, free: 5.789 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005957/0.2808, allocations: 1.668 MB / 428.2 MB, free: 4.117 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003456/0.2843, allocations: 1.734 MB / 429.9 MB, free: 2.348 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000103/0.2844, allocations: 114.9 kB / 430.1 MB, free: 2.234 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000335/0.2847, allocations: 155.8 kB / 430.2 MB, free: 2.082 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01001/0.2947, allocations: 6.367 MB / 436.6 MB, free: 11.19 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.952e-05/0.2948, allocations: 31.73 kB / 436.6 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002529/0.2951, allocations: 79.89 kB / 436.7 MB, free: 11.08 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002579/0.2977, allocations: 1.429 MB / 438.1 MB, free: 9.656 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01018/0.3078, allocations: 5.669 MB / 443.8 MB, free: 3.984 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03002/0.3378, allocations: 26.16 MB / 469.9 MB, free: 8.992 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004053/0.3419, allocations: 1.74 MB / 471.7 MB, free: 7.215 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001276/0.3432, allocations: 0.952 MB / 472.6 MB, free: 6.25 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.125e-05/0.3432, allocations: 7.984 kB / 472.6 MB, free: 6.242 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.792e-05/0.3433, allocations: 46.5 kB / 472.7 MB, free: 6.188 MB / 382.1 MB Notification: Performance of pre-optimization done (n=98): time 3.086e-06/0.3433, allocations: 4 kB / 472.7 MB, free: 6.184 MB / 382.1 MB Notification: Performance of matching and sorting (n=106): time 0.02058/0.3638, allocations: 8.542 MB / 481.2 MB, free: 13.56 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001076/0.3639, allocations: 144.5 kB / 481.4 MB, free: 13.39 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00417/0.3681, allocations: 2.852 MB / 484.2 MB, free: 10.52 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001901/0.3683, allocations: 41.7 kB / 484.3 MB, free: 10.47 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001618/0.3699, allocations: 2.166 MB / 486.4 MB, free: 8.285 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004947/0.3704, allocations: 456.6 kB / 486.9 MB, free: 7.836 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001109/0.3715, allocations: 0.8854 MB / 487.8 MB, free: 6.938 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000118/0.3716, allocations: 301.1 kB / 488.1 MB, free: 6.641 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002089/0.3737, allocations: 1.41 MB / 489.5 MB, free: 5.223 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004334/0.3781, allocations: 4.238 MB / 493.7 MB, free: 15.55 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007106/0.3852, allocations: 6.119 MB / 499.8 MB, free: 8.023 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.23e-05/0.3852, allocations: 28 kB / 499.9 MB, free: 7.996 MB / 414.1 MB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01075/0.396, allocations: 6.086 MB / 0.4941 GB, free: 1.902 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.211e-05/0.396, allocations: 51.94 kB / 0.4941 GB, free: 1.852 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001059/0.3962, allocations: 100 kB / 0.4942 GB, free: 1.754 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002207/0.3984, allocations: 0.8011 MB / 0.495 GB, free: 0.9492 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002673/0.401, allocations: 0.9787 MB / 0.496 GB, free: 15.96 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005843/0.4069, allocations: 4.377 MB / 0.5002 GB, free: 11.47 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002783/0.4097, allocations: 247.6 kB / 0.5005 GB, free: 11.23 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003481/0.41, allocations: 280 kB / 0.5007 GB, free: 10.96 MB / 430.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.001944/0.412, allocations: 1.368 MB / 0.5021 GB, free: 9.574 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003578/0.4123, allocations: 250.3 kB / 0.5023 GB, free: 9.328 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003725/0.416, allocations: 1.838 MB / 0.5041 GB, free: 7.473 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.159e-05/0.4161, allocations: 19.98 kB / 0.5041 GB, free: 7.453 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.4161, allocations: 4 kB / 0.5041 GB, free: 7.449 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.149e-05/0.4161, allocations: 7.984 kB / 0.5041 GB, free: 7.441 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008164/0.4242, allocations: 4.763 MB / 0.5088 GB, free: 2.605 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/0.4242, allocations: 0 / 0.5088 GB, free: 2.605 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005622/0.4248, allocations: 135.8 kB / 0.5089 GB, free: 2.473 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001935/0.4267, allocations: 0.6483 MB / 0.5096 GB, free: 1.82 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.114e-05/0.4268, allocations: 23.94 kB / 0.5096 GB, free: 1.797 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00494/0.4317, allocations: 3.845 MB / 0.5133 GB, free: 13.84 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/0.4318, allocations: 11.95 kB / 0.5133 GB, free: 13.83 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005591/0.4373, allocations: 3.695 MB / 0.517 GB, free: 10.1 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008232/0.4382, allocations: 378 kB / 0.5173 GB, free: 9.73 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002248/0.4384, allocations: 23.94 kB / 0.5173 GB, free: 9.707 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008182/0.4392, allocations: 59.91 kB / 0.5174 GB, free: 9.648 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001509/0.4394, allocations: 67.89 kB / 0.5175 GB, free: 9.582 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.222e-05/0.4394, allocations: 24 kB / 0.5175 GB, free: 9.559 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002441/0.4419, allocations: 1.774 MB / 0.5192 GB, free: 7.777 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4419, allocations: 0 / 0.5192 GB, free: 7.777 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002818/0.4447, allocations: 0.6367 MB / 0.5198 GB, free: 7.141 MB / 446.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.006062/0.4508, allocations: 4.32 MB / 0.5241 GB, free: 2.785 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004858/0.4556, allocations: 3.288 MB / 0.5273 GB, free: 15.5 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.558e-06/0.4556, allocations: 4 kB / 0.5273 GB, free: 15.5 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001166/0.4568, allocations: 0.8623 MB / 0.5281 GB, free: 14.62 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001357/0.4581, allocations: 253.7 kB / 0.5284 GB, free: 14.38 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1937/0.6518, allocations: 30.33 MB / 0.558 GB, free: 148.8 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00193/0.6538, allocations: 2.196 MB / 0.5601 GB, free: 148 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.002817/0.6566, allocations: 1.399 MB / 0.5615 GB, free: 148 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001068/0.6576, allocations: 1.053 MB / 0.5625 GB, free: 147.8 MB / 478.1 MB Notification: Performance of SimCode: time 1.002e-06/0.6576, allocations: 0 / 0.5625 GB, free: 147.8 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06988/0.7275, allocations: 45.7 MB / 0.6071 GB, free: 113.6 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 18.46/19.19, allocations: 7.844 kB / 0.6072 GB, free: 113.6 MB / 478.1 MB " [Timeout remaining time 641] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/Pendulum/Pendulum.csv","/var/lib/jenkins1/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: 21.864719103032257]