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.0008051/0.0008051, allocations: 88.33 kB / 20.67 MB, free: 3.883 MB / 18.57 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.00078/0.00078, allocations: 156.9 kB / 23.95 MB, free: 0.6094 MB / 18.57 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 0.9601/0.9601, allocations: 177 MB / 204.1 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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 1.653e-06/1.653e-06, allocations: 0 / 324.5 MB, free: 15.87 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.478e-05/1.643e-05, allocations: 2.281 kB / 324.5 MB, free: 15.86 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.007039/0.007056, allocations: 7.97 MB / 332.5 MB, free: 7.852 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004597/0.01165, allocations: 2.6 MB / 335.1 MB, free: 5.242 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007018/0.01235, allocations: 55.75 kB / 335.2 MB, free: 5.188 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002496/0.01485, allocations: 1.872 MB / 337 MB, free: 3.309 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002188/0.01704, allocations: 1.407 MB / 338.4 MB, free: 1.895 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004185/0.01746, allocations: 231.5 kB / 338.7 MB, free: 1.668 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002538/0.01999, allocations: 3.437 MB / 342.1 MB, free: 14.22 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001358/0.02135, allocations: 2.057 MB / 344.2 MB, free: 12.11 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001151/0.0225, allocations: 1.528 MB / 345.7 MB, free: 10.58 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001558/0.02406, allocations: 1.808 MB / 347.5 MB, free: 8.77 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000171/0.02423, allocations: 188 kB / 347.7 MB, free: 8.586 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005396/0.02477, allocations: 459.4 kB / 348.1 MB, free: 8.137 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006665/0.02544, allocations: 1.383 MB / 349.5 MB, free: 6.75 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004895/0.02593, allocations: 0.8094 MB / 350.3 MB, free: 5.938 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002784/0.02871, allocations: 4.722 MB / 355 MB, free: 1.199 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.02872, allocations: 0 / 355 MB, free: 1.199 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.02872, allocations: 0 / 355 MB, free: 1.199 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.528e-05/0.02874, allocations: 0 / 355 MB, free: 1.199 MB / 314.7 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.003151/0.03189, allocations: 3.592 MB / 358.6 MB, free: 13.55 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/0.03194, allocations: 15.98 kB / 358.7 MB, free: 13.54 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000387/0.03232, allocations: 0.5385 MB / 359.2 MB, free: 12.98 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003145/0.03547, allocations: 1.734 MB / 360.9 MB, free: 11.25 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001596/0.03707, allocations: 1.54 MB / 362.5 MB, free: 9.664 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.441e-05/0.03714, allocations: 151.8 kB / 362.6 MB, free: 9.516 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002286/0.03737, allocations: 199.8 kB / 362.8 MB, free: 9.32 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005589/0.04296, allocations: 6.994 MB / 369.8 MB, free: 1.781 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.477e-05/0.043, allocations: 31.69 kB / 369.8 MB, free: 1.75 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001619/0.04316, allocations: 103.9 kB / 369.9 MB, free: 1.648 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001226/0.04439, allocations: 1.555 MB / 371.5 MB, free: 92 kB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005434/0.04982, allocations: 5.489 MB / 377 MB, free: 10.59 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01816/0.06798, allocations: 26.11 MB / 403.1 MB, free: 15.58 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001827/0.06981, allocations: 1.162 MB / 404.3 MB, free: 14.36 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004254/0.07024, allocations: 469.3 kB / 404.7 MB, free: 13.88 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002416/0.07265, allocations: 2.072 MB / 406.8 MB, free: 11.78 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.208e-05/0.07268, allocations: 50.5 kB / 406.8 MB, free: 11.72 MB / 378.7 MB Notification: Performance of pre-optimization done (n=89): time 3.347e-06/0.07269, allocations: 0 / 406.8 MB, free: 11.72 MB / 378.7 MB Notification: Performance of matching and sorting (n=89): time 0.002326/0.07501, allocations: 1.84 MB / 408.7 MB, free: 9.875 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.005e-05/0.07509, allocations: 213.6 kB / 408.9 MB, free: 9.617 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003344/0.07844, allocations: 3.874 MB / 412.8 MB, free: 5.75 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.869e-05/0.07848, allocations: 41.69 kB / 412.8 MB, free: 5.703 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001237/0.07971, allocations: 2.753 MB / 415.6 MB, free: 2.922 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000204/0.07992, allocations: 405.1 kB / 415.9 MB, free: 2.523 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006864/0.0806, allocations: 0.9489 MB / 416.9 MB, free: 1.562 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.921e-05/0.08068, allocations: 301.1 kB / 417.2 MB, free: 1.266 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001274/0.08196, allocations: 1.212 MB / 418.4 MB, free: 48 kB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002662/0.08462, allocations: 4.53 MB / 422.9 MB, free: 9.812 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00429/0.08891, allocations: 6.292 MB / 429.2 MB, free: 1.848 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.282e-05/0.08894, allocations: 32 kB / 429.3 MB, free: 1.816 MB / 394.7 MB Notification: Performance of matching and sorting (n=621) (initialization): time 0.004898/0.09384, allocations: 5.451 MB / 434.7 MB, free: 12.36 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.344e-05/0.09389, allocations: 56 kB / 434.8 MB, free: 12.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.374e-05/0.09396, allocations: 120 kB / 434.9 MB, free: 12.19 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.054e-05/0.09405, allocations: 156.3 kB / 435 MB, free: 12.04 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001557/0.0956, allocations: 1.084 MB / 436.1 MB, free: 10.95 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001033/0.09571, allocations: 231.1 kB / 436.3 MB, free: 10.72 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001843/0.09755, allocations: 0.7096 MB / 437 MB, free: 10.01 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002239/0.09777, allocations: 312 kB / 437.4 MB, free: 9.703 MB / 410.7 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.001717/0.09949, allocations: 1.719 MB / 439.1 MB, free: 7.977 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002361/0.09973, allocations: 325.8 kB / 439.4 MB, free: 7.656 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005125/0.1002, allocations: 498 kB / 439.9 MB, free: 7.164 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.114e-05/0.1003, allocations: 23.98 kB / 439.9 MB, free: 7.141 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.158e-05/0.1003, allocations: 0 / 439.9 MB, free: 7.141 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.285e-06/0.1003, allocations: 7.984 kB / 439.9 MB, free: 7.133 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003132/0.1034, allocations: 3.032 MB / 442.9 MB, free: 4.023 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.1034, allocations: 4 kB / 442.9 MB, free: 4.02 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002442/0.1037, allocations: 107.8 kB / 443.1 MB, free: 3.914 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.582e-06/0.1037, allocations: 8 kB / 443.1 MB, free: 3.906 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.389e-05/0.1037, allocations: 19.98 kB / 443.1 MB, free: 3.887 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.542e-06/0.1037, allocations: 7.938 kB / 443.1 MB, free: 3.879 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.698e-06/0.1037, allocations: 8 kB / 443.1 MB, free: 3.871 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00155/0.1053, allocations: 2.227 MB / 445.3 MB, free: 1.594 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003473/0.1056, allocations: 361.6 kB / 445.7 MB, free: 1.238 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001223/0.1057, allocations: 23.94 kB / 445.7 MB, free: 1.215 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004441/0.1062, allocations: 35.91 kB / 445.7 MB, free: 1.18 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.834e-05/0.1063, allocations: 47.84 kB / 445.8 MB, free: 1.133 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.513e-05/0.1063, allocations: 32 kB / 445.8 MB, free: 1.102 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.1591/0.2654, allocations: 2.334 MB / 448.1 MB, free: 110.3 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.2654, allocations: 0 / 448.1 MB, free: 110.3 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002569/0.2679, allocations: 0.7986 MB / 448.9 MB, free: 110.3 MB / 410.7 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.001592/0.2695, allocations: 2.844 MB / 451.8 MB, free: 108.8 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002155/0.2717, allocations: 2.706 MB / 454.5 MB, free: 107.9 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.2717, allocations: 1.5 kB / 454.5 MB, free: 107.9 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002654/0.272, allocations: 407.9 kB / 454.9 MB, free: 107.8 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001159/0.2731, allocations: 386.6 kB / 455.3 MB, free: 107.6 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01921/0.2923, allocations: 32.97 MB / 488.2 MB, free: 74.79 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001337/0.2937, allocations: 2.121 MB / 490.4 MB, free: 72.65 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001688/0.2953, allocations: 1.497 MB / 491.9 MB, free: 71.15 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008276/0.2962, allocations: 1.469 MB / 493.3 MB, free: 69.68 MB / 410.7 MB Notification: Performance of SimCode: time 1.483e-06/0.2962, allocations: 0 / 493.3 MB, free: 69.68 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04774/0.3439, allocations: 47.46 MB / 0.5281 GB, free: 22.77 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.19/9.534, allocations: 4 kB / 0.5281 GB, free: 22.77 MB / 410.7 MB " [Timeout remaining time 650] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces_res.mat --tempDir=temp_Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_Surfaces_fmu --startTime=0 --stopTime=5 --stepSize=0.0009996 --timeout=50 --tolerance=1e-06 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.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/Surfaces/Surfaces.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.559146489948034]