Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009437/0.0009437, allocations: 83.89 kB / 21.19 MB, free: 3.383 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008683/0.0008683, allocations: 145.1 kB / 24.54 MB, free: 32 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9427/0.9427, allocations: 173.4 MB / 201.1 MB, free: 9.336 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_4.0.0_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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 268 MB, free: 6.426 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.898e-05/3.069e-05, allocations: 10.19 kB / 268 MB, free: 6.414 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.0112/0.01123, allocations: 8.797 MB / 276.8 MB, free: 13.57 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00495/0.01618, allocations: 2.62 MB / 279.4 MB, free: 10.95 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001178/0.01736, allocations: 63.75 kB / 279.5 MB, free: 10.88 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002577/0.01994, allocations: 1.95 MB / 281.4 MB, free: 8.926 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002761/0.0227, allocations: 1.427 MB / 282.9 MB, free: 7.492 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000452/0.02315, allocations: 227.5 kB / 283.1 MB, free: 7.27 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003153/0.0263, allocations: 3.383 MB / 286.5 MB, free: 3.883 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0023/0.0286, allocations: 2.125 MB / 288.6 MB, free: 1.707 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1227/0.1513, allocations: 1.78 MB / 290.4 MB, free: 17.12 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002659/0.154, allocations: 1.58 MB / 292 MB, free: 17.12 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008309/0.1548, allocations: 184.3 kB / 292.1 MB, free: 17.12 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001224/0.156, allocations: 452.8 kB / 292.6 MB, free: 17.12 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001401/0.1574, allocations: 1.403 MB / 294 MB, free: 17.12 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001391/0.1588, allocations: 0.8204 MB / 294.8 MB, free: 17.12 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004685/0.1635, allocations: 3.1 MB / 297.9 MB, free: 16.57 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.1635, allocations: 3.875 kB / 297.9 MB, free: 16.57 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1635, allocations: 1.375 kB / 297.9 MB, free: 16.57 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001543/0.1637, allocations: 0 / 297.9 MB, free: 16.57 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.006719/0.1704, allocations: 3.958 MB / 301.9 MB, free: 14.75 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.692e-05/0.1704, allocations: 9.578 kB / 301.9 MB, free: 14.75 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004855/0.1753, allocations: 1.978 MB / 303.9 MB, free: 14.5 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003/0.1783, allocations: 1.669 MB / 305.5 MB, free: 13.97 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.908e-05/0.1784, allocations: 152 kB / 305.7 MB, free: 13.96 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000355/0.1788, allocations: 195.2 kB / 305.9 MB, free: 13.96 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006533/0.1853, allocations: 4.142 MB / 310 MB, free: 11.33 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.229e-05/0.1853, allocations: 32.94 kB / 310 MB, free: 11.33 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001943/0.1855, allocations: 106.3 kB / 310.1 MB, free: 11.29 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001247/0.1868, allocations: 1.557 MB / 311.7 MB, free: 10.94 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003685/0.1905, allocations: 1.937 MB / 313.6 MB, free: 10.21 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01916/0.2096, allocations: 31.74 MB / 345.4 MB, free: 9.73 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001469/0.2111, allocations: 0.7358 MB / 346.1 MB, free: 8.926 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002493/0.2113, allocations: 216.5 kB / 346.3 MB, free: 8.688 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002382/0.2137, allocations: 2.241 MB / 348.6 MB, free: 6.43 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.067e-05/0.2138, allocations: 48.48 kB / 348.6 MB, free: 6.375 MB / 298.7 MB Notification: Performance of pre-optimization done (n=89): time 2.956e-06/0.2138, allocations: 4 kB / 348.6 MB, free: 6.371 MB / 298.7 MB Notification: Performance of matching and sorting (n=89): time 0.001964/0.2157, allocations: 1.109 MB / 349.7 MB, free: 5.277 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.041e-05/0.2158, allocations: 216.9 kB / 349.9 MB, free: 5.02 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003125/0.2189, allocations: 3.244 MB / 353.2 MB, free: 1.758 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.941e-05/0.219, allocations: 33.7 kB / 353.2 MB, free: 1.719 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001411/0.2204, allocations: 2.95 MB / 356.2 MB, free: 14.78 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00027/0.2206, allocations: 420.3 kB / 356.6 MB, free: 14.38 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000819/0.2215, allocations: 1.042 MB / 357.6 MB, free: 13.32 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.778e-05/0.2216, allocations: 480.7 kB / 358.1 MB, free: 12.85 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006791/0.2222, allocations: 417.2 kB / 358.5 MB, free: 12.43 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002655/0.2249, allocations: 5.364 MB / 363.9 MB, free: 4.805 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004096/0.229, allocations: 6.379 MB / 370.2 MB, free: 12.29 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.831e-05/0.229, allocations: 32 kB / 370.3 MB, free: 12.26 MB / 330.7 MB Notification: Performance of matching and sorting (n=622) (initialization): time 0.004712/0.2337, allocations: 4.136 MB / 374.4 MB, free: 8.125 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.299e-05/0.2338, allocations: 56 kB / 374.5 MB, free: 8.07 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001051/0.2339, allocations: 120 kB / 374.6 MB, free: 7.953 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001008/0.234, allocations: 155.8 kB / 374.7 MB, free: 7.805 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001786/0.2358, allocations: 1.088 MB / 375.8 MB, free: 6.715 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001137/0.2359, allocations: 231.1 kB / 376 MB, free: 6.488 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001941/0.2378, allocations: 0.6663 MB / 376.7 MB, free: 5.82 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003092/0.2382, allocations: 316 kB / 377 MB, free: 5.512 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 545 * 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 (590): * Single equations (assignments): 586 * 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.001176/0.2393, allocations: 0.5627 MB / 377.6 MB, free: 4.938 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003574/0.2397, allocations: 307.3 kB / 377.9 MB, free: 4.637 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004542/0.2401, allocations: 397.2 kB / 378.3 MB, free: 4.242 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.721e-05/0.2402, allocations: 16 kB / 378.3 MB, free: 4.227 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.654e-06/0.2402, allocations: 4 kB / 378.3 MB, free: 4.223 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.885e-06/0.2402, allocations: 3.984 kB / 378.3 MB, free: 4.219 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00352/0.2437, allocations: 2.758 MB / 381 MB, free: 1.383 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.812e-06/0.2437, allocations: 5.156 kB / 381 MB, free: 1.379 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002641/0.244, allocations: 99.89 kB / 381.1 MB, free: 1.281 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.397e-06/0.244, allocations: 11.98 kB / 381.2 MB, free: 1.27 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.97e-05/0.244, allocations: 17.94 kB / 381.2 MB, free: 1.254 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.943e-06/0.244, allocations: 11.94 kB / 381.2 MB, free: 1.242 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/0.244, allocations: 11.3 kB / 381.2 MB, free: 1.234 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001126/0.2452, allocations: 1.733 MB / 382.9 MB, free: 15.43 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006062/0.2458, allocations: 333.7 kB / 383.3 MB, free: 15.11 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001434/0.2459, allocations: 16 kB / 383.3 MB, free: 15.09 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004316/0.2463, allocations: 32 kB / 383.3 MB, free: 15.06 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.323e-05/0.2464, allocations: 51.86 kB / 383.4 MB, free: 15.01 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.526e-05/0.2465, allocations: 27.12 kB / 383.4 MB, free: 14.98 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001484/0.2479, allocations: 1.439 MB / 384.8 MB, free: 13.55 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.5e-07/0.2479, allocations: 0 / 384.8 MB, free: 13.55 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002339/0.2503, allocations: 0.8415 MB / 385.7 MB, free: 12.71 MB / 346.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.0002528/0.2505, allocations: 146.2 kB / 385.8 MB, free: 12.56 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002214/0.2528, allocations: 1.938 MB / 387.7 MB, free: 10.64 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.2528, allocations: 4.812 kB / 387.7 MB, free: 10.63 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002117/0.253, allocations: 213.5 kB / 388 MB, free: 10.42 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001155/0.2541, allocations: 367.9 kB / 388.3 MB, free: 10.08 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007025/0.2611, allocations: 5.637 MB / 393.9 MB, free: 4.328 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000819/0.262, allocations: 0.9504 MB / 394.9 MB, free: 3.359 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.001874/0.2638, allocations: 1.305 MB / 396.2 MB, free: 2.047 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002664/0.2641, allocations: 188.5 kB / 396.4 MB, free: 1.859 MB / 346.7 MB Notification: Performance of SimCode: time 1.663e-06/0.2641, allocations: 0 / 396.4 MB, free: 1.859 MB / 346.7 MB Notification: Performance of Templates: time 0.03042/0.2945, allocations: 17.09 MB / 413.5 MB, free: 1.223 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/Surfaces/Surfaces.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.377149104140699]