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.0009344/0.0009344, allocations: 95.5 kB / 21.2 MB, free: 3.371 MB / 18.57 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.0009161/0.0009161, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 18.57 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 0.9114/0.9114, allocations: 177 MB / 204.8 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 179] 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: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 272.9 MB, free: 1.457 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.208e-05/3.372e-05, allocations: 9.344 kB / 272.9 MB, free: 1.449 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.008154/0.008188, allocations: 8.788 MB / 281.7 MB, free: 8.621 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005229/0.01342, allocations: 2.663 MB / 284.4 MB, free: 5.949 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001399/0.01482, allocations: 55.75 kB / 284.4 MB, free: 5.895 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002781/0.0176, allocations: 1.966 MB / 286.4 MB, free: 3.922 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002964/0.02056, allocations: 1.419 MB / 287.8 MB, free: 2.496 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004675/0.02103, allocations: 239.5 kB / 288.1 MB, free: 2.262 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1211/0.1421, allocations: 3.428 MB / 291.5 MB, free: 15.14 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002565/0.1447, allocations: 2.111 MB / 293.6 MB, free: 14.99 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002804/0.1475, allocations: 1.785 MB / 295.4 MB, free: 14.86 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002156/0.1496, allocations: 1.574 MB / 297 MB, free: 14.75 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007017/0.1503, allocations: 184.6 kB / 297.1 MB, free: 14.75 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00101/0.1513, allocations: 460.6 kB / 297.6 MB, free: 14.75 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001156/0.1525, allocations: 1.387 MB / 299 MB, free: 14.55 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00126/0.1538, allocations: 0.8074 MB / 299.8 MB, free: 14.37 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003749/0.1575, allocations: 3.081 MB / 302.9 MB, free: 13.3 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.1575, allocations: 0 / 302.9 MB, free: 13.3 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1575, allocations: 0 / 302.9 MB, free: 13.3 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0002119/0.1577, allocations: 0.5938 kB / 302.9 MB, free: 13.3 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.005688/0.1634, allocations: 3.941 MB / 306.8 MB, free: 10.86 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.1635, allocations: 16.3 kB / 306.8 MB, free: 10.86 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003384/0.1668, allocations: 2.018 MB / 308.8 MB, free: 10.35 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002023/0.1689, allocations: 1.67 MB / 310.5 MB, free: 9.344 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.689e-05/0.1689, allocations: 155.4 kB / 310.7 MB, free: 9.301 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002445/0.1692, allocations: 199.9 kB / 310.9 MB, free: 9.258 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003994/0.1732, allocations: 4.154 MB / 315 MB, free: 5.344 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.048e-05/0.1732, allocations: 27.19 kB / 315 MB, free: 5.332 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00018/0.1734, allocations: 99.56 kB / 315.1 MB, free: 5.266 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001111/0.1745, allocations: 1.557 MB / 316.7 MB, free: 3.734 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003288/0.1778, allocations: 1.937 MB / 318.6 MB, free: 1.949 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0197/0.1975, allocations: 31.73 MB / 350.4 MB, free: 1.477 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001436/0.1989, allocations: 0.7396 MB / 351.1 MB, free: 0.6641 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002826/0.1992, allocations: 213.6 kB / 351.3 MB, free: 440 kB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002394/0.2016, allocations: 2.25 MB / 353.6 MB, free: 14.16 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.12e-05/0.2016, allocations: 50.14 kB / 353.6 MB, free: 14.11 MB / 314.7 MB Notification: Performance of pre-optimization done (n=89): time 2.795e-06/0.2017, allocations: 3.281 kB / 353.6 MB, free: 14.11 MB / 314.7 MB Notification: Performance of matching and sorting (n=89): time 0.001987/0.2036, allocations: 1.098 MB / 354.7 MB, free: 13.02 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.183e-05/0.2037, allocations: 220.8 kB / 354.9 MB, free: 12.76 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003171/0.2069, allocations: 3.239 MB / 358.2 MB, free: 9.508 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.621e-05/0.2069, allocations: 40.67 kB / 358.2 MB, free: 9.465 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00141/0.2083, allocations: 2.943 MB / 361.1 MB, free: 6.535 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002853/0.2086, allocations: 413.2 kB / 361.5 MB, free: 6.137 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008016/0.2094, allocations: 1.046 MB / 362.6 MB, free: 5.078 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001008/0.2095, allocations: 476.8 kB / 363.1 MB, free: 4.609 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000658/0.2102, allocations: 429.3 kB / 363.5 MB, free: 4.184 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002597/0.2128, allocations: 5.357 MB / 368.8 MB, free: 12.56 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004175/0.217, allocations: 6.382 MB / 375.2 MB, free: 4.035 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.147e-05/0.217, allocations: 32 kB / 375.2 MB, free: 4.004 MB / 330.7 MB Notification: Performance of matching and sorting (n=622) (initialization): time 0.005088/0.2221, allocations: 4.125 MB / 379.4 MB, free: 15.88 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.427e-05/0.2222, allocations: 56 kB / 379.4 MB, free: 15.82 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001108/0.2223, allocations: 127.6 kB / 379.6 MB, free: 15.7 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001009/0.2224, allocations: 155.9 kB / 379.7 MB, free: 15.55 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001811/0.2242, allocations: 1.088 MB / 380.8 MB, free: 14.46 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001132/0.2243, allocations: 235.7 kB / 381 MB, free: 14.23 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002101/0.2264, allocations: 0.6554 MB / 381.7 MB, free: 13.57 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002834/0.2267, allocations: 325.3 kB / 382 MB, free: 13.25 MB / 346.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.001018/0.2277, allocations: 0.557 MB / 382.6 MB, free: 12.68 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003505/0.2281, allocations: 318 kB / 382.9 MB, free: 12.37 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004679/0.2285, allocations: 385.9 kB / 383.2 MB, free: 11.98 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.236e-05/0.2286, allocations: 27.92 kB / 383.3 MB, free: 11.96 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.676e-06/0.2286, allocations: 4 kB / 383.3 MB, free: 11.95 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.151e-06/0.2286, allocations: 0 / 383.3 MB, free: 11.95 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003745/0.2323, allocations: 2.755 MB / 386 MB, free: 9.121 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.662e-06/0.2323, allocations: 8.062 kB / 386 MB, free: 9.113 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002969/0.2326, allocations: 99.88 kB / 386.1 MB, free: 9.016 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.165e-06/0.2327, allocations: 8 kB / 386.1 MB, free: 9.008 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.137e-05/0.2327, allocations: 17.41 kB / 386.2 MB, free: 8.992 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.614e-06/0.2327, allocations: 11.94 kB / 386.2 MB, free: 8.98 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.2327, allocations: 4 kB / 386.2 MB, free: 8.977 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001216/0.2339, allocations: 1.744 MB / 387.9 MB, free: 7.168 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004582/0.2344, allocations: 325.8 kB / 388.2 MB, free: 6.848 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001431/0.2345, allocations: 20.03 kB / 388.3 MB, free: 6.828 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004268/0.2349, allocations: 27.97 kB / 388.3 MB, free: 6.801 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.12e-05/0.235, allocations: 55.8 kB / 388.3 MB, free: 6.746 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.265e-05/0.2351, allocations: 34.44 kB / 388.4 MB, free: 6.715 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001527/0.2366, allocations: 1.427 MB / 389.8 MB, free: 5.297 MB / 346.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2366, allocations: 0 / 389.8 MB, free: 5.297 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002558/0.2392, allocations: 0.8259 MB / 390.6 MB, free: 4.469 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.0002837/0.2394, allocations: 145.3 kB / 390.8 MB, free: 4.32 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002478/0.2419, allocations: 1.942 MB / 392.7 MB, free: 2.395 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.2419, allocations: 3.938 kB / 392.7 MB, free: 2.391 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002253/0.2421, allocations: 218.8 kB / 392.9 MB, free: 2.176 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001213/0.2434, allocations: 364.4 kB / 393.3 MB, free: 1.84 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006859/0.2502, allocations: 5.627 MB / 398.9 MB, free: 12.09 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007851/0.251, allocations: 0.9552 MB / 399.9 MB, free: 11.12 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001847/0.2529, allocations: 1.297 MB / 401.2 MB, free: 9.82 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002624/0.2531, allocations: 192.5 kB / 401.3 MB, free: 9.633 MB / 362.7 MB Notification: Performance of SimCode: time 1.202e-06/0.2531, allocations: 0 / 401.3 MB, free: 9.633 MB / 362.7 MB Notification: Performance of Templates: time 0.02886/0.282, allocations: 17.08 MB / 418.4 MB, free: 9.031 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.makefile [Timeout 660] (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 & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.292935138568282]