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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001289/0.001289, allocations: 121.4 kB / 18.45 MB, free: 4.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001255/0.001255, allocations: 189.2 kB / 21.39 MB, free: 1.52 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.335/1.335, allocations: 207.6 MB / 231.8 MB, free: 4.211 MB / 174.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00162/0.00162, allocations: 63.91 kB / 342.3 MB, free: 10.03 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08519/0.08681, allocations: 49.11 MB / 391.4 MB, free: 8.758 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum): time 0.008514/0.09533, allocations: 7.159 MB / 398.5 MB, free: 1.57 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005912/0.1012, allocations: 3.189 MB / 401.7 MB, free: 14.37 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006817/0.1019, allocations: 31.94 kB / 401.8 MB, free: 14.34 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001672/0.1036, allocations: 0.8015 MB / 402.6 MB, free: 13.54 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002811/0.1064, allocations: 1.339 MB / 403.9 MB, free: 12.19 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001083/0.1075, allocations: 0.4911 MB / 404.4 MB, free: 11.7 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003184/0.1107, allocations: 2.547 MB / 406.9 MB, free: 9.145 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001308/0.112, allocations: 1.032 MB / 408 MB, free: 8.09 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009876/0.113, allocations: 0.7628 MB / 408.7 MB, free: 7.324 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001435/0.1144, allocations: 1.222 MB / 409.9 MB, free: 6.098 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002571/0.1147, allocations: 136 kB / 410.1 MB, free: 5.965 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001513/0.1162, allocations: 0.9047 MB / 411 MB, free: 5.059 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00101/0.1172, allocations: 1.028 MB / 412 MB, free: 4.027 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001137/0.1183, allocations: 1.195 MB / 413.2 MB, free: 2.824 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004472/0.1228, allocations: 3.995 MB / 417.2 MB, free: 14.81 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.1228, allocations: 0 / 417.2 MB, free: 14.81 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1228, allocations: 0 / 417.2 MB, free: 14.81 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.639e-05/0.1229, allocations: 0 / 417.2 MB, free: 14.81 MB / 350.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.005545/0.1284, allocations: 2.994 MB / 420.2 MB, free: 11.75 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.906e-05/0.1285, allocations: 8.031 kB / 420.2 MB, free: 11.75 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005219/0.129, allocations: 450 kB / 420.6 MB, free: 11.3 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005677/0.1347, allocations: 1.668 MB / 422.3 MB, free: 9.625 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003949/0.1386, allocations: 1.789 MB / 424.1 MB, free: 7.793 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001116/0.1387, allocations: 118.9 kB / 424.2 MB, free: 7.676 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003247/0.139, allocations: 155.8 kB / 424.4 MB, free: 7.523 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009042/0.1481, allocations: 6.367 MB / 430.7 MB, free: 0.625 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.106e-05/0.1481, allocations: 27.75 kB / 430.8 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002085/0.1484, allocations: 79.89 kB / 430.8 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00235/0.1507, allocations: 1.437 MB / 432.3 MB, free: 15.09 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009354/0.1601, allocations: 5.67 MB / 437.9 MB, free: 9.414 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.201/0.361, allocations: 26.26 MB / 464.2 MB, free: 57.38 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003864/0.3649, allocations: 2.192 MB / 466.4 MB, free: 56.71 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001141/0.366, allocations: 0.9424 MB / 467.3 MB, free: 56.68 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.382e-05/0.3661, allocations: 11.8 kB / 467.4 MB, free: 56.68 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.287e-05/0.3661, allocations: 50.86 kB / 467.4 MB, free: 56.64 MB / 382.1 MB Notification: Performance of pre-optimization done (n=98): time 2.825e-06/0.3661, allocations: 0 / 467.4 MB, free: 56.64 MB / 382.1 MB Notification: Performance of matching and sorting (n=106): time 0.01973/0.3858, allocations: 8.768 MB / 476.2 MB, free: 54.54 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.397e-05/0.3859, allocations: 143.8 kB / 476.3 MB, free: 54.38 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003227/0.3891, allocations: 2.848 MB / 479.2 MB, free: 53.39 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.932e-05/0.3892, allocations: 37.67 kB / 479.2 MB, free: 53.35 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008534/0.39, allocations: 2.178 MB / 481.4 MB, free: 51.82 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002633/0.3903, allocations: 454 kB / 481.8 MB, free: 51.51 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007551/0.3911, allocations: 0.8865 MB / 482.7 MB, free: 51.07 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.204e-05/0.3911, allocations: 309.1 kB / 483 MB, free: 50.77 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001529/0.3926, allocations: 1.404 MB / 484.4 MB, free: 50.34 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002365/0.395, allocations: 4.232 MB / 488.6 MB, free: 46.12 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004144/0.3991, allocations: 6.123 MB / 494.8 MB, free: 40.55 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-05/0.3992, allocations: 35.66 kB / 494.8 MB, free: 40.55 MB / 382.1 MB Notification: Performance of matching and sorting (n=569) (initialization): time 0.007557/0.4067, allocations: 6.088 MB / 0.4892 GB, free: 34.97 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.813e-05/0.4068, allocations: 48 kB / 0.4892 GB, free: 34.93 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.581e-05/0.4068, allocations: 100 kB / 0.4893 GB, free: 34.83 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001768/0.4086, allocations: 0.7972 MB / 0.4901 GB, free: 34.03 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00209/0.4107, allocations: 0.9845 MB / 0.491 GB, free: 33.04 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004077/0.4148, allocations: 4.479 MB / 0.4954 GB, free: 28.43 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002508/0.4173, allocations: 251.6 kB / 0.4956 GB, free: 28.19 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002236/0.4175, allocations: 280 kB / 0.4959 GB, free: 27.91 MB / 382.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.00136/0.4189, allocations: 1.369 MB / 0.4973 GB, free: 26.54 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002772/0.4191, allocations: 242.4 kB / 0.4975 GB, free: 26.3 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002858/0.422, allocations: 1.853 MB / 0.4993 GB, free: 24.43 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.371e-05/0.422, allocations: 16 kB / 0.4993 GB, free: 24.42 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.784e-06/0.422, allocations: 4 kB / 0.4993 GB, free: 24.41 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.615e-06/0.422, allocations: 4.969 kB / 0.4993 GB, free: 24.41 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00676/0.4288, allocations: 4.788 MB / 0.504 GB, free: 19.57 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.492e-06/0.4288, allocations: 3.938 kB / 0.504 GB, free: 19.56 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005132/0.4293, allocations: 135.8 kB / 0.5041 GB, free: 19.43 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001612/0.4309, allocations: 0.6465 MB / 0.5048 GB, free: 18.78 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.917e-05/0.431, allocations: 19.98 kB / 0.5048 GB, free: 18.76 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003555/0.4345, allocations: 3.957 MB / 0.5086 GB, free: 14.67 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.4345, allocations: 4.031 kB / 0.5086 GB, free: 14.66 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004231/0.4388, allocations: 3.698 MB / 0.5123 GB, free: 10.94 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009103/0.4397, allocations: 447.2 kB / 0.5127 GB, free: 10.48 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000224/0.4399, allocations: 20 kB / 0.5127 GB, free: 10.46 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007616/0.4407, allocations: 67.11 kB / 0.5128 GB, free: 10.4 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001199/0.4408, allocations: 51.98 kB / 0.5128 GB, free: 10.35 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.153e-05/0.4409, allocations: 35.94 kB / 0.5128 GB, free: 10.31 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001911/0.4428, allocations: 1.77 MB / 0.5146 GB, free: 8.535 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4428, allocations: 0 / 0.5146 GB, free: 8.535 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002808/0.4456, allocations: 0.6406 MB / 0.5152 GB, free: 7.895 MB / 382.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.00451/0.4501, allocations: 4.317 MB / 0.5194 GB, free: 3.543 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004115/0.4542, allocations: 3.285 MB / 0.5226 GB, free: 276 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.479e-06/0.4542, allocations: 4 kB / 0.5226 GB, free: 272 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001087/0.4553, allocations: 0.8614 MB / 0.5235 GB, free: 15.39 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001464/0.4567, allocations: 268.2 kB / 0.5237 GB, free: 15.14 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0412/0.4979, allocations: 30.29 MB / 0.5533 GB, free: 13.02 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002182/0.5001, allocations: 2.189 MB / 0.5554 GB, free: 10.79 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.002787/0.5029, allocations: 1.403 MB / 0.5568 GB, free: 9.383 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001276/0.5042, allocations: 1.058 MB / 0.5578 GB, free: 8.324 MB / 430.1 MB Notification: Performance of SimCode: time 1.082e-06/0.5042, allocations: 0 / 0.5578 GB, free: 8.324 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.316/2.821, allocations: 42.1 MB / 0.599 GB, free: 14.16 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 19.41/22.23, allocations: 4 kB / 0.599 GB, free: 14.16 MB / 478.1 MB " [Timeout remaining time 638] (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_2/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_2/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: 24.897629889193922]