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.001193/0.001193, allocations: 76.08 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0007538/0.0007538, allocations: 149.1 kB / 23.93 MB, free: 0.6289 MB / 18.57 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 0.8657/0.8657, allocations: 173.4 MB / 200.5 MB, free: 9.43 MB / 186.7 MB " [Timeout remaining time 179] 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 1.623e-06/1.623e-06, allocations: 0 / 318.5 MB, free: 6.344 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.265e-05/1.428e-05, allocations: 2.281 kB / 318.5 MB, free: 6.34 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.006312/0.006326, allocations: 7.984 MB / 326.4 MB, free: 14.31 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004071/0.0104, allocations: 2.546 MB / 329 MB, free: 11.76 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000556/0.01095, allocations: 55.75 kB / 329 MB, free: 11.7 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00211/0.01306, allocations: 1.865 MB / 330.9 MB, free: 9.832 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001581/0.01464, allocations: 1.411 MB / 332.3 MB, free: 8.414 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002872/0.01493, allocations: 227.5 kB / 332.5 MB, free: 8.191 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002113/0.01704, allocations: 3.393 MB / 335.9 MB, free: 4.797 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001248/0.01829, allocations: 2.054 MB / 338 MB, free: 2.691 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009979/0.01929, allocations: 1.532 MB / 339.5 MB, free: 1.156 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001233/0.02052, allocations: 1.812 MB / 341.3 MB, free: 15.34 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003008/0.02082, allocations: 188 kB / 341.5 MB, free: 15.15 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004417/0.02127, allocations: 451.4 kB / 342 MB, free: 14.71 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006408/0.02191, allocations: 1.398 MB / 343.4 MB, free: 13.31 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004754/0.02238, allocations: 0.8172 MB / 344.2 MB, free: 12.49 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00282/0.0252, allocations: 4.737 MB / 348.9 MB, free: 7.734 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.02521, allocations: 0 / 348.9 MB, free: 7.734 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.02521, allocations: 0 / 348.9 MB, free: 7.734 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.631e-05/0.02523, allocations: 0 / 348.9 MB, free: 7.734 MB / 314.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.002952/0.02819, allocations: 3.619 MB / 352.5 MB, free: 4.062 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/0.02823, allocations: 16.86 kB / 352.5 MB, free: 4.047 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003799/0.02861, allocations: 0.5385 MB / 353.1 MB, free: 3.496 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002549/0.03116, allocations: 1.695 MB / 354.8 MB, free: 1.797 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001618/0.03278, allocations: 1.521 MB / 356.3 MB, free: 244 kB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.606e-05/0.03284, allocations: 155.7 kB / 356.4 MB, free: 88 kB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002145/0.03306, allocations: 203.8 kB / 356.6 MB, free: 15.89 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005291/0.03835, allocations: 6.986 MB / 363.6 MB, free: 8.352 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.139e-05/0.03839, allocations: 27.75 kB / 363.7 MB, free: 8.324 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001556/0.03855, allocations: 95.89 kB / 363.8 MB, free: 8.23 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001164/0.03971, allocations: 1.559 MB / 365.3 MB, free: 6.668 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005347/0.04506, allocations: 5.497 MB / 370.8 MB, free: 1.156 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01511/0.06017, allocations: 26.12 MB / 396.9 MB, free: 6.137 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001462/0.06163, allocations: 1.173 MB / 398.1 MB, free: 4.902 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003976/0.06203, allocations: 465.8 kB / 398.6 MB, free: 4.426 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002102/0.06413, allocations: 2.075 MB / 400.6 MB, free: 2.32 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.522e-05/0.06416, allocations: 50.48 kB / 400.7 MB, free: 2.262 MB / 362.7 MB Notification: Performance of pre-optimization done (n=89): time 1.994e-06/0.06416, allocations: 0 / 400.7 MB, free: 2.262 MB / 362.7 MB Notification: Performance of matching and sorting (n=89): time 0.002167/0.06633, allocations: 1.825 MB / 402.5 MB, free: 440 kB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.285e-05/0.0664, allocations: 229.7 kB / 402.7 MB, free: 160 kB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002996/0.06939, allocations: 3.867 MB / 406.6 MB, free: 12.29 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.101e-05/0.06943, allocations: 33.7 kB / 406.6 MB, free: 12.25 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001123/0.07055, allocations: 2.769 MB / 409.4 MB, free: 9.461 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001937/0.07074, allocations: 401.2 kB / 409.8 MB, free: 9.066 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006447/0.07139, allocations: 0.9451 MB / 410.7 MB, free: 8.109 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.86e-05/0.07146, allocations: 305.1 kB / 411 MB, free: 7.809 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001075/0.07253, allocations: 1.204 MB / 412.2 MB, free: 6.598 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002551/0.07508, allocations: 4.526 MB / 416.8 MB, free: 380 kB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003932/0.07901, allocations: 6.311 MB / 423.1 MB, free: 8.387 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.932e-05/0.07904, allocations: 36 kB / 423.1 MB, free: 8.352 MB / 394.7 MB Notification: Performance of matching and sorting (n=621) (initialization): time 0.004647/0.08369, allocations: 5.454 MB / 428.6 MB, free: 2.898 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.54e-05/0.08373, allocations: 56 kB / 428.6 MB, free: 2.844 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.799e-05/0.08379, allocations: 116 kB / 428.7 MB, free: 2.73 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.268e-05/0.08388, allocations: 156 kB / 428.9 MB, free: 2.578 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001494/0.08537, allocations: 1.084 MB / 430 MB, free: 1.492 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.886e-05/0.08547, allocations: 231.1 kB / 430.2 MB, free: 1.266 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001499/0.08697, allocations: 0.71 MB / 430.9 MB, free: 0.5508 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002054/0.08717, allocations: 312 kB / 431.2 MB, free: 252 kB / 394.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.001408/0.08858, allocations: 1.704 MB / 432.9 MB, free: 14.53 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002245/0.08881, allocations: 321.8 kB / 433.2 MB, free: 14.21 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004637/0.08927, allocations: 0.4906 MB / 433.7 MB, free: 13.71 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.652e-05/0.0893, allocations: 27.97 kB / 433.7 MB, free: 13.69 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.017e-06/0.0893, allocations: 4 kB / 433.7 MB, free: 13.68 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.08931, allocations: 288 / 433.7 MB, free: 13.68 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002891/0.0922, allocations: 3.032 MB / 436.8 MB, free: 10.57 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/0.09221, allocations: 8.281 kB / 436.8 MB, free: 10.57 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002358/0.09244, allocations: 111.8 kB / 436.9 MB, free: 10.46 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.09245, allocations: 4 kB / 436.9 MB, free: 10.45 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.439e-05/0.09247, allocations: 12 kB / 436.9 MB, free: 10.44 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.114e-06/0.09248, allocations: 19.86 kB / 436.9 MB, free: 10.42 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.09248, allocations: 4 kB / 436.9 MB, free: 10.42 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001529/0.09401, allocations: 2.227 MB / 439.2 MB, free: 8.137 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003267/0.09434, allocations: 361.6 kB / 439.5 MB, free: 7.781 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001231/0.09446, allocations: 24.05 kB / 439.5 MB, free: 7.758 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004426/0.0949, allocations: 31.91 kB / 439.6 MB, free: 7.727 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.021e-05/0.09497, allocations: 51.86 kB / 439.6 MB, free: 7.676 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.122e-05/0.095, allocations: 32 kB / 439.7 MB, free: 7.645 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001846/0.09685, allocations: 2.337 MB / 442 MB, free: 5.324 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.09685, allocations: 0 / 442 MB, free: 5.324 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001819/0.09867, allocations: 0.8261 MB / 442.8 MB, free: 4.496 MB / 410.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.001703/0.1004, allocations: 2.847 MB / 445.7 MB, free: 1.59 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.1457/0.2461, allocations: 2.703 MB / 448.4 MB, free: 120.5 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.434e-06/0.2461, allocations: 1.906 kB / 448.4 MB, free: 120.5 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005488/0.2466, allocations: 408.6 kB / 448.8 MB, free: 120.5 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001654/0.2483, allocations: 375.3 kB / 449.1 MB, free: 120.5 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02165/0.2699, allocations: 32.98 MB / 482.1 MB, free: 87.96 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001443/0.2714, allocations: 2.138 MB / 484.2 MB, free: 85.8 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001807/0.2732, allocations: 1.488 MB / 485.7 MB, free: 84.32 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008445/0.274, allocations: 1.469 MB / 487.2 MB, free: 82.85 MB / 410.7 MB Notification: Performance of SimCode: time 1.553e-06/0.274, allocations: 4 kB / 487.2 MB, free: 82.84 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05911/0.3331, allocations: 47.52 MB / 0.5222 GB, free: 35.98 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.121/9.454, allocations: 6.734 kB / 0.5222 GB, free: 35.98 MB / 410.7 MB " [Timeout remaining time 650] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/Surfaces/Surfaces.csv","/var/lib/jenkins/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: 11.353936923667789]