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.001428/0.001428, allocations: 84.77 kB / 21.43 MB, free: 296 kB / 14.72 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.001434/0.001434, allocations: 164 kB / 24.7 MB, free: 3.547 MB / 14.72 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.366/1.366, allocations: 158.6 MB / 186.5 MB, free: 6.395 MB / 174.1 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.843e-06/1.843e-06, allocations: 0 / 299 MB, free: 8.707 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.186e-05/3.37e-05, allocations: 2.281 kB / 299 MB, free: 8.703 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.01099/0.01102, allocations: 8 MB / 307 MB, free: 0.6602 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.007024/0.01805, allocations: 2.547 MB / 309.5 MB, free: 14.11 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00136/0.01941, allocations: 55.75 kB / 309.6 MB, free: 14.05 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004103/0.02351, allocations: 1.872 MB / 311.4 MB, free: 12.17 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003994/0.0275, allocations: 1.399 MB / 312.8 MB, free: 10.77 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000634/0.02814, allocations: 235.5 kB / 313.1 MB, free: 10.54 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004826/0.03296, allocations: 3.384 MB / 316.5 MB, free: 7.141 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003053/0.03602, allocations: 2.057 MB / 318.5 MB, free: 5.035 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00237/0.03839, allocations: 1.547 MB / 320.1 MB, free: 3.484 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002709/0.0411, allocations: 1.812 MB / 321.9 MB, free: 1.668 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004076/0.0415, allocations: 188 kB / 322.1 MB, free: 1.484 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009484/0.04245, allocations: 451.3 kB / 322.5 MB, free: 1.043 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.1701/0.2125, allocations: 1.391 MB / 323.9 MB, free: 19.39 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001965/0.2145, allocations: 0.8206 MB / 324.7 MB, free: 19.39 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008645/0.2231, allocations: 4.737 MB / 329.4 MB, free: 19.12 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.047e-06/0.2231, allocations: 0 / 329.4 MB, free: 19.12 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.2231, allocations: 0 / 329.4 MB, free: 19.12 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0002755/0.2234, allocations: 0.5938 kB / 329.4 MB, free: 19.12 MB / 302.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.01311/0.2365, allocations: 3.617 MB / 333.1 MB, free: 17.45 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.293e-05/0.2366, allocations: 13.7 kB / 333.1 MB, free: 17.44 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007052/0.2436, allocations: 1.69 MB / 334.8 MB, free: 17.19 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004664/0.2483, allocations: 1.528 MB / 336.3 MB, free: 16.7 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001761/0.2485, allocations: 151.4 kB / 336.4 MB, free: 16.7 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001054/0.2495, allocations: 196.8 kB / 336.6 MB, free: 16.7 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01334/0.2629, allocations: 6.991 MB / 343.6 MB, free: 13.57 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.733e-05/0.263, allocations: 26.97 kB / 343.6 MB, free: 13.57 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005726/0.2636, allocations: 97.92 kB / 343.7 MB, free: 13.54 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002385/0.2659, allocations: 1.562 MB / 345.3 MB, free: 13.21 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01012/0.2761, allocations: 5.495 MB / 350.8 MB, free: 10.71 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03703/0.3131, allocations: 25.33 MB / 376.1 MB, free: 0.8906 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003434/0.3165, allocations: 1.175 MB / 377.3 MB, free: 15.68 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00111/0.3176, allocations: 474.4 kB / 377.8 MB, free: 15.2 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005654/0.3233, allocations: 2.042 MB / 379.8 MB, free: 13.14 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.127e-05/0.3233, allocations: 41.38 kB / 379.8 MB, free: 13.1 MB / 334.1 MB Notification: Performance of pre-optimization done (n=89): time 4.137e-06/0.3233, allocations: 3.828 kB / 379.8 MB, free: 13.1 MB / 334.1 MB Notification: Performance of matching and sorting (n=89): time 0.005293/0.3286, allocations: 1.824 MB / 381.7 MB, free: 11.29 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000162/0.3288, allocations: 221.4 kB / 381.9 MB, free: 11.03 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009285/0.3381, allocations: 3.538 MB / 385.4 MB, free: 7.488 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002337/0.3383, allocations: 37.7 kB / 385.5 MB, free: 7.445 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003662/0.342, allocations: 2.772 MB / 388.2 MB, free: 4.695 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009426/0.3429, allocations: 396.9 kB / 388.6 MB, free: 4.312 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002519/0.3454, allocations: 0.9554 MB / 389.6 MB, free: 3.348 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001573/0.3456, allocations: 304.8 kB / 389.9 MB, free: 3.051 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002724/0.3483, allocations: 1.208 MB / 391.1 MB, free: 1.836 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007336/0.3557, allocations: 4.525 MB / 395.6 MB, free: 11.67 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01098/0.3666, allocations: 6.291 MB / 401.9 MB, free: 3.871 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001601/0.3668, allocations: 36 kB / 401.9 MB, free: 3.836 MB / 350.1 MB Notification: Performance of matching and sorting (n=621) (initialization): time 0.01398/0.3808, allocations: 5.424 MB / 407.4 MB, free: 14.41 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001326/0.3809, allocations: 56.28 kB / 407.4 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002339/0.3811, allocations: 120 kB / 407.5 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001981/0.3813, allocations: 164 kB / 407.7 MB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004514/0.3858, allocations: 1.088 MB / 408.8 MB, free: 12.99 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002777/0.3861, allocations: 231.1 kB / 409 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005085/0.3912, allocations: 0.661 MB / 409.7 MB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001056/0.3923, allocations: 320 kB / 410 MB, free: 11.79 MB / 366.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.004768/0.397, allocations: 1.712 MB / 411.7 MB, free: 10.07 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008256/0.3979, allocations: 290 kB / 412 MB, free: 9.781 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001557/0.3994, allocations: 482.8 kB / 412.4 MB, free: 9.301 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.62e-05/0.3995, allocations: 25.34 kB / 412.5 MB, free: 9.277 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.41e-05/0.3995, allocations: 7.984 kB / 412.5 MB, free: 9.27 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.43e-05/0.3995, allocations: 0 / 412.5 MB, free: 9.27 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008156/0.4077, allocations: 2.397 MB / 414.9 MB, free: 6.816 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.564e-05/0.4077, allocations: 0.875 kB / 414.9 MB, free: 6.816 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006342/0.4083, allocations: 99.83 kB / 415 MB, free: 6.719 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.297e-05/0.4083, allocations: 8 kB / 415 MB, free: 6.711 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.975e-05/0.4084, allocations: 19.98 kB / 415 MB, free: 6.691 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.26e-05/0.4084, allocations: 11.94 kB / 415 MB, free: 6.68 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.38e-06/0.4084, allocations: 4.281 kB / 415 MB, free: 6.676 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003197/0.4116, allocations: 2.199 MB / 417.2 MB, free: 4.418 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00129/0.4129, allocations: 335.3 kB / 417.5 MB, free: 4.09 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005106/0.4134, allocations: 16 kB / 417.6 MB, free: 4.074 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001077/0.4145, allocations: 34.31 kB / 417.6 MB, free: 4.043 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001518/0.4147, allocations: 51.8 kB / 417.6 MB, free: 3.992 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.815e-05/0.4148, allocations: 28 kB / 417.7 MB, free: 3.965 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.005024/0.4198, allocations: 2.106 MB / 419.8 MB, free: 1.867 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.4198, allocations: 0 / 419.8 MB, free: 1.867 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.005566/0.4253, allocations: 0.848 MB / 420.6 MB, free: 1.023 MB / 366.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.0004913/0.4258, allocations: 146.1 kB / 420.8 MB, free: 0.875 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.005961/0.4318, allocations: 2.707 MB / 423.5 MB, free: 14.2 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.052e-05/0.4318, allocations: 0.5625 kB / 423.5 MB, free: 14.2 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000784/0.4326, allocations: 415.3 kB / 423.9 MB, free: 13.79 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002976/0.4356, allocations: 344.1 kB / 424.2 MB, free: 13.46 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0156/0.4512, allocations: 6.646 MB / 430.9 MB, free: 6.746 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004714/0.4559, allocations: 2.133 MB / 433 MB, free: 4.582 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.003945/0.4598, allocations: 1.457 MB / 434.5 MB, free: 3.117 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005542/0.4604, allocations: 192.5 kB / 434.6 MB, free: 2.93 MB / 382.1 MB Notification: Performance of SimCode: time 1.292e-06/0.4604, allocations: 0 / 434.6 MB, free: 2.93 MB / 382.1 MB Notification: Performance of Templates: time 0.04975/0.5101, allocations: 16.3 MB / 450.9 MB, free: 2.684 MB / 398.1 MB " [Timeout remaining time 659] 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.717994682490826]