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.001258/0.001258, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001448/0.001448, allocations: 212.7 kB / 24.52 MB, free: 3.91 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.386/1.386, allocations: 230.5 MB / 258.2 MB, free: 7.785 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_Surfaces",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001752/0.001752, allocations: 67.88 kB / 378.5 MB, free: 2.797 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2465/0.2483, allocations: 53.4 MB / 431.9 MB, free: 6.453 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.009881/0.2581, allocations: 7.918 MB / 439.8 MB, free: 14.5 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006002/0.2641, allocations: 2.589 MB / 442.4 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001948/0.2661, allocations: 59.75 kB / 442.5 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004185/0.2703, allocations: 1.791 MB / 444.3 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003915/0.2742, allocations: 1.366 MB / 445.6 MB, free: 8.68 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006452/0.2748, allocations: 215.7 kB / 445.9 MB, free: 8.469 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003878/0.2787, allocations: 2.339 MB / 448.2 MB, free: 6.125 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002498/0.2812, allocations: 1.734 MB / 449.9 MB, free: 4.336 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001492/0.2827, allocations: 1.012 MB / 450.9 MB, free: 3.32 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003562/0.2863, allocations: 2.587 MB / 453.5 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005019/0.2868, allocations: 188 kB / 453.7 MB, free: 0.543 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009548/0.2877, allocations: 435.4 kB / 454.1 MB, free: 120 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0013/0.289, allocations: 1.324 MB / 455.5 MB, free: 14.79 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00135/0.2904, allocations: 1.125 MB / 456.6 MB, free: 13.66 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005167/0.2955, allocations: 4.869 MB / 461.5 MB, free: 8.766 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.013e-06/0.2955, allocations: 3.984 kB / 461.5 MB, free: 8.762 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2956, allocations: 0 / 461.5 MB, free: 8.762 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.641e-05/0.2956, allocations: 4 kB / 461.5 MB, free: 8.758 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.00591/0.3016, allocations: 3.646 MB / 465.1 MB, free: 5.059 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/0.3016, allocations: 8.031 kB / 465.1 MB, free: 5.051 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 8.074e-05/0.3017, allocations: 72.11 kB / 465.2 MB, free: 4.98 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006631/0.3023, allocations: 0.5423 MB / 465.7 MB, free: 4.426 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005851/0.3082, allocations: 1.718 MB / 467.4 MB, free: 2.703 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003154/0.3113, allocations: 1.528 MB / 469 MB, free: 1.137 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001311/0.3115, allocations: 155.8 kB / 469.1 MB, free: 0.9844 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004133/0.3119, allocations: 191.9 kB / 469.3 MB, free: 0.7969 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009962/0.3219, allocations: 6.994 MB / 476.3 MB, free: 9.258 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.483e-05/0.3219, allocations: 27.75 kB / 476.3 MB, free: 9.23 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002722/0.3222, allocations: 103.9 kB / 476.4 MB, free: 9.129 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002245/0.3244, allocations: 1.547 MB / 478 MB, free: 7.578 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009712/0.3341, allocations: 5.497 MB / 483.5 MB, free: 2.07 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02986/0.364, allocations: 26.09 MB / 0.4976 GB, free: 7.078 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002578/0.3666, allocations: 1.13 MB / 0.4987 GB, free: 5.887 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000679/0.3673, allocations: 469.6 kB / 0.4992 GB, free: 5.406 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003602/0.3709, allocations: 2.039 MB / 0.5012 GB, free: 3.336 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.94e-05/0.3709, allocations: 54.48 kB / 0.5012 GB, free: 3.273 MB / 414.1 MB Notification: Performance of pre-optimization done (n=89): time 2.895e-06/0.3709, allocations: 0 / 0.5012 GB, free: 3.273 MB / 414.1 MB Notification: Performance of matching and sorting (n=89): time 0.003894/0.3748, allocations: 1.779 MB / 0.503 GB, free: 1.488 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001358/0.3749, allocations: 213.6 kB / 0.5032 GB, free: 1.23 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00503/0.38, allocations: 3.674 MB / 0.5067 GB, free: 13.57 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.609e-05/0.38, allocations: 33.7 kB / 0.5068 GB, free: 13.53 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002194/0.3822, allocations: 2.785 MB / 0.5095 GB, free: 10.71 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000428/0.3827, allocations: 417 kB / 0.5099 GB, free: 10.3 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001223/0.3839, allocations: 0.9687 MB / 0.5108 GB, free: 9.324 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001429/0.384, allocations: 305.1 kB / 0.5111 GB, free: 9.023 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001859/0.3859, allocations: 1.204 MB / 0.5123 GB, free: 7.812 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005146/0.391, allocations: 4.53 MB / 0.5167 GB, free: 1.582 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007797/0.3988, allocations: 6.292 MB / 0.5229 GB, free: 9.617 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.583e-05/0.3989, allocations: 32.56 kB / 0.5229 GB, free: 9.586 MB / 446.1 MB Notification: Performance of matching and sorting (n=621) (initialization): time 0.009828/0.4087, allocations: 5.454 MB / 0.5282 GB, free: 4.125 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.612e-05/0.4088, allocations: 56.97 kB / 0.5283 GB, free: 4.07 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001595/0.409, allocations: 120 kB / 0.5284 GB, free: 3.953 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001662/0.4092, allocations: 160 kB / 0.5286 GB, free: 3.797 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002958/0.4121, allocations: 1.084 MB / 0.5296 GB, free: 2.711 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002028/0.4123, allocations: 231.1 kB / 0.5298 GB, free: 2.484 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003185/0.4155, allocations: 0.7058 MB / 0.5305 GB, free: 1.773 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004072/0.4159, allocations: 316 kB / 0.5308 GB, free: 1.465 MB / 446.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.002596/0.4185, allocations: 1.712 MB / 0.5325 GB, free: 15.73 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005921/0.4191, allocations: 317.8 kB / 0.5328 GB, free: 15.42 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009477/0.42, allocations: 497.7 kB / 0.5333 GB, free: 14.93 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.005e-05/0.4201, allocations: 23.98 kB / 0.5333 GB, free: 14.91 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.047e-05/0.4201, allocations: 0 / 0.5333 GB, free: 14.91 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.057e-06/0.4201, allocations: 4 kB / 0.5333 GB, free: 14.91 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005385/0.4255, allocations: 3.009 MB / 0.5362 GB, free: 11.82 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.793e-06/0.4255, allocations: 4 kB / 0.5362 GB, free: 11.82 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000464/0.426, allocations: 107.8 kB / 0.5363 GB, free: 11.71 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.207e-05/0.426, allocations: 11.94 kB / 0.5364 GB, free: 11.7 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.503e-05/0.426, allocations: 16 kB / 0.5364 GB, free: 11.68 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.285e-06/0.426, allocations: 7.984 kB / 0.5364 GB, free: 11.68 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.6e-06/0.426, allocations: 8 kB / 0.5364 GB, free: 11.67 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002478/0.4285, allocations: 2.23 MB / 0.5386 GB, free: 9.387 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007351/0.4293, allocations: 369.5 kB / 0.5389 GB, free: 9.023 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002412/0.4295, allocations: 23.92 kB / 0.5389 GB, free: 9 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008241/0.4303, allocations: 35.95 kB / 0.539 GB, free: 8.965 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001071/0.4304, allocations: 47.8 kB / 0.539 GB, free: 8.918 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.729e-05/0.4305, allocations: 32 kB / 0.5391 GB, free: 8.887 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003355/0.4338, allocations: 2.329 MB / 0.5413 GB, free: 6.574 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4338, allocations: 4.062 kB / 0.5413 GB, free: 6.57 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003466/0.4373, allocations: 0.8067 MB / 0.5421 GB, free: 5.762 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.002948/0.4403, allocations: 2.845 MB / 0.5449 GB, free: 2.852 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004438/0.4447, allocations: 2.707 MB / 0.5475 GB, free: 180 kB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.1e-06/0.4447, allocations: 0 / 0.5475 GB, free: 180 kB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.1943/0.639, allocations: 400.6 kB / 0.5479 GB, free: 117 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002416/0.6414, allocations: 386.2 kB / 0.5483 GB, free: 117 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03313/0.6746, allocations: 33.25 MB / 0.5808 GB, free: 87.44 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002044/0.6766, allocations: 2.12 MB / 0.5828 GB, free: 85.29 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002603/0.6792, allocations: 1.494 MB / 0.5843 GB, free: 83.79 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001189/0.6804, allocations: 1.468 MB / 0.5857 GB, free: 82.32 MB / 462.1 MB Notification: Performance of SimCode: time 9.62e-07/0.6804, allocations: 0 / 0.5857 GB, free: 82.32 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5714/1.252, allocations: 49.32 MB / 0.6339 GB, free: 33.61 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 19.57/20.82, allocations: 16 kB / 0.6339 GB, free: 33.59 MB / 462.1 MB " [Timeout remaining time 639] (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/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 23.964688905980438]