Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001264/0.001264, allocations: 107.1 kB / 20.44 MB, free: 1.172 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.001355/0.001355, allocations: 207.4 kB / 23.73 MB, free: 4.379 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.38/1.38, allocations: 230.6 MB / 257.5 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4_1_0_Modelica_Mechanics_MultiBody_Examples_Elementary_Pendulum",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Elementary_Pendulum",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001568/0.001568, allocations: 47.92 kB / 377.7 MB, free: 2.977 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3173/0.3188, allocations: 53.36 MB / 431.1 MB, free: 6.656 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum): time 0.008621/0.3275, allocations: 6.327 MB / 437.4 MB, free: 308 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005319/0.3328, allocations: 2.987 MB / 440.4 MB, free: 13.3 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005128/0.3333, allocations: 39.81 kB / 440.4 MB, free: 13.27 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001673/0.335, allocations: 0.7937 MB / 441.2 MB, free: 12.47 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002777/0.3377, allocations: 1.319 MB / 442.5 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001055/0.3388, allocations: 0.4912 MB / 443 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003189/0.342, allocations: 2.555 MB / 445.6 MB, free: 8.094 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001302/0.3433, allocations: 1.084 MB / 446.7 MB, free: 6.992 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009219/0.3442, allocations: 0.7667 MB / 447.4 MB, free: 6.223 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001512/0.3457, allocations: 1.207 MB / 448.7 MB, free: 5.012 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002305/0.3459, allocations: 136 kB / 448.8 MB, free: 4.879 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001347/0.3473, allocations: 0.7799 MB / 449.6 MB, free: 4.098 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008729/0.3482, allocations: 1.005 MB / 450.6 MB, free: 3.09 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008649/0.349, allocations: 0.8535 MB / 451.4 MB, free: 2.23 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003921/0.353, allocations: 3.948 MB / 455.4 MB, free: 14.27 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.353, allocations: 0 / 455.4 MB, free: 14.27 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.353, allocations: 0 / 455.4 MB, free: 14.27 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.91e-05/0.353, allocations: 0 / 455.4 MB, free: 14.27 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.004628/0.3576, allocations: 2.879 MB / 458.2 MB, free: 11.34 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/0.3577, allocations: 8.031 kB / 458.3 MB, free: 11.34 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004912/0.3582, allocations: 454 kB / 458.7 MB, free: 10.88 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005474/0.3636, allocations: 1.664 MB / 460.4 MB, free: 9.215 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002963/0.3666, allocations: 1.485 MB / 461.8 MB, free: 7.703 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001016/0.3667, allocations: 122.8 kB / 462 MB, free: 7.582 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003183/0.367, allocations: 151.9 kB / 462.1 MB, free: 7.434 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008182/0.3752, allocations: 6.37 MB / 468.5 MB, free: 0.5312 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.975e-05/0.3753, allocations: 31.7 kB / 468.5 MB, free: 0.5 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002221/0.3755, allocations: 79.89 kB / 468.6 MB, free: 432 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00236/0.3778, allocations: 1.433 MB / 470 MB, free: 14.99 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009079/0.3869, allocations: 5.654 MB / 475.7 MB, free: 9.328 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0284/0.4153, allocations: 25.29 MB / 0.4892 GB, free: 15.21 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003975/0.4193, allocations: 1.725 MB / 0.4909 GB, free: 13.45 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001225/0.4205, allocations: 0.9481 MB / 0.4918 GB, free: 12.48 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.523e-05/0.4206, allocations: 11.98 kB / 0.4919 GB, free: 12.47 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.173e-05/0.4206, allocations: 46.5 kB / 0.4919 GB, free: 12.42 MB / 414.1 MB Notification: Performance of pre-optimization done (n=98): time 3.066e-06/0.4206, allocations: 0 / 0.4919 GB, free: 12.42 MB / 414.1 MB Notification: Performance of matching and sorting (n=106): time 0.01947/0.4401, allocations: 8.527 MB / 0.5002 GB, free: 3.82 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.312e-05/0.4402, allocations: 136.5 kB / 0.5004 GB, free: 3.656 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003819/0.444, allocations: 2.998 MB / 0.5033 GB, free: 0.6406 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001266/0.4441, allocations: 41.64 kB / 0.5033 GB, free: 0.5938 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001544/0.4457, allocations: 2.159 MB / 0.5054 GB, free: 14.41 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004506/0.4461, allocations: 460.6 kB / 0.5059 GB, free: 13.96 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001068/0.4472, allocations: 0.8854 MB / 0.5067 GB, free: 13.06 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001168/0.4473, allocations: 309.1 kB / 0.507 GB, free: 12.75 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002017/0.4493, allocations: 1.402 MB / 0.5084 GB, free: 11.34 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004208/0.4535, allocations: 4.238 MB / 0.5125 GB, free: 5.676 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007057/0.4606, allocations: 6.127 MB / 0.5185 GB, free: 14.14 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.236e-05/0.4606, allocations: 32 kB / 0.5186 GB, free: 14.11 MB / 446.1 MB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01058/0.4712, allocations: 6.077 MB / 0.5245 GB, free: 8.02 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.644e-05/0.4713, allocations: 51.98 kB / 0.5245 GB, free: 7.969 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001115/0.4714, allocations: 103.9 kB / 0.5246 GB, free: 7.867 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002236/0.4736, allocations: 0.8011 MB / 0.5254 GB, free: 7.062 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002806/0.4765, allocations: 0.9825 MB / 0.5264 GB, free: 6.078 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005751/0.4822, allocations: 4.329 MB / 0.5306 GB, free: 1.641 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002639/0.4848, allocations: 255.7 kB / 0.5308 GB, free: 1.391 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000341/0.4852, allocations: 276.3 kB / 0.5311 GB, free: 1.121 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.001767/0.487, allocations: 1.37 MB / 0.5324 GB, free: 15.74 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003543/0.4873, allocations: 242.4 kB / 0.5327 GB, free: 15.5 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003664/0.491, allocations: 1.849 MB / 0.5345 GB, free: 13.63 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.44e-05/0.491, allocations: 23.86 kB / 0.5345 GB, free: 13.61 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.074e-06/0.491, allocations: 4 kB / 0.5345 GB, free: 13.61 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.107e-06/0.491, allocations: 3.984 kB / 0.5345 GB, free: 13.6 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008258/0.4993, allocations: 4.508 MB / 0.5389 GB, free: 9.031 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.755e-06/0.4993, allocations: 8.062 kB / 0.5389 GB, free: 9.023 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000593/0.4999, allocations: 135.8 kB / 0.5391 GB, free: 8.891 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001995/0.5019, allocations: 0.6444 MB / 0.5397 GB, free: 8.242 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.472e-05/0.5019, allocations: 16 kB / 0.5397 GB, free: 8.227 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004923/0.5069, allocations: 3.826 MB / 0.5434 GB, free: 4.285 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.582e-06/0.5069, allocations: 4.031 kB / 0.5434 GB, free: 4.281 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005632/0.5125, allocations: 3.69 MB / 0.547 GB, free: 0.5625 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005073/0.513, allocations: 226.3 kB / 0.5473 GB, free: 348 kB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002309/0.5132, allocations: 15.94 kB / 0.5473 GB, free: 332 kB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008307/0.5141, allocations: 68.03 kB / 0.5473 GB, free: 264 kB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001476/0.5142, allocations: 56.11 kB / 0.5474 GB, free: 208 kB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.744e-05/0.5143, allocations: 32 kB / 0.5474 GB, free: 176 kB / 462.1 MB Notification: Performance of sorting global known variables: time 0.2047/0.719, allocations: 1.75 MB / 0.5491 GB, free: 114.2 MB / 462.1 MB Notification: Performance of sort global known variables: time 3e-07/0.719, allocations: 1.781 kB / 0.5491 GB, free: 114.2 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003869/0.7228, allocations: 0.6315 MB / 0.5498 GB, free: 114.2 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.006359/0.7292, allocations: 4.321 MB / 0.554 GB, free: 112.6 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005207/0.7344, allocations: 3.288 MB / 0.5572 GB, free: 111.5 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.177e-05/0.7344, allocations: 0 / 0.5572 GB, free: 111.5 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000892/0.7353, allocations: 0.8776 MB / 0.558 GB, free: 111.1 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001633/0.737, allocations: 247.3 kB / 0.5583 GB, free: 111 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03212/0.7691, allocations: 30.22 MB / 0.5878 GB, free: 81.7 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001556/0.7706, allocations: 1.619 MB / 0.5894 GB, free: 80.05 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002344/0.773, allocations: 1.4 MB / 0.5907 GB, free: 78.65 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001018/0.774, allocations: 1.046 MB / 0.5918 GB, free: 77.6 MB / 462.1 MB Notification: Performance of SimCode: time 1.693e-06/0.774, allocations: 0 / 0.5918 GB, free: 77.6 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7272/1.501, allocations: 43.69 MB / 0.6344 GB, free: 34.47 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.87/15.37, allocations: 15.77 kB / 0.6344 GB, free: 34.45 MB / 462.1 MB " [Timeout remaining time 644] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Elementary_Pendulum_fmu --startTime=0 --stopTime=5 --stepSize=0.0009996 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Elementary_Pendulum.fmu > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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: 18.02524644701043]