Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001826/0.001826, allocations: 110 kB / 20.43 MB, free: 1.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002272/0.002272, allocations: 212.5 kB / 23.74 MB, free: 4.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.482/1.482, allocations: 230.5 MB / 257.4 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_Surfaces",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_Surfaces",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001906/0.001906, allocations: 67.89 kB / 377.8 MB, free: 2.984 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2577/0.2596, allocations: 53.41 MB / 431.2 MB, free: 6.801 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.01132/0.2709, allocations: 9.063 MB / 440.3 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006245/0.2771, allocations: 2.749 MB / 443 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001337/0.2785, allocations: 55.75 kB / 443.1 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003908/0.2824, allocations: 1.869 MB / 444.9 MB, free: 9.02 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003857/0.2862, allocations: 1.369 MB / 446.3 MB, free: 7.645 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006721/0.2869, allocations: 211.7 kB / 446.5 MB, free: 7.438 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003637/0.2906, allocations: 2.343 MB / 448.9 MB, free: 5.09 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003015/0.2936, allocations: 1.737 MB / 450.6 MB, free: 3.301 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002719/0.2963, allocations: 1.012 MB / 451.6 MB, free: 2.285 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004219/0.3005, allocations: 2.587 MB / 454.2 MB, free: 15.69 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007934/0.3013, allocations: 188 kB / 454.4 MB, free: 15.51 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001296/0.3026, allocations: 0.5189 MB / 454.9 MB, free: 14.99 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001444/0.304, allocations: 1.34 MB / 456.2 MB, free: 13.64 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001925/0.306, allocations: 1.575 MB / 457.8 MB, free: 12.06 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00618/0.3121, allocations: 4.85 MB / 462.7 MB, free: 7.188 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.553e-06/0.3122, allocations: 0 / 462.7 MB, free: 7.188 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.455e-06/0.3122, allocations: 4 kB / 462.7 MB, free: 7.184 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001736/0.3123, allocations: 0 / 462.7 MB, free: 7.184 MB / 366.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.007698/0.32, allocations: 3.646 MB / 466.3 MB, free: 3.484 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.093e-05/0.3201, allocations: 12.03 kB / 466.3 MB, free: 3.473 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008289/0.3209, allocations: 0.5346 MB / 466.9 MB, free: 2.926 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005803/0.3267, allocations: 1.722 MB / 468.6 MB, free: 1.199 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003565/0.3303, allocations: 1.533 MB / 470.1 MB, free: 15.62 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001295/0.3304, allocations: 147.7 kB / 470.3 MB, free: 15.48 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004774/0.3309, allocations: 195.9 kB / 470.4 MB, free: 15.29 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01071/0.3416, allocations: 6.986 MB / 477.4 MB, free: 7.762 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.828e-05/0.3417, allocations: 31.7 kB / 477.5 MB, free: 7.73 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002721/0.3419, allocations: 103.9 kB / 477.6 MB, free: 7.629 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002225/0.3442, allocations: 1.555 MB / 479.1 MB, free: 6.07 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009786/0.3539, allocations: 5.485 MB / 484.6 MB, free: 0.5742 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03389/0.3878, allocations: 27.08 MB / 0.4997 GB, free: 4.59 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002666/0.3905, allocations: 1.13 MB / 0.5008 GB, free: 3.398 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007254/0.3912, allocations: 476.7 kB / 0.5012 GB, free: 2.914 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004205/0.3954, allocations: 2.222 MB / 0.5034 GB, free: 0.6484 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.142e-05/0.3955, allocations: 50.5 kB / 0.5035 GB, free: 0.5898 MB / 414.1 MB Notification: Performance of pre-optimization done (n=89): time 2.905e-06/0.3955, allocations: 0 / 0.5035 GB, free: 0.5898 MB / 414.1 MB Notification: Performance of matching and sorting (n=89): time 0.003892/0.3994, allocations: 1.774 MB / 0.5052 GB, free: 14.81 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001285/0.3995, allocations: 222.3 kB / 0.5054 GB, free: 14.55 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005416/0.4049, allocations: 3.67 MB / 0.509 GB, free: 10.89 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001015/0.405, allocations: 37.7 kB / 0.509 GB, free: 10.84 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002152/0.4072, allocations: 2.792 MB / 0.5118 GB, free: 8.023 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004378/0.4076, allocations: 409.1 kB / 0.5121 GB, free: 7.621 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001484/0.4091, allocations: 0.9607 MB / 0.5131 GB, free: 6.648 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001218/0.4092, allocations: 309.1 kB / 0.5134 GB, free: 6.344 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001799/0.411, allocations: 1.208 MB / 0.5146 GB, free: 5.129 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004497/0.4155, allocations: 4.526 MB / 0.519 GB, free: 14.9 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007843/0.4233, allocations: 6.295 MB / 0.5251 GB, free: 6.934 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.896e-05/0.4234, allocations: 36 kB / 0.5252 GB, free: 6.898 MB / 446.1 MB Notification: Performance of matching and sorting (n=621) (initialization): time 0.01031/0.4338, allocations: 5.457 MB / 0.5305 GB, free: 1.438 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.666e-05/0.4338, allocations: 56 kB / 0.5305 GB, free: 1.383 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001538/0.434, allocations: 128.8 kB / 0.5307 GB, free: 1.258 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001543/0.4341, allocations: 152 kB / 0.5308 GB, free: 1.109 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003334/0.4375, allocations: 1.088 MB / 0.5319 GB, free: 20 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000222/0.4377, allocations: 231.1 kB / 0.5321 GB, free: 15.79 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00343/0.4411, allocations: 0.6941 MB / 0.5328 GB, free: 15.09 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000529/0.4417, allocations: 315.9 kB / 0.5331 GB, free: 14.78 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 544 * 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 (589): * Single equations (assignments): 585 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002572/0.4442, allocations: 1.715 MB / 0.5347 GB, free: 13.05 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005623/0.4448, allocations: 317.8 kB / 0.5351 GB, free: 12.74 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009436/0.4457, allocations: 490.2 kB / 0.5355 GB, free: 12.26 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.573e-05/0.4458, allocations: 27.98 kB / 0.5355 GB, free: 12.23 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.077e-06/0.4458, allocations: 0 / 0.5355 GB, free: 12.23 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.256e-05/0.4458, allocations: 7.984 kB / 0.5356 GB, free: 12.22 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005952/0.4518, allocations: 3.118 MB / 0.5386 GB, free: 9.027 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.425e-05/0.4518, allocations: 4.047 kB / 0.5386 GB, free: 9.023 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005125/0.4523, allocations: 111.8 kB / 0.5387 GB, free: 8.914 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.207e-05/0.4523, allocations: 11.88 kB / 0.5387 GB, free: 8.902 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.208e-05/0.4524, allocations: 19.98 kB / 0.5387 GB, free: 8.883 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.727e-06/0.4524, allocations: 4 kB / 0.5387 GB, free: 8.879 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.482e-06/0.4524, allocations: 7.938 kB / 0.5388 GB, free: 8.871 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002724/0.4551, allocations: 2.227 MB / 0.5409 GB, free: 6.59 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009923/0.4561, allocations: 373.6 kB / 0.5413 GB, free: 6.223 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002628/0.4564, allocations: 23.88 kB / 0.5413 GB, free: 6.199 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008245/0.4572, allocations: 27.97 kB / 0.5413 GB, free: 6.172 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001098/0.4573, allocations: 55.86 kB / 0.5414 GB, free: 6.117 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.934e-05/0.4573, allocations: 28 kB / 0.5414 GB, free: 6.09 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003805/0.4612, allocations: 2.337 MB / 0.5437 GB, free: 3.77 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.4612, allocations: 0 / 0.5437 GB, free: 3.77 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003917/0.4651, allocations: 0.7989 MB / 0.5445 GB, free: 2.969 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (58): * Single equations (assignments): 54 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003076/0.4681, allocations: 2.847 MB / 0.5473 GB, free: 60 kB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.1979/0.666, allocations: 2.709 MB / 0.5499 GB, free: 116.7 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.083e-06/0.666, allocations: 1.438 kB / 0.5499 GB, free: 116.7 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005284/0.6666, allocations: 402.5 kB / 0.5503 GB, free: 116.5 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002174/0.6687, allocations: 381.7 kB / 0.5506 GB, free: 116.4 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03413/0.7029, allocations: 33.26 MB / 0.5831 GB, free: 85.16 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002367/0.7052, allocations: 2.685 MB / 0.5857 GB, free: 82.45 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002745/0.708, allocations: 1.487 MB / 0.5872 GB, free: 80.96 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001347/0.7093, allocations: 1.464 MB / 0.5886 GB, free: 79.5 MB / 462.1 MB Notification: Performance of SimCode: time 9.62e-07/0.7093, allocations: 4 kB / 0.5886 GB, free: 79.49 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08896/0.7983, allocations: 51.59 MB / 0.639 GB, free: 28.19 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 19.44/20.23, allocations: 8.062 kB / 0.639 GB, free: 28.18 MB / 462.1 MB " [Timeout remaining time 640] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0009996 Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_Surfaces.fmu > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/Surfaces/Surfaces.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable prismatic.s in file Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces_res.csv. Warning: Get data of variable prismatic.s from file Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 22.952123991002736]