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.001787/0.001787, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.001555/0.001555, allocations: 199.3 kB / 20.74 MB, free: 2.32 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.455/1.455, allocations: 230.6 MB / 254.1 MB, free: 15.09 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: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Elementary_Surfaces",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Elementary_Surfaces",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001583/0.001583, allocations: 43.94 kB / 373 MB, free: 10.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09996/0.1015, allocations: 53.33 MB / 426.3 MB, free: 4.785 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.2123/0.3138, allocations: 9.035 MB / 435.4 MB, free: 6.586 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005124/0.319, allocations: 2.736 MB / 438.1 MB, free: 5.406 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001335/0.3203, allocations: 57.53 kB / 438.2 MB, free: 5.391 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003451/0.3238, allocations: 1.851 MB / 440 MB, free: 4.762 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003195/0.327, allocations: 1.352 MB / 441.4 MB, free: 4.148 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005851/0.3275, allocations: 215.2 kB / 441.6 MB, free: 4.055 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003329/0.3309, allocations: 2.345 MB / 443.9 MB, free: 3.121 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002024/0.3329, allocations: 1.78 MB / 445.7 MB, free: 2.359 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001593/0.3345, allocations: 1.013 MB / 446.7 MB, free: 1.938 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003393/0.3379, allocations: 2.572 MB / 449.3 MB, free: 1.207 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006085/0.3385, allocations: 188.1 kB / 449.5 MB, free: 1.207 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001267/0.3398, allocations: 0.5165 MB / 450 MB, free: 1.102 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001141/0.3409, allocations: 1.337 MB / 451.3 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001413/0.3423, allocations: 1.583 MB / 452.9 MB, free: 15.42 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005809/0.3481, allocations: 4.844 MB / 457.7 MB, free: 12.27 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.3481, allocations: 3.938 kB / 457.8 MB, free: 12.27 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.3481, allocations: 5.188 kB / 457.8 MB, free: 12.27 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001417/0.3483, allocations: 0 / 457.8 MB, free: 12.27 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.007707/0.356, allocations: 3.719 MB / 461.5 MB, free: 9.52 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.598e-05/0.356, allocations: 9.219 kB / 461.5 MB, free: 9.52 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009402/0.357, allocations: 0.5345 MB / 462 MB, free: 9.145 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006432/0.3634, allocations: 1.72 MB / 463.7 MB, free: 8.234 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003758/0.3671, allocations: 1.594 MB / 465.3 MB, free: 7.125 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001719/0.3673, allocations: 149.8 kB / 465.5 MB, free: 7.055 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005579/0.3679, allocations: 202.6 kB / 465.7 MB, free: 6.98 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01155/0.3794, allocations: 6.985 MB / 472.7 MB, free: 1.75 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.028e-05/0.3795, allocations: 35.7 kB / 472.7 MB, free: 1.715 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002828/0.3798, allocations: 95.89 kB / 472.8 MB, free: 1.621 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002439/0.3822, allocations: 1.559 MB / 474.3 MB, free: 64 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01039/0.3926, allocations: 5.486 MB / 479.8 MB, free: 10.57 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03396/0.4266, allocations: 27.18 MB / 0.4951 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003239/0.4298, allocations: 1.586 MB / 0.4967 GB, free: 12.76 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007666/0.4306, allocations: 469.9 kB / 0.4971 GB, free: 12.28 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004716/0.4353, allocations: 2.694 MB / 0.4998 GB, free: 9.422 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.256e-05/0.4353, allocations: 50.5 kB / 0.4998 GB, free: 9.363 MB / 414.1 MB Notification: Performance of pre-optimization done (n=89): time 3.697e-06/0.4353, allocations: 0 / 0.4998 GB, free: 9.363 MB / 414.1 MB Notification: Performance of matching and sorting (n=89): time 0.004454/0.4398, allocations: 1.775 MB / 0.5015 GB, free: 7.586 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001443/0.4399, allocations: 213.6 kB / 0.5017 GB, free: 7.328 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00668/0.4466, allocations: 3.677 MB / 0.5053 GB, free: 3.66 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000204/0.4468, allocations: 37.86 kB / 0.5054 GB, free: 3.617 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002502/0.4493, allocations: 2.792 MB / 0.5081 GB, free: 0.7969 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005761/0.4499, allocations: 405.1 kB / 0.5085 GB, free: 408 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00138/0.4513, allocations: 0.9646 MB / 0.5094 GB, free: 15.42 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000133/0.4514, allocations: 305.1 kB / 0.5097 GB, free: 15.12 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00191/0.4533, allocations: 1.204 MB / 0.5109 GB, free: 13.91 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00463/0.458, allocations: 4.53 MB / 0.5153 GB, free: 7.68 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007437/0.4654, allocations: 6.284 MB / 0.5215 GB, free: 15.72 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.291e-05/0.4655, allocations: 40 kB / 0.5215 GB, free: 15.68 MB / 446.1 MB Notification: Performance of matching and sorting (n=621) (initialization): time 0.01009/0.4756, allocations: 5.461 MB / 0.5268 GB, free: 10.22 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.248e-05/0.4756, allocations: 56 kB / 0.5269 GB, free: 10.16 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001612/0.4758, allocations: 124 kB / 0.527 GB, free: 10.04 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001607/0.476, allocations: 152 kB / 0.5271 GB, free: 9.895 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003024/0.479, allocations: 1.085 MB / 0.5282 GB, free: 8.809 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001866/0.4792, allocations: 231.1 kB / 0.5284 GB, free: 8.582 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003484/0.4827, allocations: 0.6981 MB / 0.5291 GB, free: 7.883 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004711/0.4831, allocations: 316.9 kB / 0.5294 GB, free: 7.574 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.002886/0.486, allocations: 1.715 MB / 0.5311 GB, free: 5.852 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006514/0.4867, allocations: 313.8 kB / 0.5314 GB, free: 5.543 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009903/0.4877, allocations: 0.494 MB / 0.5319 GB, free: 5.047 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-05/0.4877, allocations: 20 kB / 0.5319 GB, free: 5.027 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.246e-06/0.4877, allocations: 0 / 0.5319 GB, free: 5.027 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.956e-06/0.4877, allocations: 7.984 kB / 0.5319 GB, free: 5.02 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006095/0.4938, allocations: 3.146 MB / 0.535 GB, free: 1.789 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.504e-05/0.4938, allocations: 4.875 kB / 0.535 GB, free: 1.785 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005077/0.4944, allocations: 103.8 kB / 0.5351 GB, free: 1.684 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.348e-06/0.4944, allocations: 8 kB / 0.5351 GB, free: 1.676 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.235e-05/0.4944, allocations: 20.22 kB / 0.5351 GB, free: 1.656 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.29e-05/0.4944, allocations: 15.98 kB / 0.5351 GB, free: 1.641 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.98e-06/0.4944, allocations: 4 kB / 0.5351 GB, free: 1.637 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002745/0.4972, allocations: 2.232 MB / 0.5373 GB, free: 15.35 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009473/0.4981, allocations: 446.1 kB / 0.5377 GB, free: 14.89 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003391/0.4985, allocations: 23.92 kB / 0.5377 GB, free: 14.87 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009052/0.4994, allocations: 31.97 kB / 0.5378 GB, free: 14.84 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001399/0.4995, allocations: 43.88 kB / 0.5378 GB, free: 14.8 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.324e-05/0.4996, allocations: 39.98 kB / 0.5378 GB, free: 14.76 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.00457/0.5042, allocations: 2.333 MB / 0.5401 GB, free: 12.44 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5042, allocations: 0 / 0.5401 GB, free: 12.44 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004694/0.5088, allocations: 0.795 MB / 0.5409 GB, free: 11.64 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.003592/0.5124, allocations: 2.86 MB / 0.5437 GB, free: 8.727 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004846/0.5173, allocations: 2.707 MB / 0.5463 GB, free: 6.043 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.302e-06/0.5173, allocations: 4 kB / 0.5463 GB, free: 6.039 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006622/0.518, allocations: 410.8 kB / 0.5467 GB, free: 5.645 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002502/0.5205, allocations: 385.6 kB / 0.5471 GB, free: 5.273 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04986/0.5703, allocations: 33.25 MB / 0.5796 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003708/0.574, allocations: 2.683 MB / 0.5822 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.003592/0.5776, allocations: 1.486 MB / 0.5836 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002537/0.5801, allocations: 1.476 MB / 0.5851 GB, free: 9.613 MB / 0.4981 GB Notification: Performance of SimCode: time 1.122e-06/0.5801, allocations: 0 / 0.5851 GB, free: 9.613 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3017/0.8818, allocations: 47.75 MB / 0.6317 GB, free: 179.2 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.82/16.7, allocations: 1 kB / 0.6317 GB, free: 179.2 MB / 0.5294 GB " [Timeout remaining time 643] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Elementary_Surfaces_fmu --startTime=0 --stopTime=5 --stepSize=0.0009996 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Elementary_Surfaces.fmu > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/Surfaces/Surfaces.csv","/var/lib/jenkins1/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: 19.634660659823567]