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.001736/0.001736, allocations: 107.6 kB / 21.18 MB, free: 452 kB / 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.002656/0.002656, allocations: 215 kB / 24.47 MB, free: 3.777 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.35/1.35, allocations: 207.7 MB / 235.3 MB, free: 9.801 MB / 190.1 MB " [Timeout remaining time 178] 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: 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.001758/0.001758, allocations: 51.92 kB / 347.2 MB, free: 9.871 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2996/0.3014, allocations: 49.15 MB / 396.4 MB, free: 8.891 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum): time 0.006524/0.3079, allocations: 6.356 MB / 402.7 MB, free: 4.766 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004821/0.3128, allocations: 2.991 MB / 405.7 MB, free: 2.918 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005066/0.3133, allocations: 39.78 kB / 405.7 MB, free: 2.906 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001513/0.3148, allocations: 0.7725 MB / 406.5 MB, free: 2.59 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002259/0.317, allocations: 1.353 MB / 407.9 MB, free: 2.02 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008435/0.3179, allocations: 0.4975 MB / 408.4 MB, free: 1.836 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002473/0.3203, allocations: 2.537 MB / 410.9 MB, free: 0.6328 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001123/0.3215, allocations: 1.093 MB / 412 MB, free: 15.85 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001074/0.3225, allocations: 0.7789 MB / 412.8 MB, free: 15.42 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00154/0.3241, allocations: 1.186 MB / 414 MB, free: 14.74 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002713/0.3244, allocations: 134.7 kB / 414.1 MB, free: 14.74 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001453/0.3258, allocations: 0.7777 MB / 414.9 MB, free: 14.39 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009449/0.3268, allocations: 1.028 MB / 415.9 MB, free: 13.81 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009695/0.3277, allocations: 0.8644 MB / 416.8 MB, free: 13.23 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004378/0.3321, allocations: 4.006 MB / 420.8 MB, free: 10.56 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.3321, allocations: 0 / 420.8 MB, free: 10.56 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.3321, allocations: 0 / 420.8 MB, free: 10.56 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.194e-05/0.3322, allocations: 0 / 420.8 MB, free: 10.56 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.005219/0.3374, allocations: 2.912 MB / 423.7 MB, free: 7.691 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.602e-05/0.3374, allocations: 15.98 kB / 423.7 MB, free: 7.676 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005371/0.338, allocations: 449.9 kB / 424.1 MB, free: 7.227 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005846/0.3438, allocations: 1.668 MB / 425.8 MB, free: 5.555 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003545/0.3473, allocations: 1.739 MB / 427.5 MB, free: 3.781 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001003/0.3474, allocations: 118.8 kB / 427.7 MB, free: 3.664 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003248/0.3478, allocations: 151.8 kB / 427.8 MB, free: 3.516 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008817/0.3566, allocations: 6.363 MB / 434.2 MB, free: 12.63 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.356e-05/0.3567, allocations: 27.75 kB / 434.2 MB, free: 12.6 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002221/0.3569, allocations: 79.89 kB / 434.3 MB, free: 12.52 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002481/0.3594, allocations: 1.444 MB / 435.7 MB, free: 11.08 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009611/0.369, allocations: 5.65 MB / 441.4 MB, free: 5.43 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03406/0.403, allocations: 25.31 MB / 466.7 MB, free: 11.29 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004364/0.4074, allocations: 1.746 MB / 468.4 MB, free: 9.504 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001371/0.4088, allocations: 0.9363 MB / 469.4 MB, free: 8.555 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.865e-05/0.4088, allocations: 12 kB / 469.4 MB, free: 8.543 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.183e-05/0.4089, allocations: 50.48 kB / 469.4 MB, free: 8.484 MB / 382.1 MB Notification: Performance of pre-optimization done (n=98): time 3.436e-06/0.4089, allocations: 0 / 469.4 MB, free: 8.484 MB / 382.1 MB Notification: Performance of matching and sorting (n=106): time 0.02236/0.4312, allocations: 8.592 MB / 478 MB, free: 15.82 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001037/0.4313, allocations: 136.5 kB / 478.1 MB, free: 15.65 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004842/0.4362, allocations: 3.018 MB / 481.2 MB, free: 12.62 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001834/0.4363, allocations: 41.7 kB / 481.2 MB, free: 12.57 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001779/0.4381, allocations: 2.166 MB / 483.4 MB, free: 10.38 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005453/0.4387, allocations: 456.6 kB / 483.8 MB, free: 9.934 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001324/0.44, allocations: 0.8932 MB / 484.7 MB, free: 9.027 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001585/0.4401, allocations: 301.1 kB / 485 MB, free: 8.73 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00237/0.4425, allocations: 1.414 MB / 486.4 MB, free: 7.309 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004993/0.4475, allocations: 4.234 MB / 490.6 MB, free: 1.645 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008615/0.4561, allocations: 6.115 MB / 496.8 MB, free: 10.11 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.567e-05/0.4562, allocations: 28 kB / 496.8 MB, free: 10.09 MB / 414.1 MB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01222/0.4684, allocations: 6.086 MB / 0.4911 GB, free: 3.988 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.478e-05/0.4685, allocations: 51.94 kB / 0.4911 GB, free: 3.938 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001171/0.4686, allocations: 103.9 kB / 0.4912 GB, free: 3.836 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002339/0.471, allocations: 0.7974 MB / 0.492 GB, free: 3.035 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002864/0.4738, allocations: 0.9902 MB / 0.493 GB, free: 2.043 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006326/0.4801, allocations: 4.334 MB / 0.4972 GB, free: 13.59 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002818/0.483, allocations: 239.7 kB / 0.4974 GB, free: 13.36 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003987/0.4834, allocations: 280 kB / 0.4977 GB, free: 13.09 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.002257/0.4856, allocations: 1.375 MB / 0.4991 GB, free: 11.7 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003939/0.486, allocations: 246.3 kB / 0.4993 GB, free: 11.46 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003949/0.49, allocations: 1.846 MB / 0.5011 GB, free: 9.59 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.501e-05/0.49, allocations: 15.94 kB / 0.5011 GB, free: 9.574 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.189e-05/0.49, allocations: 8.359 kB / 0.5011 GB, free: 9.566 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-05/0.49, allocations: 7.984 kB / 0.5011 GB, free: 9.559 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008943/0.499, allocations: 4.533 MB / 0.5055 GB, free: 4.965 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.767e-06/0.499, allocations: 4 kB / 0.5055 GB, free: 4.961 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005936/0.4996, allocations: 135.7 kB / 0.5057 GB, free: 4.828 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002033/0.5016, allocations: 0.6405 MB / 0.5063 GB, free: 4.184 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.124e-05/0.5017, allocations: 24.05 kB / 0.5063 GB, free: 4.16 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005361/0.507, allocations: 3.81 MB / 0.51 GB, free: 244 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/0.507, allocations: 4.031 kB / 0.5101 GB, free: 240 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005992/0.513, allocations: 3.695 MB / 0.5137 GB, free: 12.51 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001002/0.514, allocations: 382.1 kB / 0.514 GB, free: 12.13 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002358/0.5143, allocations: 24.06 kB / 0.514 GB, free: 12.11 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008428/0.5151, allocations: 63.89 kB / 0.5141 GB, free: 12.05 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001615/0.5153, allocations: 59.88 kB / 0.5142 GB, free: 11.99 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.742e-05/0.5153, allocations: 28 kB / 0.5142 GB, free: 11.96 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002681/0.518, allocations: 1.77 MB / 0.5159 GB, free: 10.18 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.518, allocations: 0 / 0.5159 GB, free: 10.18 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003142/0.5212, allocations: 0.6482 MB / 0.5166 GB, free: 9.535 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.006486/0.5277, allocations: 4.32 MB / 0.5208 GB, free: 5.176 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00554/0.5332, allocations: 3.284 MB / 0.524 GB, free: 1.906 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.618e-06/0.5332, allocations: 0 / 0.524 GB, free: 1.906 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001245/0.5344, allocations: 0.8731 MB / 0.5248 GB, free: 1.02 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00142/0.5359, allocations: 249.5 kB / 0.5251 GB, free: 0.7734 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2375/0.7734, allocations: 30.33 MB / 0.5547 GB, free: 148.8 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002261/0.7756, allocations: 1.62 MB / 0.5563 GB, free: 148.6 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003243/0.7789, allocations: 1.398 MB / 0.5576 GB, free: 148.6 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001355/0.7802, allocations: 1.056 MB / 0.5587 GB, free: 148.6 MB / 478.1 MB Notification: Performance of SimCode: time 1.192e-06/0.7802, allocations: 0 / 0.5587 GB, free: 148.6 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3381/1.118, allocations: 41.95 MB / 0.5996 GB, free: 119.9 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 16.58/17.7, allocations: 15.8 kB / 0.5997 GB, free: 119.9 MB / 478.1 MB " [Timeout remaining time 642] (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: 20.705509311985224]