Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.002002/0.002002, allocations: 107.1 kB / 20.44 MB, free: 1.344 MB / 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.002034/0.002034, allocations: 209 kB / 23.73 MB, free: 4.523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.586/1.586, allocations: 230.6 MB / 257.5 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.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.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00227/0.00227, allocations: 51.92 kB / 378.2 MB, free: 2.445 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2684/0.2706, allocations: 53.36 MB / 431.6 MB, free: 6.719 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.01102/0.2816, allocations: 7.97 MB / 439.6 MB, free: 14.72 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006146/0.2878, allocations: 2.593 MB / 442.1 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001189/0.289, allocations: 59.75 kB / 442.2 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004015/0.293, allocations: 1.787 MB / 444 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003729/0.2967, allocations: 1.373 MB / 445.4 MB, free: 8.891 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007308/0.2974, allocations: 215.7 kB / 445.6 MB, free: 8.68 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003719/0.3012, allocations: 2.335 MB / 447.9 MB, free: 6.34 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002623/0.3038, allocations: 1.742 MB / 449.7 MB, free: 4.547 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001941/0.3057, allocations: 1.012 MB / 450.7 MB, free: 3.531 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003996/0.3097, allocations: 2.591 MB / 453.3 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007719/0.3105, allocations: 192 kB / 453.4 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001245/0.3117, allocations: 423.5 kB / 453.9 MB, free: 340 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001619/0.3134, allocations: 1.336 MB / 455.2 MB, free: 14.99 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001565/0.3149, allocations: 1.117 MB / 456.3 MB, free: 13.87 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005786/0.3207, allocations: 4.869 MB / 461.2 MB, free: 8.977 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.676e-06/0.3207, allocations: 4 kB / 461.2 MB, free: 8.973 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.3207, allocations: 0 / 461.2 MB, free: 8.973 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001567/0.3209, allocations: 0 / 461.2 MB, free: 8.973 MB / 366.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.00811/0.329, allocations: 3.641 MB / 464.8 MB, free: 5.281 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.204e-05/0.329, allocations: 12.03 kB / 464.8 MB, free: 5.27 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006205/0.3352, allocations: 1.718 MB / 466.6 MB, free: 3.547 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003701/0.3389, allocations: 1.54 MB / 468.1 MB, free: 1.969 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001321/0.3391, allocations: 151.8 kB / 468.2 MB, free: 1.82 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003906/0.3395, allocations: 195.9 kB / 468.4 MB, free: 1.629 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009925/0.3494, allocations: 6.982 MB / 475.4 MB, free: 10.1 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.692e-05/0.3495, allocations: 27.75 kB / 475.4 MB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002766/0.3497, allocations: 103.9 kB / 475.5 MB, free: 9.973 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002365/0.3521, allocations: 1.555 MB / 477.1 MB, free: 8.414 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009666/0.3618, allocations: 5.493 MB / 482.6 MB, free: 2.91 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03061/0.3924, allocations: 25.32 MB / 0.496 GB, free: 8.707 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00263/0.395, allocations: 1.131 MB / 0.4971 GB, free: 7.512 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007007/0.3957, allocations: 473.6 kB / 0.4976 GB, free: 7.027 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004234/0.3999, allocations: 2.003 MB / 0.4995 GB, free: 4.992 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.234e-05/0.4, allocations: 46.5 kB / 0.4996 GB, free: 4.938 MB / 414.1 MB Notification: Performance of pre-optimization done (n=89): time 3.767e-06/0.4, allocations: 0 / 0.4996 GB, free: 4.938 MB / 414.1 MB Notification: Performance of matching and sorting (n=89): time 0.004195/0.4042, allocations: 1.752 MB / 0.5013 GB, free: 3.18 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001724/0.4044, allocations: 221.7 kB / 0.5015 GB, free: 2.914 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005297/0.4097, allocations: 3.531 MB / 0.5049 GB, free: 15.38 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.969e-05/0.4097, allocations: 33.7 kB / 0.505 GB, free: 15.34 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002601/0.4123, allocations: 2.802 MB / 0.5077 GB, free: 12.51 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004552/0.4128, allocations: 409.1 kB / 0.5081 GB, free: 12.11 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001248/0.414, allocations: 0.9724 MB / 0.509 GB, free: 11.12 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001317/0.4142, allocations: 301.1 kB / 0.5093 GB, free: 10.82 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00184/0.416, allocations: 1.204 MB / 0.5105 GB, free: 9.613 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005045/0.421, allocations: 4.53 MB / 0.5149 GB, free: 3.383 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008055/0.4291, allocations: 6.304 MB / 0.5211 GB, free: 11.41 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001214/0.4292, allocations: 32 kB / 0.5211 GB, free: 11.38 MB / 446.1 MB Notification: Performance of matching and sorting (n=621) (initialization): time 0.01004/0.4393, allocations: 5.427 MB / 0.5264 GB, free: 5.949 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.633e-05/0.4393, allocations: 59.98 kB / 0.5265 GB, free: 5.891 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001405/0.4395, allocations: 120 kB / 0.5266 GB, free: 5.773 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001628/0.4397, allocations: 152 kB / 0.5267 GB, free: 5.625 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003082/0.4427, allocations: 1.088 MB / 0.5278 GB, free: 4.535 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001946/0.4429, allocations: 227.1 kB / 0.528 GB, free: 4.312 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003139/0.4461, allocations: 0.6636 MB / 0.5287 GB, free: 3.645 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004329/0.4465, allocations: 312 kB / 0.529 GB, free: 3.34 MB / 446.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.002706/0.4492, allocations: 1.715 MB / 0.5306 GB, free: 1.613 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005418/0.4497, allocations: 290 kB / 0.5309 GB, free: 1.328 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008931/0.4506, allocations: 478.7 kB / 0.5314 GB, free: 0.8555 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.622e-05/0.4507, allocations: 20 kB / 0.5314 GB, free: 0.8359 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.168e-05/0.4507, allocations: 4 kB / 0.5314 GB, free: 0.832 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.127e-05/0.4507, allocations: 3.984 kB / 0.5314 GB, free: 0.8281 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005138/0.4558, allocations: 2.36 MB / 0.5337 GB, free: 14.39 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.735e-06/0.4559, allocations: 8.562 kB / 0.5337 GB, free: 14.38 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004795/0.4563, allocations: 103.8 kB / 0.5338 GB, free: 14.28 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.04e-05/0.4563, allocations: 8 kB / 0.5338 GB, free: 14.27 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.784e-05/0.4564, allocations: 23.92 kB / 0.5338 GB, free: 14.25 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.109e-05/0.4564, allocations: 11.94 kB / 0.5338 GB, free: 14.23 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.252e-06/0.4564, allocations: 7.938 kB / 0.5339 GB, free: 14.23 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002738/0.4591, allocations: 2.202 MB / 0.536 GB, free: 11.97 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007768/0.4599, allocations: 329.8 kB / 0.5363 GB, free: 11.64 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002205/0.4601, allocations: 35.95 kB / 0.5364 GB, free: 11.61 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007746/0.4609, allocations: 27.88 kB / 0.5364 GB, free: 11.59 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001377/0.4611, allocations: 55.8 kB / 0.5364 GB, free: 11.53 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.317e-05/0.4611, allocations: 32 kB / 0.5365 GB, free: 11.5 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003142/0.4643, allocations: 2.094 MB / 0.5385 GB, free: 9.414 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.4643, allocations: 0 / 0.5385 GB, free: 9.414 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003829/0.4681, allocations: 0.8221 MB / 0.5393 GB, free: 8.59 MB / 462.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.0003226/0.4684, allocations: 154.9 kB / 0.5395 GB, free: 8.43 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004582/0.473, allocations: 2.704 MB / 0.5421 GB, free: 5.75 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.029e-06/0.473, allocations: 4.125 kB / 0.5421 GB, free: 5.746 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006244/0.4736, allocations: 395.5 kB / 0.5425 GB, free: 5.359 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001956/0.4756, allocations: 352.1 kB / 0.5428 GB, free: 5.016 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1992/0.6747, allocations: 6.714 MB / 0.5494 GB, free: 112.5 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004279/0.679, allocations: 2.129 MB / 0.5515 GB, free: 112.2 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.005052/0.6841, allocations: 1.46 MB / 0.5529 GB, free: 112.2 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005512/0.6846, allocations: 193.1 kB / 0.5531 GB, free: 112.2 MB / 462.1 MB Notification: Performance of SimCode: time 1.082e-06/0.6846, allocations: 3.281 kB / 0.5531 GB, free: 112.2 MB / 462.1 MB Notification: Performance of Templates: time 0.05491/0.7395, allocations: 22.01 MB / 0.5746 GB, free: 96.84 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.sim & ./Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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.951040165964514]