Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001459/0.001459, allocations: 96.3 kB / 21.73 MB, free: 2.703 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001921/0.001921, allocations: 168 kB / 25.02 MB, free: 8.43 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.407/1.407, allocations: 158.6 MB / 186.8 MB, free: 2.863 MB / 170.7 MB " [Timeout remaining time 178] 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 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 0 / 250.4 MB, free: 3.93 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.968e-05/3.149e-05, allocations: 2.312 kB / 250.4 MB, free: 3.926 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.01207/0.0121, allocations: 8.007 MB / 258.4 MB, free: 11.88 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.006557/0.01866, allocations: 2.543 MB / 260.9 MB, free: 9.328 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001116/0.01978, allocations: 55.75 kB / 261 MB, free: 9.273 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004274/0.02405, allocations: 1.892 MB / 262.9 MB, free: 7.375 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004174/0.02822, allocations: 1.407 MB / 264.3 MB, free: 5.961 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006469/0.02887, allocations: 239.5 kB / 264.5 MB, free: 5.727 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.005501/0.03437, allocations: 3.383 MB / 267.9 MB, free: 2.34 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003448/0.03782, allocations: 2.132 MB / 270 MB, free: 156 kB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003406/0.04123, allocations: 1.539 MB / 271.6 MB, free: 14.61 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00364/0.04487, allocations: 1.808 MB / 273.4 MB, free: 12.8 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006862/0.04555, allocations: 188 kB / 273.6 MB, free: 12.61 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001153/0.0467, allocations: 455.3 kB / 274 MB, free: 12.17 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001582/0.04829, allocations: 1.398 MB / 275.4 MB, free: 10.77 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001279/0.04957, allocations: 0.8212 MB / 276.2 MB, free: 9.941 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007585/0.05715, allocations: 4.741 MB / 281 MB, free: 5.184 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/0.05716, allocations: 0 / 281 MB, free: 5.184 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.475e-06/0.05716, allocations: 0 / 281 MB, free: 5.184 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0002325/0.05739, allocations: 0 / 281 MB, free: 5.184 MB / 266.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.009487/0.06688, allocations: 3.615 MB / 284.6 MB, free: 1.516 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.917e-05/0.06694, allocations: 19.91 kB / 284.6 MB, free: 1.496 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006426/0.07336, allocations: 2.038 MB / 286.6 MB, free: 15.45 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004063/0.07743, allocations: 1.54 MB / 288.2 MB, free: 13.87 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001684/0.0776, allocations: 151.9 kB / 288.3 MB, free: 13.72 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005565/0.07815, allocations: 199.9 kB / 288.5 MB, free: 13.53 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01318/0.09133, allocations: 6.982 MB / 295.5 MB, free: 5.996 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-05/0.09142, allocations: 31.7 kB / 295.5 MB, free: 5.965 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003401/0.09176, allocations: 107.9 kB / 295.6 MB, free: 5.859 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002732/0.09449, allocations: 1.555 MB / 297.2 MB, free: 4.305 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1344/0.2288, allocations: 5.493 MB / 302.7 MB, free: 52.86 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02581/0.2547, allocations: 25.39 MB / 328.1 MB, free: 34.01 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002211/0.2569, allocations: 1.171 MB / 329.2 MB, free: 33.4 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004939/0.2574, allocations: 474.7 kB / 329.7 MB, free: 33.16 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002898/0.2603, allocations: 2.043 MB / 331.8 MB, free: 31.82 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.207e-05/0.2603, allocations: 42.44 kB / 331.8 MB, free: 31.78 MB / 282.7 MB Notification: Performance of pre-optimization done (n=89): time 2.355e-06/0.2603, allocations: 3.25 kB / 331.8 MB, free: 31.78 MB / 282.7 MB Notification: Performance of matching and sorting (n=89): time 0.003282/0.2636, allocations: 1.842 MB / 333.6 MB, free: 30.78 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.158e-05/0.2636, allocations: 217.1 kB / 333.9 MB, free: 30.52 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003341/0.267, allocations: 3.537 MB / 337.4 MB, free: 27.12 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.28e-05/0.267, allocations: 33.38 kB / 337.4 MB, free: 27.09 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009935/0.268, allocations: 2.78 MB / 340.2 MB, free: 24.4 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001941/0.2682, allocations: 399.7 kB / 340.6 MB, free: 24.02 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007991/0.269, allocations: 0.949 MB / 341.5 MB, free: 23.05 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.596e-05/0.269, allocations: 305.1 kB / 341.8 MB, free: 22.75 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001281/0.2703, allocations: 1.208 MB / 343 MB, free: 21.54 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002221/0.2725, allocations: 4.532 MB / 347.6 MB, free: 15.31 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004188/0.2767, allocations: 6.293 MB / 353.9 MB, free: 7.375 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.505e-05/0.2768, allocations: 43.94 kB / 353.9 MB, free: 7.332 MB / 282.7 MB Notification: Performance of matching and sorting (n=621) (initialization): time 0.006608/0.2834, allocations: 5.685 MB / 359.6 MB, free: 1.648 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.111e-05/0.2834, allocations: 56 kB / 359.7 MB, free: 1.594 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.943e-05/0.2835, allocations: 120 kB / 359.8 MB, free: 1.477 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001101/0.2836, allocations: 156 kB / 359.9 MB, free: 1.324 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002479/0.2861, allocations: 1.088 MB / 361 MB, free: 240 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001029/0.2862, allocations: 231.1 kB / 361.2 MB, free: 8 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003337/0.2896, allocations: 0.675 MB / 361.9 MB, free: 15.33 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004379/0.29, allocations: 312 kB / 362.2 MB, free: 15.02 MB / 298.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.002745/0.2927, allocations: 1.709 MB / 363.9 MB, free: 13.3 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006117/0.2934, allocations: 310 kB / 364.2 MB, free: 13 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009832/0.2943, allocations: 471.7 kB / 364.7 MB, free: 12.53 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.725e-05/0.2944, allocations: 27.98 kB / 364.7 MB, free: 12.5 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.235e-06/0.2944, allocations: 0 / 364.7 MB, free: 12.5 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.198e-05/0.2944, allocations: 7.984 kB / 364.7 MB, free: 12.49 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005158/0.2996, allocations: 2.39 MB / 367.1 MB, free: 10.04 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.534e-05/0.2996, allocations: 12.8 kB / 367.1 MB, free: 10.03 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000487/0.3001, allocations: 92.17 kB / 367.2 MB, free: 9.941 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.2e-05/0.3001, allocations: 12 kB / 367.2 MB, free: 9.93 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.304e-05/0.3001, allocations: 19.98 kB / 367.2 MB, free: 9.91 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-05/0.3002, allocations: 11.94 kB / 367.3 MB, free: 9.898 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/0.3002, allocations: 4 kB / 367.3 MB, free: 9.895 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003279/0.3034, allocations: 2.22 MB / 369.5 MB, free: 7.625 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008336/0.3043, allocations: 333.8 kB / 369.8 MB, free: 7.297 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002443/0.3045, allocations: 27.89 kB / 369.8 MB, free: 7.27 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008419/0.3054, allocations: 28.03 kB / 369.9 MB, free: 7.242 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001308/0.3055, allocations: 55.8 kB / 369.9 MB, free: 7.188 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.935e-05/0.3056, allocations: 35.59 kB / 370 MB, free: 7.156 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.003751/0.3093, allocations: 2.102 MB / 372.1 MB, free: 5.062 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3093, allocations: 0 / 372.1 MB, free: 5.062 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.004235/0.3135, allocations: 0.8337 MB / 372.9 MB, free: 4.223 MB / 298.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.0004083/0.3139, allocations: 142.5 kB / 373 MB, free: 4.078 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.00525/0.3192, allocations: 2.7 MB / 375.7 MB, free: 1.406 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.693e-06/0.3192, allocations: 0 / 375.7 MB, free: 1.406 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007186/0.3199, allocations: 411.5 kB / 376.1 MB, free: 1.004 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00241/0.3223, allocations: 352.8 kB / 376.5 MB, free: 0.6641 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01297/0.3353, allocations: 6.782 MB / 383.3 MB, free: 9.785 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003541/0.3388, allocations: 2.132 MB / 385.4 MB, free: 7.625 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.003792/0.3426, allocations: 1.461 MB / 386.8 MB, free: 6.156 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004835/0.3431, allocations: 184.5 kB / 387 MB, free: 5.977 MB / 314.7 MB Notification: Performance of SimCode: time 2.044e-06/0.3431, allocations: 4 kB / 387 MB, free: 5.973 MB / 314.7 MB Notification: Performance of Templates: time 0.04455/0.3877, allocations: 16.41 MB / 403.4 MB, free: 5.648 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/Surfaces/Surfaces.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 5.697689126012847]