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.001528/0.001528, allocations: 112.2 kB / 20.43 MB, free: 1.449 MB / 14.72 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.001931/0.001931, allocations: 189.9 kB / 23.72 MB, free: 4.684 MB / 14.72 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 1.409/1.409, allocations: 225.6 MB / 252.5 MB, free: 13.05 MB / 206.1 MB " [Timeout remaining time 178] 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: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Elementary_Surfaces",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Elementary_Surfaces",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001643/0.001643, allocations: 51.92 kB / 370.5 MB, free: 9.852 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.26/0.2616, allocations: 52.19 MB / 422.7 MB, free: 14.61 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.01132/0.2729, allocations: 9.086 MB / 431.7 MB, free: 5.48 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006082/0.279, allocations: 2.691 MB / 434.4 MB, free: 2.781 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00138/0.2804, allocations: 55.75 kB / 434.5 MB, free: 2.727 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004198/0.2846, allocations: 1.853 MB / 436.3 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003852/0.2884, allocations: 1.37 MB / 437.7 MB, free: 15.49 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007972/0.2892, allocations: 215.5 kB / 437.9 MB, free: 15.28 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004054/0.2933, allocations: 2.377 MB / 440.3 MB, free: 12.9 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002878/0.2962, allocations: 1.737 MB / 442 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00205/0.2982, allocations: 1.012 MB / 443 MB, free: 10.1 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003994/0.3022, allocations: 2.478 MB / 445.5 MB, free: 7.613 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007445/0.303, allocations: 188 kB / 445.7 MB, free: 7.43 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001501/0.3045, allocations: 0.4993 MB / 446.2 MB, free: 6.93 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001827/0.3063, allocations: 1.351 MB / 447.6 MB, free: 5.574 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002576/0.3089, allocations: 1.595 MB / 449.2 MB, free: 3.969 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006854/0.3157, allocations: 4.881 MB / 454 MB, free: 15.07 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.3157, allocations: 0 / 454 MB, free: 15.07 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.3157, allocations: 0 / 454 MB, free: 15.07 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001771/0.3159, allocations: 0 / 454 MB, free: 15.07 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.00795/0.3238, allocations: 3.658 MB / 457.7 MB, free: 11.36 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.765e-05/0.3239, allocations: 12.03 kB / 457.7 MB, free: 11.34 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001123/0.325, allocations: 0.5385 MB / 458.2 MB, free: 10.79 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005448/0.3305, allocations: 1.664 MB / 459.9 MB, free: 9.125 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003678/0.3341, allocations: 1.529 MB / 461.4 MB, free: 7.559 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001594/0.3343, allocations: 155.8 kB / 461.6 MB, free: 7.406 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006764/0.335, allocations: 207.8 kB / 461.8 MB, free: 7.203 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01235/0.3473, allocations: 6.982 MB / 468.8 MB, free: 15.67 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001085/0.3474, allocations: 31.75 kB / 468.8 MB, free: 15.64 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005489/0.348, allocations: 95.89 kB / 468.9 MB, free: 15.55 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002461/0.3504, allocations: 1.559 MB / 470.5 MB, free: 13.98 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01061/0.3611, allocations: 5.489 MB / 475.9 MB, free: 8.469 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03532/0.3964, allocations: 27.07 MB / 0.4912 GB, free: 12.49 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002669/0.399, allocations: 1.135 MB / 0.4923 GB, free: 11.29 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007635/0.3998, allocations: 478 kB / 0.4928 GB, free: 10.8 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00454/0.4043, allocations: 2.218 MB / 0.495 GB, free: 8.539 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.209e-05/0.4044, allocations: 46.5 kB / 0.495 GB, free: 8.484 MB / 414.1 MB Notification: Performance of pre-optimization done (n=89): time 2.825e-06/0.4044, allocations: 0 / 0.495 GB, free: 8.484 MB / 414.1 MB Notification: Performance of matching and sorting (n=89): time 0.004104/0.4085, allocations: 1.772 MB / 0.4967 GB, free: 6.707 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001473/0.4087, allocations: 217.6 kB / 0.4969 GB, free: 6.445 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006225/0.4149, allocations: 3.678 MB / 0.5005 GB, free: 2.777 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 8.761e-05/0.415, allocations: 33.7 kB / 0.5006 GB, free: 2.738 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002433/0.4174, allocations: 2.804 MB / 0.5033 GB, free: 15.9 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005001/0.4179, allocations: 405.1 kB / 0.5037 GB, free: 15.5 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001344/0.4192, allocations: 0.9609 MB / 0.5046 GB, free: 14.53 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001479/0.4194, allocations: 313.1 kB / 0.5049 GB, free: 14.22 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001946/0.4213, allocations: 1.2 MB / 0.5061 GB, free: 13.02 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004778/0.4261, allocations: 4.534 MB / 0.5105 GB, free: 6.781 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007346/0.4335, allocations: 6.297 MB / 0.5167 GB, free: 14.82 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.31e-05/0.4336, allocations: 32 kB / 0.5167 GB, free: 14.79 MB / 446.1 MB Notification: Performance of matching and sorting (n=621) (initialization): time 0.009806/0.4434, allocations: 5.446 MB / 0.522 GB, free: 9.336 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001242/0.4435, allocations: 56.19 kB / 0.5221 GB, free: 9.281 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002016/0.4437, allocations: 124 kB / 0.5222 GB, free: 9.16 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002787/0.444, allocations: 160 kB / 0.5223 GB, free: 9.004 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003068/0.447, allocations: 1.084 MB / 0.5234 GB, free: 7.918 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002145/0.4472, allocations: 235.1 kB / 0.5236 GB, free: 7.688 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003505/0.4508, allocations: 0.7018 MB / 0.5243 GB, free: 6.98 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005324/0.4513, allocations: 316 kB / 0.5246 GB, free: 6.672 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.002803/0.4541, allocations: 1.716 MB / 0.5263 GB, free: 4.945 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005676/0.4547, allocations: 313.9 kB / 0.5266 GB, free: 4.637 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001014/0.4557, allocations: 490.2 kB / 0.5271 GB, free: 4.152 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.217e-05/0.4557, allocations: 23.98 kB / 0.5271 GB, free: 4.129 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.076e-05/0.4557, allocations: 8 kB / 0.5271 GB, free: 4.121 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.803e-05/0.4558, allocations: 3.984 kB / 0.5271 GB, free: 4.117 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006821/0.4626, allocations: 3.126 MB / 0.5301 GB, free: 0.9141 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-05/0.4626, allocations: 4 kB / 0.5302 GB, free: 0.9102 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004654/0.4631, allocations: 107.8 kB / 0.5303 GB, free: 0.8047 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.295e-05/0.4631, allocations: 7.938 kB / 0.5303 GB, free: 0.7969 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.079e-05/0.4631, allocations: 19.98 kB / 0.5303 GB, free: 0.7773 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.386e-06/0.4631, allocations: 8 kB / 0.5303 GB, free: 0.7695 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.027e-06/0.4631, allocations: 7.938 kB / 0.5303 GB, free: 0.7617 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002668/0.4658, allocations: 2.232 MB / 0.5325 GB, free: 14.48 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009366/0.4667, allocations: 369.5 kB / 0.5328 GB, free: 14.11 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004516/0.4672, allocations: 27.95 kB / 0.5329 GB, free: 14.09 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001022/0.4682, allocations: 31.91 kB / 0.5329 GB, free: 14.05 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001129/0.4683, allocations: 51.8 kB / 0.5329 GB, free: 14 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.155e-05/0.4684, allocations: 28 kB / 0.533 GB, free: 13.98 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.004016/0.4724, allocations: 2.341 MB / 0.5352 GB, free: 11.65 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4724, allocations: 4 kB / 0.5352 GB, free: 11.65 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00367/0.4761, allocations: 0.8145 MB / 0.536 GB, free: 10.83 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.003114/0.4792, allocations: 2.846 MB / 0.5388 GB, free: 7.93 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004719/0.4839, allocations: 2.709 MB / 0.5415 GB, free: 5.25 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/0.4839, allocations: 0 / 0.5415 GB, free: 5.25 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005973/0.4845, allocations: 401.7 kB / 0.5419 GB, free: 4.859 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002386/0.4869, allocations: 385.5 kB / 0.5422 GB, free: 4.48 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.235/0.7219, allocations: 33.26 MB / 0.5747 GB, free: 98.54 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001965/0.7239, allocations: 2.685 MB / 0.5773 GB, free: 95.84 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002683/0.7265, allocations: 1.487 MB / 0.5788 GB, free: 94.36 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001275/0.7278, allocations: 1.464 MB / 0.5802 GB, free: 92.89 MB / 462.1 MB Notification: Performance of SimCode: time 8.52e-07/0.7278, allocations: 0 / 0.5802 GB, free: 92.89 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09188/0.8197, allocations: 51.65 MB / 0.6307 GB, free: 41.64 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 18.95/19.77, allocations: 7.844 kB / 0.6307 GB, free: 41.63 MB / 462.1 MB " [Timeout remaining time 640] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Elementary_Surfaces_fmu --startTime=0 --stopTime=5 --stepSize=0.0009996 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Elementary_Surfaces.fmu > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/Surfaces/Surfaces.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 22.54950474202633]