Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_cpp_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_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00165/0.00165, allocations: 177.8 kB / 8.363 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.031/2.031, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001177/0.001177, allocations: 92.86 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.293e-05/2.309e-05, allocations: 8 kB / 314.8 MB, free: 9.148 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3437/0.3437, allocations: 47.56 MB / 362.3 MB, free: 45.85 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1664/0.5102, allocations: 92.55 MB / 454.9 MB, free: 9.762 MB / 347.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003254/0.5106, allocations: 91.94 kB / 455 MB, free: 9.672 MB / 347.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.5592/1.07, allocations: 65.05 MB / 0.5078 GB, free: 99.1 MB / 395.1 MB Notification: Performance of FrontEnd: time 2.254e-06/1.07, allocations: 1.906 kB / 0.5078 GB, free: 99.1 MB / 395.1 MB Notification: Performance of Transformations before backend: time 0.0002207/1.07, allocations: 63.53 kB / 0.5079 GB, free: 99.09 MB / 395.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.01167/1.082, allocations: 3.086 MB / 0.5109 GB, free: 97.69 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.865e-05/1.082, allocations: 11.38 kB / 0.5109 GB, free: 97.69 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01398/1.096, allocations: 1.9 MB / 0.5128 GB, free: 97.45 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007622/1.103, allocations: 1.967 MB / 0.5147 GB, free: 96.96 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002398/1.104, allocations: 101.4 kB / 0.5148 GB, free: 96.96 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001803/1.106, allocations: 174.3 kB / 0.515 GB, free: 96.96 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01081/1.116, allocations: 4.189 MB / 0.5191 GB, free: 96.94 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01629/1.133, allocations: 6.921 MB / 0.5258 GB, free: 94.7 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001448/1.133, allocations: 47.19 kB / 0.5259 GB, free: 94.7 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009322/1.134, allocations: 30.19 kB / 0.5259 GB, free: 94.7 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001246/1.135, allocations: 0.7363 MB / 0.5266 GB, free: 94.69 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04075/1.176, allocations: 33.72 MB / 0.5595 GB, free: 68.09 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002287/1.178, allocations: 1.366 MB / 0.5609 GB, free: 67.14 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008097/1.179, allocations: 428.3 kB / 0.5613 GB, free: 66.96 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000402/1.18, allocations: 348.1 kB / 0.5616 GB, free: 66.67 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.011e-05/1.18, allocations: 45.12 kB / 0.5617 GB, free: 66.62 MB / 395.1 MB Notification: Performance of pre-optimization done (n=87): time 3.887e-06/1.18, allocations: 0 / 0.5617 GB, free: 66.62 MB / 395.1 MB Notification: Performance of matching and sorting (n=87): time 0.004377/1.184, allocations: 1.236 MB / 0.5629 GB, free: 66.22 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.061e-05/1.184, allocations: 190.9 kB / 0.563 GB, free: 66 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006384/1.19, allocations: 2.934 MB / 0.5659 GB, free: 64.88 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001642/1.191, allocations: 30.33 kB / 0.5659 GB, free: 64.85 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002352/1.193, allocations: 2.713 MB / 0.5686 GB, free: 62.64 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005842/1.194, allocations: 381.8 kB / 0.5689 GB, free: 62.38 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004196/1.194, allocations: 0 / 0.5689 GB, free: 62.38 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0003091/1.194, allocations: 0.5268 MB / 0.5695 GB, free: 61.98 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002722/1.197, allocations: 1.154 MB / 0.5706 GB, free: 61.6 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005009/1.202, allocations: 4.615 MB / 0.5751 GB, free: 56.32 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005367/1.208, allocations: 2.322 MB / 0.5774 GB, free: 55.46 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000124/1.208, allocations: 38.75 kB / 0.5774 GB, free: 55.46 MB / 395.1 MB Notification: Performance of matching and sorting (n=651) (initialization): time 0.01352/1.221, allocations: 4.849 MB / 0.5821 GB, free: 51.29 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.737e-05/1.222, allocations: 63.33 kB / 0.5822 GB, free: 51.23 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001647/1.222, allocations: 128 kB / 0.5823 GB, free: 51.11 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002003/1.222, allocations: 180 kB / 0.5825 GB, free: 50.93 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006632/1.229, allocations: 1.187 MB / 0.5836 GB, free: 49.89 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002053/1.229, allocations: 245.8 kB / 0.5839 GB, free: 49.67 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005806/1.235, allocations: 0.6165 MB / 0.5845 GB, free: 49.06 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001289/1.236, allocations: 360 kB / 0.5848 GB, free: 48.72 MB / 395.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 575 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (627): * Single equations (assignments): 624 * 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.001001/1.237, allocations: 403.9 kB / 0.5852 GB, free: 48.32 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007627/1.238, allocations: 284.2 kB / 0.5855 GB, free: 48.04 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001465/1.239, allocations: 484.3 kB / 0.5859 GB, free: 47.63 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.909e-05/1.239, allocations: 15.19 kB / 0.586 GB, free: 47.62 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.257e-05/1.239, allocations: 4 kB / 0.586 GB, free: 47.61 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.177e-05/1.239, allocations: 3.234 kB / 0.586 GB, free: 47.61 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008086/1.247, allocations: 2.849 MB / 0.5887 GB, free: 45.21 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.801e-05/1.248, allocations: 7.953 kB / 0.5888 GB, free: 45.2 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001061/1.249, allocations: 118 kB / 0.5889 GB, free: 45.1 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.457e-05/1.249, allocations: 4 kB / 0.5889 GB, free: 45.1 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.198e-05/1.249, allocations: 9.125 kB / 0.5889 GB, free: 45.09 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.008e-05/1.249, allocations: 11.94 kB / 0.5889 GB, free: 45.08 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.312e-06/1.249, allocations: 4 kB / 0.5889 GB, free: 45.07 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003144/1.252, allocations: 2.378 MB / 0.5912 GB, free: 42.72 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001489/1.253, allocations: 455.9 kB / 0.5917 GB, free: 42.28 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005888/1.254, allocations: 4 kB / 0.5917 GB, free: 42.28 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001893/1.256, allocations: 35.55 kB / 0.5917 GB, free: 42.25 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002535/1.256, allocations: 54.11 kB / 0.5917 GB, free: 42.22 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.375e-05/1.256, allocations: 29.56 kB / 0.5918 GB, free: 42.19 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.004792/1.261, allocations: 2.007 MB / 0.5937 GB, free: 40.46 MB / 395.1 MB Notification: Performance of sort global known variables: time 8.12e-07/1.261, allocations: 4 kB / 0.5937 GB, free: 40.46 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.006245/1.268, allocations: 0.7626 MB / 0.5945 GB, free: 39.69 MB / 395.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 61 * 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.0004864/1.268, allocations: 132.7 kB / 0.5946 GB, free: 39.56 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.005709/1.274, allocations: 2.645 MB / 0.5972 GB, free: 37.18 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 1.029e-05/1.274, allocations: 0 / 0.5972 GB, free: 37.18 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007854/1.275, allocations: 412.6 kB / 0.5976 GB, free: 36.81 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002698/1.277, allocations: 315.5 kB / 0.5979 GB, free: 36.54 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01502/1.292, allocations: 5.699 MB / 0.6034 GB, free: 31.29 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005188/1.298, allocations: 2.756 MB / 0.6061 GB, free: 28.53 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001156/1.299, allocations: 263.4 kB / 0.6064 GB, free: 28.27 MB / 395.1 MB Notification: Performance of SimCode: time 1.032e-06/1.299, allocations: 0 / 0.6064 GB, free: 28.27 MB / 395.1 MB Notification: Performance of Templates: time 0.09575/1.395, allocations: 42.78 MB / 0.6482 GB, free: 1.812 MB / 411.1 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.sim & ./Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces_res.mat","/var/lib/jenkins1/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_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches