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.001806/0.001806, allocations: 100.2 kB / 20.96 MB, free: 3.469 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.002272/0.002272, allocations: 156.9 kB / 24.27 MB, free: 172 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 1.521/1.521, allocations: 177 MB / 204.4 MB, free: 5.648 MB / 186.7 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: 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 2.665e-06/2.665e-06, allocations: 0 / 272.2 MB, free: 1.812 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.95e-05/3.216e-05, allocations: 2.312 kB / 272.2 MB, free: 1.809 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.0126/0.01264, allocations: 7.979 MB / 280.2 MB, free: 9.793 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006626/0.01926, allocations: 2.593 MB / 282.8 MB, free: 7.191 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001327/0.02059, allocations: 55.75 kB / 282.8 MB, free: 7.137 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004734/0.02532, allocations: 1.907 MB / 284.7 MB, free: 5.223 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004743/0.03007, allocations: 1.415 MB / 286.2 MB, free: 3.801 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008424/0.03091, allocations: 239.4 kB / 286.4 MB, free: 3.566 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.005717/0.03663, allocations: 3.431 MB / 289.8 MB, free: 136 kB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1421/0.1787, allocations: 2.103 MB / 291.9 MB, free: 14.99 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002538/0.1812, allocations: 1.528 MB / 293.5 MB, free: 14.99 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003067/0.1843, allocations: 1.806 MB / 295.3 MB, free: 14.99 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005853/0.1849, allocations: 188.8 kB / 295.4 MB, free: 14.99 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001094/0.186, allocations: 467.4 kB / 295.9 MB, free: 14.99 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001198/0.1872, allocations: 1.38 MB / 297.3 MB, free: 14.82 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009582/0.1881, allocations: 0.8103 MB / 298.1 MB, free: 14.65 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004562/0.1927, allocations: 4.722 MB / 302.8 MB, free: 13.54 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.1927, allocations: 0 / 302.8 MB, free: 13.54 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.1927, allocations: 0 / 302.8 MB, free: 13.54 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001178/0.1928, allocations: 0 / 302.8 MB, free: 13.54 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.005285/0.1981, allocations: 3.599 MB / 306.4 MB, free: 11.04 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.1981, allocations: 13.55 kB / 306.4 MB, free: 11.04 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005671/0.2038, allocations: 2.084 MB / 308.5 MB, free: 10.04 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002977/0.2068, allocations: 1.545 MB / 310.1 MB, free: 9.168 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.374e-05/0.2069, allocations: 154.1 kB / 310.2 MB, free: 9.125 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000323/0.2072, allocations: 201.6 kB / 310.4 MB, free: 9.082 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008427/0.2156, allocations: 6.992 MB / 317.4 MB, free: 2.738 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.573e-05/0.2157, allocations: 25.69 kB / 317.4 MB, free: 2.727 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002766/0.216, allocations: 102 kB / 317.5 MB, free: 2.656 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001808/0.2178, allocations: 1.556 MB / 319.1 MB, free: 1.129 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01156/0.2293, allocations: 5.493 MB / 324.6 MB, free: 11.77 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03578/0.2651, allocations: 25.39 MB / 350 MB, free: 1.875 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002935/0.268, allocations: 1.164 MB / 351.1 MB, free: 0.6562 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008024/0.2688, allocations: 479 kB / 351.6 MB, free: 172 kB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00449/0.2733, allocations: 2.041 MB / 353.6 MB, free: 14.11 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.415e-05/0.2734, allocations: 45.84 kB / 353.7 MB, free: 14.06 MB / 314.7 MB Notification: Performance of pre-optimization done (n=89): time 2.976e-06/0.2734, allocations: 112 / 353.7 MB, free: 14.06 MB / 314.7 MB Notification: Performance of matching and sorting (n=89): time 0.004398/0.2778, allocations: 1.842 MB / 355.5 MB, free: 12.23 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001614/0.2779, allocations: 216.9 kB / 355.7 MB, free: 11.98 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005722/0.2837, allocations: 3.535 MB / 359.3 MB, free: 8.434 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001087/0.2838, allocations: 41.7 kB / 359.3 MB, free: 8.387 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00258/0.2864, allocations: 2.777 MB / 362.1 MB, free: 5.625 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005079/0.2869, allocations: 396.8 kB / 362.5 MB, free: 5.242 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001397/0.2883, allocations: 0.9433 MB / 363.4 MB, free: 4.289 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001585/0.2884, allocations: 309.1 kB / 363.7 MB, free: 3.984 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002079/0.2905, allocations: 1.204 MB / 364.9 MB, free: 2.773 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005859/0.2964, allocations: 4.538 MB / 369.5 MB, free: 12.6 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008993/0.3053, allocations: 6.295 MB / 375.8 MB, free: 4.777 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.00011/0.3055, allocations: 32 kB / 375.8 MB, free: 4.746 MB / 330.7 MB Notification: Performance of matching and sorting (n=621) (initialization): time 0.01195/0.3174, allocations: 5.695 MB / 381.5 MB, free: 15.05 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.849e-05/0.3175, allocations: 56 kB / 381.5 MB, free: 15 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001599/0.3176, allocations: 120 kB / 381.7 MB, free: 14.88 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001801/0.3178, allocations: 155.9 kB / 381.8 MB, free: 14.73 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00323/0.3211, allocations: 1.088 MB / 382.9 MB, free: 13.64 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002192/0.3213, allocations: 227.1 kB / 383.1 MB, free: 13.41 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003532/0.3248, allocations: 0.6738 MB / 383.8 MB, free: 12.74 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005142/0.3253, allocations: 313.8 kB / 384.1 MB, free: 12.44 MB / 346.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.003482/0.3288, allocations: 1.712 MB / 385.8 MB, free: 10.71 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006907/0.3295, allocations: 308 kB / 386.1 MB, free: 10.41 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001065/0.3306, allocations: 474.2 kB / 386.6 MB, free: 9.941 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.516e-05/0.3306, allocations: 23.92 kB / 386.6 MB, free: 9.918 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.302e-05/0.3306, allocations: 8 kB / 386.6 MB, free: 9.91 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.328e-06/0.3306, allocations: 3.984 kB / 386.6 MB, free: 9.906 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005466/0.3361, allocations: 2.388 MB / 389 MB, free: 7.461 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.467e-06/0.3361, allocations: 4 kB / 389 MB, free: 7.457 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004889/0.3366, allocations: 103.8 kB / 389.1 MB, free: 7.355 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.686e-06/0.3366, allocations: 4.281 kB / 389.1 MB, free: 7.352 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.919e-05/0.3367, allocations: 20 kB / 389.1 MB, free: 7.332 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.14e-05/0.3367, allocations: 8 kB / 389.1 MB, free: 7.324 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.194e-06/0.3367, allocations: 7.938 kB / 389.1 MB, free: 7.316 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002995/0.3397, allocations: 2.221 MB / 391.4 MB, free: 5.043 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008215/0.3405, allocations: 333.7 kB / 391.7 MB, free: 4.715 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002368/0.3407, allocations: 20 kB / 391.7 MB, free: 4.695 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008323/0.3416, allocations: 31.95 kB / 391.7 MB, free: 4.664 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001368/0.3417, allocations: 55.88 kB / 391.8 MB, free: 4.609 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.943e-05/0.3418, allocations: 39.81 kB / 391.8 MB, free: 4.574 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.004224/0.346, allocations: 2.094 MB / 393.9 MB, free: 2.488 MB / 346.7 MB Notification: Performance of sort global known variables: time 7e-08/0.346, allocations: 0 / 393.9 MB, free: 2.488 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.00427/0.3503, allocations: 0.8298 MB / 394.8 MB, free: 1.656 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.0003389/0.3506, allocations: 146.1 kB / 394.9 MB, free: 1.508 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.005017/0.3556, allocations: 2.699 MB / 397.6 MB, free: 14.83 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/0.3556, allocations: 0.75 kB / 397.6 MB, free: 14.83 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006805/0.3563, allocations: 404.6 kB / 398 MB, free: 14.44 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002206/0.3585, allocations: 357.2 kB / 398.3 MB, free: 14.1 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01336/0.3719, allocations: 6.764 MB / 405.1 MB, free: 7.246 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003849/0.3757, allocations: 2.135 MB / 407.2 MB, free: 5.082 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.003748/0.3795, allocations: 1.457 MB / 408.7 MB, free: 3.617 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005924/0.3801, allocations: 188.5 kB / 408.9 MB, free: 3.434 MB / 362.7 MB Notification: Performance of SimCode: time 1.954e-06/0.3801, allocations: 0 / 408.9 MB, free: 3.434 MB / 362.7 MB Notification: Performance of Templates: time 0.04552/0.4256, allocations: 16.45 MB / 425.3 MB, free: 3.469 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/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: 5.645042780903168]