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.0009601/0.0009654, allocations: 95.31 kB / 16.93 MB, free: 6.445 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.001018/0.001018, allocations: 184.6 kB / 17.83 MB, free: 6.012 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.329/1.329, allocations: 205.4 MB / 224 MB, free: 13.17 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.0004186/0.0004187, allocations: 16 kB / 280.7 MB, free: 3.762 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07829/0.07872, allocations: 47.58 MB / 328.3 MB, free: 4.113 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.0255/0.1043, allocations: 28.69 MB / 357 MB, free: 7.336 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0132/0.1175, allocations: 6.575 MB / 363.6 MB, free: 0.7422 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003443/0.121, allocations: 139.7 kB / 363.7 MB, free: 0.6055 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003461/0.1245, allocations: 1.4 MB / 365.1 MB, free: 15.2 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009881/0.1344, allocations: 4.079 MB / 369.2 MB, free: 11.11 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009925/0.1354, allocations: 219.8 kB / 369.4 MB, free: 10.89 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.1826/0.318, allocations: 13.55 MB / 383 MB, free: 19.82 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003976/0.322, allocations: 2.405 MB / 385.4 MB, free: 19.49 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001301/0.3233, allocations: 0.6916 MB / 386.1 MB, free: 19.49 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001584/0.3249, allocations: 0.9978 MB / 387.1 MB, free: 19.48 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002802/0.3252, allocations: 95.69 kB / 387.2 MB, free: 19.48 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001049/0.3263, allocations: 487.9 kB / 387.6 MB, free: 19.48 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001087/0.3274, allocations: 1.145 MB / 388.8 MB, free: 19.48 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006501/0.328, allocations: 0.6358 MB / 389.4 MB, free: 19.45 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003751/0.3318, allocations: 3.693 MB / 393.1 MB, free: 19.17 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.3318, allocations: 3.375 kB / 393.1 MB, free: 19.17 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.434e-06/0.3318, allocations: 0 / 393.1 MB, free: 19.17 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.337e-05/0.3319, allocations: 2.438 kB / 393.1 MB, free: 19.17 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.005861/0.3378, allocations: 3.184 MB / 396.3 MB, free: 17.55 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.007e-05/0.3378, allocations: 10.28 kB / 396.3 MB, free: 17.55 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006021/0.3438, allocations: 1.971 MB / 398.3 MB, free: 16.74 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00325/0.3471, allocations: 1.615 MB / 399.9 MB, free: 16.04 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001252/0.3472, allocations: 157.7 kB / 400 MB, free: 16.03 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003395/0.3476, allocations: 196.5 kB / 400.2 MB, free: 16.03 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008587/0.3562, allocations: 6.99 MB / 407.2 MB, free: 13.62 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.301e-05/0.3563, allocations: 29 kB / 407.3 MB, free: 13.62 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002462/0.3565, allocations: 101.2 kB / 407.4 MB, free: 13.62 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001845/0.3584, allocations: 1.565 MB / 408.9 MB, free: 13.28 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007565/0.366, allocations: 5.487 MB / 414.4 MB, free: 10.11 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0278/0.3938, allocations: 27.4 MB / 441.8 MB, free: 2.074 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002766/0.3966, allocations: 1.595 MB / 443.4 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005092/0.4017, allocations: 2.697 MB / 446.1 MB, free: 14.09 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.793e-05/0.4018, allocations: 46.81 kB / 446.1 MB, free: 14.04 MB / 350.1 MB Notification: Performance of pre-optimization done (n=80): time 6.092e-06/0.4019, allocations: 0 / 446.1 MB, free: 14.04 MB / 350.1 MB Notification: Performance of matching and sorting (n=80): time 0.004704/0.4066, allocations: 1.918 MB / 448.1 MB, free: 12.38 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000106/0.4067, allocations: 187.9 kB / 448.2 MB, free: 12.16 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009604/0.4163, allocations: 3.711 MB / 452 MB, free: 9.367 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001722/0.4165, allocations: 33.7 kB / 452 MB, free: 9.336 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00268/0.4192, allocations: 2.721 MB / 454.7 MB, free: 6.648 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005392/0.4198, allocations: 359 kB / 455.1 MB, free: 6.301 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003777/0.4202, allocations: 100 kB / 455.2 MB, free: 6.203 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0004899/0.4207, allocations: 0.5044 MB / 455.7 MB, free: 5.691 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002103/0.4228, allocations: 1.184 MB / 456.8 MB, free: 4.504 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004557/0.4274, allocations: 4.53 MB / 461.4 MB, free: 14.31 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003493/0.4309, allocations: 2.286 MB / 463.7 MB, free: 12.13 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000104/0.431, allocations: 36 kB / 463.7 MB, free: 12.1 MB / 366.1 MB Notification: Performance of matching and sorting (n=621) (initialization): time 0.0112/0.4422, allocations: 5.404 MB / 469.1 MB, free: 7.031 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001051/0.4424, allocations: 68.19 kB / 469.2 MB, free: 6.965 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000183/0.4425, allocations: 120 kB / 469.3 MB, free: 6.848 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001948/0.4428, allocations: 172 kB / 469.5 MB, free: 6.68 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003185/0.4459, allocations: 1.109 MB / 470.6 MB, free: 5.57 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001721/0.4461, allocations: 231.1 kB / 470.8 MB, free: 5.344 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003555/0.4497, allocations: 0.7134 MB / 471.5 MB, free: 4.629 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004351/0.4501, allocations: 320.5 kB / 471.8 MB, free: 4.316 MB / 366.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.003212/0.4534, allocations: 1.713 MB / 473.5 MB, free: 2.59 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006363/0.454, allocations: 304 kB / 473.8 MB, free: 2.289 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009778/0.455, allocations: 0.4913 MB / 474.3 MB, free: 1.789 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-05/0.455, allocations: 10.05 kB / 474.3 MB, free: 1.781 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.024e-05/0.455, allocations: 4 kB / 474.3 MB, free: 1.777 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.827e-06/0.4551, allocations: 3.984 kB / 474.3 MB, free: 1.773 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007065/0.4621, allocations: 3.223 MB / 477.6 MB, free: 14.48 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.758e-06/0.4622, allocations: 4 kB / 477.6 MB, free: 14.48 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004728/0.4626, allocations: 112.1 kB / 477.7 MB, free: 14.37 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.182e-05/0.4627, allocations: 11.94 kB / 477.7 MB, free: 14.36 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.824e-05/0.4627, allocations: 13.33 kB / 477.7 MB, free: 14.34 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.447e-06/0.4627, allocations: 7.953 kB / 477.7 MB, free: 14.34 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.47e-06/0.4627, allocations: 7.938 kB / 477.7 MB, free: 14.33 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002821/0.4656, allocations: 2.382 MB / 480.1 MB, free: 11.84 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00138/0.467, allocations: 0.528 MB / 480.6 MB, free: 11.29 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003/0.4673, allocations: 21.62 kB / 480.6 MB, free: 11.27 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000932/0.4682, allocations: 59.95 kB / 480.7 MB, free: 11.21 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.918e-05/0.4683, allocations: 45.38 kB / 480.7 MB, free: 11.16 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.59e-05/0.4684, allocations: 25.8 kB / 480.8 MB, free: 11.14 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.003883/0.4723, allocations: 2.369 MB / 483.1 MB, free: 8.789 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.4723, allocations: 0 / 483.1 MB, free: 8.789 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.004014/0.4763, allocations: 0.8235 MB / 484 MB, free: 7.965 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.0003982/0.4767, allocations: 154.4 kB / 484.1 MB, free: 7.809 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004281/0.481, allocations: 2.747 MB / 486.9 MB, free: 5.086 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.82e-06/0.481, allocations: 5.281 kB / 486.9 MB, free: 5.082 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005112/0.4816, allocations: 415.6 kB / 487.3 MB, free: 4.68 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001675/0.4832, allocations: 352.5 kB / 487.6 MB, free: 4.336 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01176/0.495, allocations: 7.938 MB / 495.6 MB, free: 12.33 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002742/0.4978, allocations: 2.757 MB / 498.3 MB, free: 9.547 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.003607/0.5014, allocations: 1.545 MB / 499.9 MB, free: 7.996 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004462/0.5019, allocations: 223.4 kB / 0.4884 GB, free: 7.777 MB / 398.1 MB Notification: Performance of SimCode: time 7.92e-07/0.5019, allocations: 0 / 0.4884 GB, free: 7.777 MB / 398.1 MB Notification: Performance of Templates: time 0.04818/0.5501, allocations: 23.91 MB / 0.5117 GB, free: 15.95 MB / 430.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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