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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009075/0.0009073, allocations: 94.89 kB / 17.3 MB, free: 6.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008137/0.0008137, allocations: 178.6 kB / 18.21 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.419/1.419, allocations: 205.4 MB / 224.4 MB, free: 13.07 MB / 190.1 MB 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.0004627/0.0004627, allocations: 16.38 kB / 281.4 MB, free: 3.418 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09616/0.09663, allocations: 47.59 MB / 329 MB, free: 3.754 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum): time 0.01288/0.1096, allocations: 13.51 MB / 342.5 MB, free: 6.18 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.009305/0.1189, allocations: 4.297 MB / 346.8 MB, free: 1.871 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001928/0.1209, allocations: 63.81 kB / 346.8 MB, free: 1.809 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008363/0.1218, allocations: 278.7 kB / 347.1 MB, free: 1.535 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003238/0.125, allocations: 1.23 MB / 348.3 MB, free: 308 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00111/0.1261, allocations: 459.4 kB / 348.8 MB, free: 15.85 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004131/0.1303, allocations: 3.444 MB / 352.2 MB, free: 12.4 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002202/0.1325, allocations: 1.422 MB / 353.7 MB, free: 10.94 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001158/0.1337, allocations: 0.6378 MB / 354.3 MB, free: 10.3 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00146/0.1351, allocations: 1.156 MB / 355.5 MB, free: 9.137 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002404/0.1354, allocations: 76 kB / 355.5 MB, free: 9.062 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001553/0.137, allocations: 0.8774 MB / 356.4 MB, free: 8.184 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009306/0.1379, allocations: 0.9698 MB / 357.4 MB, free: 7.211 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001122/0.139, allocations: 1.174 MB / 358.5 MB, free: 6.023 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004112/0.1432, allocations: 3.698 MB / 362.2 MB, free: 2.312 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.1432, allocations: 0 / 362.2 MB, free: 2.312 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.1432, allocations: 0 / 362.2 MB, free: 2.312 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.219e-05/0.1433, allocations: 0 / 362.2 MB, free: 2.312 MB / 302.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.004801/0.1481, allocations: 2.403 MB / 364.6 MB, free: 15.85 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.291e-05/0.1481, allocations: 12.03 kB / 364.7 MB, free: 15.84 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006305/0.1544, allocations: 1.686 MB / 366.3 MB, free: 14.15 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004376/0.1589, allocations: 1.363 MB / 367.7 MB, free: 12.74 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001462/0.159, allocations: 118.8 kB / 367.8 MB, free: 12.62 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004408/0.1595, allocations: 155.8 kB / 368 MB, free: 12.47 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009601/0.1691, allocations: 6.374 MB / 374.4 MB, free: 5.574 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.35e-05/0.1692, allocations: 27.75 kB / 374.4 MB, free: 5.547 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002318/0.1694, allocations: 83.89 kB / 374.5 MB, free: 5.465 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002521/0.172, allocations: 1.433 MB / 375.9 MB, free: 4.031 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2131/0.3851, allocations: 5.678 MB / 381.6 MB, free: 44.29 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02957/0.4147, allocations: 26.28 MB / 407.9 MB, free: 26.68 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003991/0.4187, allocations: 2.26 MB / 410.1 MB, free: 25.34 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001146/0.4199, allocations: 1.016 MB / 411.1 MB, free: 24.8 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.918e-05/0.42, allocations: 16.11 kB / 411.1 MB, free: 24.8 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.717e-05/0.42, allocations: 51.5 kB / 411.2 MB, free: 24.75 MB / 318.1 MB Notification: Performance of pre-optimization done (n=98): time 3.877e-06/0.42, allocations: 1.641 kB / 411.2 MB, free: 24.75 MB / 318.1 MB Notification: Performance of matching and sorting (n=106): time 0.01911/0.4391, allocations: 8.572 MB / 419.8 MB, free: 19.23 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.617e-05/0.4392, allocations: 140.5 kB / 419.9 MB, free: 19.07 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003316/0.4426, allocations: 2.831 MB / 422.7 MB, free: 16.22 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001091/0.4427, allocations: 43.11 kB / 422.8 MB, free: 16.17 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009692/0.4437, allocations: 2.068 MB / 424.8 MB, free: 14.12 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003064/0.444, allocations: 431.3 kB / 425.3 MB, free: 13.7 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003486/0.4443, allocations: 380 kB / 425.6 MB, free: 13.32 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.637e-05/0.4444, allocations: 308.7 kB / 425.9 MB, free: 13.02 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001702/0.4461, allocations: 1.418 MB / 427.4 MB, free: 11.59 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002912/0.449, allocations: 4.245 MB / 431.6 MB, free: 5.922 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006051/0.4551, allocations: 6.14 MB / 437.7 MB, free: 14.39 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.783e-05/0.4552, allocations: 31.56 kB / 437.8 MB, free: 14.37 MB / 334.1 MB Notification: Performance of matching and sorting (n=573) (initialization): time 0.01279/0.468, allocations: 6.106 MB / 443.9 MB, free: 8.25 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.876e-05/0.4682, allocations: 48 kB / 443.9 MB, free: 8.203 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000135/0.4683, allocations: 100.9 kB / 444 MB, free: 8.105 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002347/0.4707, allocations: 0.7933 MB / 444.8 MB, free: 7.309 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002869/0.4736, allocations: 0.9977 MB / 445.8 MB, free: 6.312 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005611/0.4792, allocations: 4.158 MB / 450 MB, free: 2.035 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003369/0.4826, allocations: 245.6 kB / 450.2 MB, free: 1.797 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005171/0.4831, allocations: 272.8 kB / 450.5 MB, free: 1.531 MB / 334.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 (537): * Single equations (assignments): 533 * 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.002297/0.4854, allocations: 1.385 MB / 451.9 MB, free: 140 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004859/0.4859, allocations: 233 kB / 452.1 MB, free: 15.9 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004063/0.49, allocations: 1.845 MB / 453.9 MB, free: 14.04 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.636e-05/0.49, allocations: 12 kB / 454 MB, free: 14.03 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.283e-05/0.49, allocations: 8 kB / 454 MB, free: 14.02 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.273e-05/0.4901, allocations: 3.984 kB / 454 MB, free: 14.02 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008785/0.4988, allocations: 4.805 MB / 458.8 MB, free: 9.156 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.465e-05/0.4989, allocations: 0 / 458.8 MB, free: 9.156 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006812/0.4996, allocations: 143.8 kB / 458.9 MB, free: 9.016 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002164/0.5018, allocations: 0.6482 MB / 459.6 MB, free: 8.363 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.645e-05/0.5019, allocations: 16.62 kB / 459.6 MB, free: 8.348 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005145/0.507, allocations: 3.699 MB / 463.3 MB, free: 4.516 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/0.5071, allocations: 3.984 kB / 463.3 MB, free: 4.512 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006168/0.5132, allocations: 3.689 MB / 467 MB, free: 0.793 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001031/0.5143, allocations: 441.8 kB / 467.4 MB, free: 348 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002248/0.5145, allocations: 16 kB / 467.4 MB, free: 332 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008907/0.5154, allocations: 61.62 kB / 467.5 MB, free: 272 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001888/0.5156, allocations: 59.94 kB / 467.5 MB, free: 212 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.947e-05/0.5157, allocations: 31.98 kB / 467.6 MB, free: 180 kB / 350.1 MB Notification: Performance of sorting global known variables: time 0.002905/0.5186, allocations: 1.762 MB / 469.3 MB, free: 14.41 MB / 366.1 MB Notification: Performance of sort global known variables: time 4.6e-07/0.5186, allocations: 0 / 469.3 MB, free: 14.41 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.003863/0.5225, allocations: 0.6444 MB / 470 MB, free: 13.77 MB / 366.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.0003957/0.5229, allocations: 150.8 kB / 470.1 MB, free: 13.62 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.005697/0.5286, allocations: 3.408 MB / 473.5 MB, free: 10.22 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.481e-06/0.5286, allocations: 8.188 kB / 473.5 MB, free: 10.21 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001298/0.53, allocations: 0.9319 MB / 474.5 MB, free: 9.27 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002359/0.5323, allocations: 248.2 kB / 474.7 MB, free: 9.027 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01069/0.543, allocations: 6.716 MB / 481.4 MB, free: 2.266 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002218/0.5453, allocations: 2.196 MB / 483.6 MB, free: 32 kB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.003681/0.549, allocations: 1.393 MB / 485 MB, free: 14.63 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004147/0.5494, allocations: 163.4 kB / 485.2 MB, free: 14.47 MB / 382.1 MB Notification: Performance of SimCode: time 1.823e-06/0.5494, allocations: 0 / 485.2 MB, free: 14.47 MB / 382.1 MB Notification: Performance of Templates: time 0.04678/0.5962, allocations: 21.82 MB / 0.4951 GB, free: 8.715 MB / 398.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.makefile (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 & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum_res.mat","/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","../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches