Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.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.Surfaces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007722/0.0007724, allocations: 96.98 kB / 16.95 MB, free: 6.082 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.0007534/0.0007534, allocations: 175.1 kB / 17.84 MB, free: 5.711 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.375/1.375, allocations: 205.4 MB / 224 MB, free: 13.02 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.0004087/0.0004087, allocations: 12 kB / 280.8 MB, free: 3.723 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08903/0.08945, allocations: 47.59 MB / 328.4 MB, free: 4.07 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.02821/0.1177, allocations: 30.29 MB / 358.7 MB, free: 5.684 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01372/0.1315, allocations: 6.292 MB / 364.9 MB, free: 15.37 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004347/0.1359, allocations: 139.7 kB / 365.1 MB, free: 15.23 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004673/0.1405, allocations: 1.551 MB / 366.6 MB, free: 13.68 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01086/0.1514, allocations: 4.553 MB / 371.2 MB, free: 9.105 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001278/0.1527, allocations: 215.7 kB / 371.4 MB, free: 8.895 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.2778/0.4305, allocations: 17.46 MB / 388.9 MB, free: 17.17 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004728/0.4353, allocations: 2.427 MB / 391.3 MB, free: 16.83 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00229/0.4376, allocations: 0.8377 MB / 392.1 MB, free: 16.83 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00243/0.4401, allocations: 1.363 MB / 393.5 MB, free: 16.82 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006251/0.4407, allocations: 97.41 kB / 393.6 MB, free: 16.82 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001386/0.4421, allocations: 493.1 kB / 394.1 MB, free: 16.82 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001452/0.4436, allocations: 1.276 MB / 395.3 MB, free: 16.82 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006528/0.4443, allocations: 0.6032 MB / 395.9 MB, free: 16.79 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002903/0.4472, allocations: 3.501 MB / 399.4 MB, free: 16.33 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.4472, allocations: 2.219 kB / 399.4 MB, free: 16.33 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.344e-06/0.4472, allocations: 0 / 399.4 MB, free: 16.33 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.757e-05/0.4473, allocations: 1.641 kB / 399.4 MB, free: 16.33 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1143 * Number of variables: 1143 Notification: Performance of Generate backend data structure: time 0.003929/0.4512, allocations: 2.855 MB / 402.3 MB, free: 14.48 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.4513, allocations: 13.5 kB / 402.3 MB, free: 14.48 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004391/0.4557, allocations: 1.66 MB / 404 MB, free: 13.66 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002379/0.4581, allocations: 1.436 MB / 405.4 MB, free: 13.06 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001062/0.4582, allocations: 155.5 kB / 405.6 MB, free: 13.05 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003553/0.4586, allocations: 191.6 kB / 405.7 MB, free: 13.05 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008795/0.4674, allocations: 6.974 MB / 412.7 MB, free: 9.465 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.679e-05/0.4675, allocations: 28.97 kB / 412.8 MB, free: 9.453 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002567/0.4677, allocations: 101.1 kB / 412.9 MB, free: 9.422 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001806/0.4696, allocations: 1.562 MB / 414.4 MB, free: 8.133 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008336/0.4779, allocations: 5.454 MB / 419.9 MB, free: 4.371 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0298/0.5077, allocations: 27.19 MB / 447.1 MB, free: 12.46 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002803/0.5106, allocations: 1.581 MB / 448.6 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007774/0.5114, allocations: 466.5 kB / 449.1 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003999/0.5154, allocations: 2.589 MB / 451.7 MB, free: 8.176 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.156e-05/0.5155, allocations: 41.56 kB / 451.7 MB, free: 8.129 MB / 350.1 MB Notification: Performance of pre-optimization done (n=80): time 3.327e-06/0.5155, allocations: 0 / 451.7 MB, free: 8.129 MB / 350.1 MB Notification: Performance of matching and sorting (n=80): time 0.00363/0.5191, allocations: 1.642 MB / 453.4 MB, free: 6.5 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001229/0.5192, allocations: 191.1 kB / 453.6 MB, free: 6.273 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004896/0.5241, allocations: 3.414 MB / 457 MB, free: 2.855 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.437e-05/0.5242, allocations: 37.7 kB / 457 MB, free: 2.812 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001964/0.5262, allocations: 2.595 MB / 459.6 MB, free: 236 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003858/0.5266, allocations: 363.3 kB / 460 MB, free: 15.88 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001637/0.5268, allocations: 92 kB / 460 MB, free: 15.79 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0003165/0.5271, allocations: 0.5122 MB / 460.6 MB, free: 15.27 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001923/0.529, allocations: 1.18 MB / 461.7 MB, free: 14.08 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004149/0.5332, allocations: 4.541 MB / 466.3 MB, free: 7.867 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003203/0.5364, allocations: 2.296 MB / 468.6 MB, free: 5.676 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.961e-05/0.5365, allocations: 36 kB / 468.6 MB, free: 5.641 MB / 366.1 MB Notification: Performance of matching and sorting (n=621) (initialization): time 0.008622/0.5451, allocations: 5.387 MB / 474 MB, free: 0.5977 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.967e-05/0.5452, allocations: 60.59 kB / 474.1 MB, free: 0.5391 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000131/0.5454, allocations: 122 kB / 474.2 MB, free: 432 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001662/0.5456, allocations: 176 kB / 474.3 MB, free: 256 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003053/0.5486, allocations: 1.103 MB / 475.4 MB, free: 15.14 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002027/0.5488, allocations: 231.1 kB / 475.7 MB, free: 14.92 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003549/0.5524, allocations: 0.6857 MB / 476.4 MB, free: 14.23 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004354/0.5528, allocations: 328.4 kB / 476.7 MB, free: 13.91 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 552 * Number of states: 0 () * Number of discrete variables: 24 (fixedTranslation3.color[3],fixedTranslation3.color[2],fixedTranslation3.color[1],fixedTranslation2.color[3],fixedTranslation2.color[2],fixedTranslation2.color[1],fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[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 (597): * Single equations (assignments): 594 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00284/0.5557, allocations: 1.684 MB / 478.4 MB, free: 12.21 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005054/0.5562, allocations: 268.4 kB / 478.6 MB, free: 11.95 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008661/0.5571, allocations: 467.7 kB / 479.1 MB, free: 11.48 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.368e-05/0.5571, allocations: 12 kB / 479.1 MB, free: 11.47 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.356e-06/0.5571, allocations: 0 / 479.1 MB, free: 11.47 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.075e-06/0.5571, allocations: 4 kB / 479.1 MB, free: 11.46 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004895/0.562, allocations: 3.035 MB / 482.1 MB, free: 8.355 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.476e-06/0.5621, allocations: 4.281 kB / 482.1 MB, free: 8.352 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004578/0.5625, allocations: 107.8 kB / 482.2 MB, free: 8.246 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.174e-05/0.5626, allocations: 4 kB / 482.2 MB, free: 8.242 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.502e-05/0.5626, allocations: 23.95 kB / 482.3 MB, free: 8.219 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.384e-06/0.5626, allocations: 4 kB / 482.3 MB, free: 8.215 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.641e-06/0.5626, allocations: 7.938 kB / 482.3 MB, free: 8.207 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002231/0.5649, allocations: 2.007 MB / 484.3 MB, free: 6.156 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007434/0.5656, allocations: 418.9 kB / 484.7 MB, free: 5.727 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002461/0.5659, allocations: 19.98 kB / 484.7 MB, free: 5.707 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007367/0.5666, allocations: 43.98 kB / 484.8 MB, free: 5.664 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.82e-05/0.5667, allocations: 39.89 kB / 484.8 MB, free: 5.625 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.605e-05/0.5668, allocations: 27.59 kB / 484.8 MB, free: 5.602 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.003128/0.5699, allocations: 2.169 MB / 487 MB, free: 3.441 MB / 382.1 MB Notification: Performance of sort global known variables: time 4.71e-07/0.5699, allocations: 4 kB / 487 MB, free: 3.438 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003786/0.5737, allocations: 0.8194 MB / 487.8 MB, free: 2.617 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (prismatic.v,position.s) * 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 (57): * Single equations (assignments): 54 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003426/0.5741, allocations: 150.7 kB / 488 MB, free: 2.465 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004193/0.5783, allocations: 2.747 MB / 490.7 MB, free: 15.74 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.5783, allocations: 0 / 490.7 MB, free: 15.74 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005508/0.5789, allocations: 416.7 kB / 491.1 MB, free: 15.34 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001821/0.5807, allocations: 350.5 kB / 491.5 MB, free: 14.99 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01345/0.5941, allocations: 8.361 MB / 499.8 MB, free: 6.574 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003221/0.5974, allocations: 2.675 MB / 0.4907 GB, free: 3.875 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.003737/0.6012, allocations: 1.481 MB / 0.4922 GB, free: 2.387 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004586/0.6016, allocations: 183.4 kB / 0.4923 GB, free: 2.207 MB / 398.1 MB Notification: Performance of SimCode: time 3.296e-06/0.6016, allocations: 0 / 0.4923 GB, free: 2.207 MB / 398.1 MB Notification: Performance of Templates: time 0.04403/0.6457, allocations: 20.87 MB / 0.5127 GB, free: 13.4 MB / 430.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/Surfaces/Surfaces.csv","../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches