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.001848/0.001848, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001835/0.001835, allocations: 212.9 kB / 23.73 MB, free: 4.164 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.598/1.598, allocations: 230.5 MB / 257.4 MB, free: 7.75 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.002011/0.002011, allocations: 63.89 kB / 377.7 MB, free: 2.883 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3533/0.3553, allocations: 53.42 MB / 431.2 MB, free: 6.418 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.01219/0.3675, allocations: 7.951 MB / 439.1 MB, free: 14.44 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00731/0.3748, allocations: 2.59 MB / 441.7 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002145/0.3769, allocations: 55.75 kB / 441.8 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004845/0.3818, allocations: 1.799 MB / 443.6 MB, free: 9.98 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005411/0.3872, allocations: 1.366 MB / 444.9 MB, free: 8.609 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007979/0.388, allocations: 215.7 kB / 445.1 MB, free: 8.398 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004424/0.3924, allocations: 2.339 MB / 447.5 MB, free: 6.055 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00269/0.3951, allocations: 1.73 MB / 449.2 MB, free: 4.273 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001975/0.3971, allocations: 1.012 MB / 450.2 MB, free: 3.258 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004161/0.4012, allocations: 2.509 MB / 452.7 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007155/0.402, allocations: 188 kB / 452.9 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001168/0.4031, allocations: 427.4 kB / 453.3 MB, free: 144 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001492/0.4046, allocations: 1.336 MB / 454.7 MB, free: 14.8 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001519/0.4061, allocations: 1.117 MB / 455.8 MB, free: 13.68 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006763/0.4129, allocations: 4.873 MB / 460.6 MB, free: 8.781 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.907e-06/0.4129, allocations: 0 / 460.6 MB, free: 8.781 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.557e-06/0.4129, allocations: 0 / 460.6 MB, free: 8.781 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002209/0.4131, allocations: 0 / 460.6 MB, free: 8.781 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.009228/0.4224, allocations: 3.646 MB / 464.3 MB, free: 5.082 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.635e-05/0.4224, allocations: 11.98 kB / 464.3 MB, free: 5.07 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0011/0.4235, allocations: 0.5385 MB / 464.8 MB, free: 4.52 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006647/0.4302, allocations: 1.718 MB / 466.6 MB, free: 2.797 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004394/0.4346, allocations: 1.536 MB / 468.1 MB, free: 1.223 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001331/0.4347, allocations: 147.8 kB / 468.2 MB, free: 1.078 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004456/0.4351, allocations: 199.8 kB / 468.4 MB, free: 0.8828 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01145/0.4466, allocations: 6.986 MB / 475.4 MB, free: 9.352 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.142e-05/0.4467, allocations: 35.7 kB / 475.5 MB, free: 9.316 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002708/0.4469, allocations: 99.88 kB / 475.6 MB, free: 9.219 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002415/0.4493, allocations: 1.555 MB / 477.1 MB, free: 7.66 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0099/0.4592, allocations: 5.489 MB / 482.6 MB, free: 2.16 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03667/0.4959, allocations: 26.09 MB / 0.4968 GB, free: 7.168 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003046/0.499, allocations: 1.124 MB / 0.4979 GB, free: 5.98 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000766/0.4997, allocations: 480.6 kB / 0.4983 GB, free: 5.492 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004573/0.5043, allocations: 2.043 MB / 0.5003 GB, free: 3.418 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.212e-05/0.5043, allocations: 46.5 kB / 0.5004 GB, free: 3.363 MB / 414.1 MB Notification: Performance of pre-optimization done (n=89): time 3.587e-06/0.5044, allocations: 0 / 0.5004 GB, free: 3.363 MB / 414.1 MB Notification: Performance of matching and sorting (n=89): time 0.004005/0.5084, allocations: 1.778 MB / 0.5021 GB, free: 1.582 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001368/0.5085, allocations: 213.6 kB / 0.5023 GB, free: 1.324 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005459/0.514, allocations: 3.863 MB / 0.5061 GB, free: 13.47 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001071/0.5141, allocations: 41.69 kB / 0.5061 GB, free: 13.42 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002546/0.5166, allocations: 2.788 MB / 0.5088 GB, free: 10.61 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005379/0.5171, allocations: 409.1 kB / 0.5092 GB, free: 10.2 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001196/0.5183, allocations: 0.9685 MB / 0.5102 GB, free: 9.223 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001329/0.5185, allocations: 305.1 kB / 0.5105 GB, free: 8.922 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001865/0.5203, allocations: 1.208 MB / 0.5116 GB, free: 7.707 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004811/0.5251, allocations: 4.53 MB / 0.5161 GB, free: 1.477 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008169/0.5333, allocations: 6.29 MB / 0.5222 GB, free: 9.512 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001022/0.5334, allocations: 32 kB / 0.5222 GB, free: 9.48 MB / 446.1 MB Notification: Performance of matching and sorting (n=621) (initialization): time 0.01028/0.5437, allocations: 5.453 MB / 0.5276 GB, free: 4.023 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.828e-05/0.5438, allocations: 56 kB / 0.5276 GB, free: 3.969 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001538/0.5439, allocations: 124 kB / 0.5277 GB, free: 3.848 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001645/0.5441, allocations: 157 kB / 0.5279 GB, free: 3.695 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002979/0.5471, allocations: 1.088 MB / 0.5289 GB, free: 2.605 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002016/0.5473, allocations: 243 kB / 0.5292 GB, free: 2.367 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00414/0.5514, allocations: 0.694 MB / 0.5299 GB, free: 1.668 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006408/0.5521, allocations: 316 kB / 0.5302 GB, free: 1.359 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.003704/0.5558, allocations: 1.716 MB / 0.5318 GB, free: 15.63 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007777/0.5566, allocations: 317.8 kB / 0.5321 GB, free: 15.32 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001135/0.5577, allocations: 498.1 kB / 0.5326 GB, free: 14.82 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.882e-05/0.5578, allocations: 24 kB / 0.5326 GB, free: 14.8 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.212e-05/0.5578, allocations: 0 / 0.5326 GB, free: 14.8 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.394e-05/0.5578, allocations: 7.984 kB / 0.5326 GB, free: 14.79 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007245/0.565, allocations: 3.005 MB / 0.5356 GB, free: 11.71 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.23e-05/0.565, allocations: 4 kB / 0.5356 GB, free: 11.71 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005134/0.5656, allocations: 107.8 kB / 0.5357 GB, free: 11.6 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-05/0.5656, allocations: 11.94 kB / 0.5357 GB, free: 11.59 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.156e-05/0.5656, allocations: 16 kB / 0.5357 GB, free: 11.57 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.145e-06/0.5656, allocations: 4 kB / 0.5357 GB, free: 11.57 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.1e-06/0.5656, allocations: 4 kB / 0.5357 GB, free: 11.57 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002899/0.5685, allocations: 2.239 MB / 0.5379 GB, free: 9.273 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001073/0.5696, allocations: 361.6 kB / 0.5382 GB, free: 8.918 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002509/0.5699, allocations: 23.89 kB / 0.5383 GB, free: 8.895 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008261/0.5707, allocations: 27.97 kB / 0.5383 GB, free: 8.867 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001363/0.5708, allocations: 51.8 kB / 0.5383 GB, free: 8.816 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.611e-05/0.5709, allocations: 39.97 kB / 0.5384 GB, free: 8.777 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.004341/0.5752, allocations: 2.333 MB / 0.5407 GB, free: 6.461 MB / 462.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.5752, allocations: 0 / 0.5407 GB, free: 6.461 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004595/0.5798, allocations: 0.8066 MB / 0.5415 GB, free: 5.652 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.004052/0.5839, allocations: 2.849 MB / 0.5442 GB, free: 2.742 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005743/0.5896, allocations: 2.705 MB / 0.5469 GB, free: 68 kB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.051e-05/0.5896, allocations: 0 / 0.5469 GB, free: 68 kB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.2462/0.8359, allocations: 407 kB / 0.5473 GB, free: 117.1 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002743/0.8386, allocations: 385.2 kB / 0.5476 GB, free: 117.1 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0343/0.8729, allocations: 33.24 MB / 0.5801 GB, free: 87.32 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002244/0.8751, allocations: 2.124 MB / 0.5822 GB, free: 85.17 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.003114/0.8783, allocations: 1.49 MB / 0.5836 GB, free: 83.68 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00142/0.8797, allocations: 1.468 MB / 0.5851 GB, free: 82.21 MB / 462.1 MB Notification: Performance of SimCode: time 1.593e-06/0.8797, allocations: 0 / 0.5851 GB, free: 82.21 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1086/0.9882, allocations: 47.45 MB / 0.6314 GB, free: 35.34 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.48/15.47, allocations: 12.33 kB / 0.6314 GB, free: 35.33 MB / 462.1 MB " [Timeout remaining time 644] (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: 18.685329868923873]