Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.0009001/0.0009001, allocations: 83.64 kB / 21.43 MB, free: 3.133 MB / 18.57 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.004079/0.004079, allocations: 162.5 kB / 24.69 MB, free: 9.441 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8897/0.8897, allocations: 158.6 MB / 186.5 MB, free: 3.043 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_Surfaces",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_Surfaces",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 298.5 MB, free: 3.492 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.118e-05/2.295e-05, allocations: 6.219 kB / 298.5 MB, free: 3.484 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.1545/0.1545, allocations: 7.978 MB / 306.4 MB, free: 11.52 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.004814/0.1593, allocations: 2.547 MB / 309 MB, free: 10.1 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001091/0.1604, allocations: 55.34 kB / 309 MB, free: 10.08 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00252/0.1629, allocations: 1.864 MB / 310.9 MB, free: 9.289 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003587/0.1665, allocations: 1.409 MB / 312.3 MB, free: 8.629 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004823/0.167, allocations: 239.6 kB / 312.6 MB, free: 8.52 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.004477/0.1715, allocations: 3.373 MB / 315.9 MB, free: 7.363 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002638/0.1741, allocations: 2.066 MB / 318 MB, free: 6.438 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002411/0.1765, allocations: 1.549 MB / 319.5 MB, free: 5.492 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002333/0.1788, allocations: 1.808 MB / 321.3 MB, free: 4.531 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005027/0.1793, allocations: 189.4 kB / 321.5 MB, free: 4.531 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000818/0.1802, allocations: 449.4 kB / 322 MB, free: 4.398 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008111/0.181, allocations: 1.397 MB / 323.4 MB, free: 3.598 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007764/0.1817, allocations: 0.8201 MB / 324.2 MB, free: 3.141 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003528/0.1853, allocations: 4.738 MB / 328.9 MB, free: 15.96 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.795e-06/0.1853, allocations: 7.922 kB / 328.9 MB, free: 15.95 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.1853, allocations: 1.031 kB / 328.9 MB, free: 15.95 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.556e-05/0.1854, allocations: 0 / 328.9 MB, free: 15.95 MB / 298.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.004403/0.1898, allocations: 3.617 MB / 332.6 MB, free: 12.45 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.588e-05/0.1898, allocations: 11.98 kB / 332.6 MB, free: 12.44 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004306/0.1903, allocations: 0.5401 MB / 333.1 MB, free: 11.89 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002733/0.193, allocations: 1.691 MB / 334.8 MB, free: 10.2 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001938/0.1949, allocations: 1.529 MB / 336.3 MB, free: 8.621 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.656e-05/0.195, allocations: 151.8 kB / 336.5 MB, free: 8.473 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002361/0.1953, allocations: 203.8 kB / 336.7 MB, free: 8.273 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006213/0.2015, allocations: 6.979 MB / 343.6 MB, free: 0.7422 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.775e-05/0.2015, allocations: 27.75 kB / 343.7 MB, free: 0.7148 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001698/0.2017, allocations: 103.9 kB / 343.8 MB, free: 0.6133 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001519/0.2032, allocations: 1.551 MB / 345.3 MB, free: 15.06 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006499/0.2097, allocations: 5.501 MB / 350.8 MB, free: 9.555 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02172/0.2314, allocations: 26.09 MB / 376.9 MB, free: 14.58 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002028/0.2335, allocations: 1.185 MB / 378.1 MB, free: 13.34 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004581/0.2339, allocations: 466.1 kB / 378.6 MB, free: 12.86 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003023/0.2369, allocations: 2.078 MB / 380.6 MB, free: 10.75 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.88e-05/0.237, allocations: 50.44 kB / 380.7 MB, free: 10.69 MB / 346.7 MB Notification: Performance of pre-optimization done (n=89): time 4.508e-06/0.237, allocations: 0 / 380.7 MB, free: 10.69 MB / 346.7 MB Notification: Performance of matching and sorting (n=89): time 0.002427/0.2394, allocations: 1.84 MB / 382.5 MB, free: 8.848 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.374e-05/0.2395, allocations: 221.7 kB / 382.7 MB, free: 8.582 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003938/0.2434, allocations: 3.867 MB / 386.6 MB, free: 4.723 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.056e-05/0.2435, allocations: 37.7 kB / 386.6 MB, free: 4.68 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001708/0.2452, allocations: 2.765 MB / 389.4 MB, free: 1.887 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002579/0.2454, allocations: 401.2 kB / 389.8 MB, free: 1.492 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008511/0.2463, allocations: 0.9451 MB / 390.8 MB, free: 0.5352 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.19e-05/0.2464, allocations: 301.1 kB / 391 MB, free: 244 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001189/0.2476, allocations: 1.208 MB / 392.3 MB, free: 15.02 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002934/0.2505, allocations: 4.526 MB / 396.8 MB, free: 8.797 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004828/0.2553, allocations: 6.298 MB / 403.1 MB, free: 0.8281 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.878e-05/0.2554, allocations: 36 kB / 403.1 MB, free: 0.793 MB / 362.7 MB Notification: Performance of matching and sorting (n=621) (initialization): time 0.006163/0.2616, allocations: 5.451 MB / 408.6 MB, free: 11.34 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.403e-05/0.2616, allocations: 56 kB / 408.6 MB, free: 11.28 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.07e-05/0.2617, allocations: 116 kB / 408.7 MB, free: 11.17 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.362e-05/0.2618, allocations: 156 kB / 408.9 MB, free: 11.02 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001693/0.2635, allocations: 1.084 MB / 410 MB, free: 9.93 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001058/0.2636, allocations: 231.1 kB / 410.2 MB, free: 9.703 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002492/0.2661, allocations: 0.7061 MB / 410.9 MB, free: 8.992 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002823/0.2664, allocations: 312 kB / 411.2 MB, free: 8.688 MB / 378.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.00224/0.2686, allocations: 1.712 MB / 412.9 MB, free: 6.961 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003671/0.269, allocations: 317.8 kB / 413.2 MB, free: 6.648 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005863/0.2696, allocations: 0.4906 MB / 413.7 MB, free: 6.152 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.063e-05/0.2696, allocations: 23.98 kB / 413.7 MB, free: 6.129 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.017e-06/0.2696, allocations: 4 kB / 413.7 MB, free: 6.125 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.594e-06/0.2696, allocations: 3.938 kB / 413.7 MB, free: 6.121 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003622/0.2732, allocations: 3.036 MB / 416.8 MB, free: 3.008 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.805e-06/0.2732, allocations: 5.156 kB / 416.8 MB, free: 3.004 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002627/0.2735, allocations: 111.8 kB / 416.9 MB, free: 2.895 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.294e-06/0.2735, allocations: 4.281 kB / 416.9 MB, free: 2.891 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.054e-05/0.2735, allocations: 19.98 kB / 416.9 MB, free: 2.871 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.322e-06/0.2736, allocations: 8 kB / 416.9 MB, free: 2.863 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.953e-06/0.2736, allocations: 18.95 kB / 416.9 MB, free: 2.848 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001536/0.2751, allocations: 2.216 MB / 419.2 MB, free: 0.5742 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005017/0.2756, allocations: 365.6 kB / 419.5 MB, free: 220 kB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001273/0.2757, allocations: 23.95 kB / 419.5 MB, free: 196 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000465/0.2762, allocations: 31.97 kB / 419.6 MB, free: 164 kB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.103e-05/0.2763, allocations: 59.78 kB / 419.6 MB, free: 104 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.795e-05/0.2763, allocations: 24 kB / 419.7 MB, free: 80 kB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002448/0.2788, allocations: 2.341 MB / 422 MB, free: 13.75 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.7e-07/0.2788, allocations: 0 / 422 MB, free: 13.75 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002752/0.2815, allocations: 0.8067 MB / 422.8 MB, free: 12.94 MB / 394.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.002085/0.2836, allocations: 2.843 MB / 425.6 MB, free: 10.04 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00362/0.2872, allocations: 2.722 MB / 428.4 MB, free: 7.344 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.193e-06/0.2872, allocations: 0 / 428.4 MB, free: 7.344 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003701/0.2876, allocations: 403.5 kB / 428.8 MB, free: 6.949 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001666/0.2893, allocations: 388.5 kB / 429.1 MB, free: 6.578 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03325/0.3225, allocations: 32.98 MB / 462.1 MB, free: 0.8398 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.138/0.4606, allocations: 2.127 MB / 464.3 MB, free: 141.6 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.00313/0.4637, allocations: 1.487 MB / 465.7 MB, free: 141.5 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001509/0.4652, allocations: 1.471 MB / 467.2 MB, free: 141.3 MB / 426.7 MB Notification: Performance of SimCode: time 1.343e-06/0.4652, allocations: 1.125 kB / 467.2 MB, free: 141.3 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06224/0.5274, allocations: 47.46 MB / 0.5026 GB, free: 108.6 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.81/9.338, allocations: 3.859 kB / 0.5026 GB, free: 108.6 MB / 426.7 MB " [Timeout remaining time 651] (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_Surfaces_fmu --startTime=0 --stopTime=5 --stepSize=0.0009996 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_Surfaces.fmu > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/Surfaces/Surfaces.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.247603409923613]