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.001125/0.001125, allocations: 83.64 kB / 21.43 MB, free: 3.137 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.004292/0.004292, allocations: 161.5 kB / 24.69 MB, free: 9.422 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.8354/0.8354, allocations: 158.6 MB / 186.5 MB, free: 3.039 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.423e-06/1.423e-06, allocations: 0 / 298.5 MB, free: 3.492 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.508e-06/1.093e-05, allocations: 2.281 kB / 298.5 MB, free: 3.488 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.1265/0.1265, allocations: 7.991 MB / 306.5 MB, free: 11.52 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0031/0.1296, allocations: 2.55 MB / 309 MB, free: 10.09 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004721/0.1301, allocations: 56.5 kB / 309.1 MB, free: 10.07 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001957/0.132, allocations: 1.864 MB / 310.9 MB, free: 9.277 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001674/0.1337, allocations: 1.414 MB / 312.3 MB, free: 8.613 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003057/0.134, allocations: 226.8 kB / 312.6 MB, free: 8.516 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.002432/0.1365, allocations: 3.38 MB / 315.9 MB, free: 7.352 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001518/0.138, allocations: 2.062 MB / 318 MB, free: 6.422 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001246/0.1392, allocations: 1.544 MB / 319.5 MB, free: 5.48 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001432/0.1407, allocations: 1.818 MB / 321.4 MB, free: 4.512 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002506/0.1409, allocations: 187.2 kB / 321.5 MB, free: 4.512 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005184/0.1414, allocations: 443.5 kB / 322 MB, free: 4.387 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006783/0.1421, allocations: 1.391 MB / 323.4 MB, free: 3.59 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005857/0.1427, allocations: 0.8244 MB / 324.2 MB, free: 3.129 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002406/0.1451, allocations: 4.743 MB / 328.9 MB, free: 15.94 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.1451, allocations: 0 / 328.9 MB, free: 15.94 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.1451, allocations: 0 / 328.9 MB, free: 15.94 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.593e-05/0.1451, allocations: 5.375 kB / 328.9 MB, free: 15.94 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.003488/0.1486, allocations: 3.617 MB / 332.6 MB, free: 12.44 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.1487, allocations: 11.98 kB / 332.6 MB, free: 12.43 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000431/0.1491, allocations: 0.5385 MB / 333.1 MB, free: 11.88 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002702/0.1518, allocations: 1.683 MB / 334.8 MB, free: 10.19 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001747/0.1535, allocations: 1.537 MB / 336.3 MB, free: 8.605 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.864e-05/0.1536, allocations: 151.8 kB / 336.5 MB, free: 8.457 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002308/0.1538, allocations: 203.8 kB / 336.7 MB, free: 8.258 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00561/0.1595, allocations: 6.984 MB / 343.7 MB, free: 0.7227 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.729e-05/0.1595, allocations: 31.75 kB / 343.7 MB, free: 0.6914 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001799/0.1597, allocations: 95.89 kB / 343.8 MB, free: 0.5977 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001315/0.161, allocations: 1.551 MB / 345.3 MB, free: 15.05 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005502/0.1665, allocations: 5.497 MB / 350.8 MB, free: 9.543 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0169/0.1834, allocations: 26.09 MB / 376.9 MB, free: 14.57 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001582/0.185, allocations: 1.191 MB / 378.1 MB, free: 13.32 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004238/0.1854, allocations: 465.7 kB / 378.6 MB, free: 12.84 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002118/0.1875, allocations: 2.078 MB / 380.6 MB, free: 10.73 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.808e-05/0.1876, allocations: 50.44 kB / 380.7 MB, free: 10.68 MB / 346.7 MB Notification: Performance of pre-optimization done (n=89): time 2.655e-06/0.1876, allocations: 0 / 380.7 MB, free: 10.68 MB / 346.7 MB Notification: Performance of matching and sorting (n=89): time 0.002367/0.1899, allocations: 1.84 MB / 382.5 MB, free: 8.832 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.378e-05/0.19, allocations: 229.6 kB / 382.8 MB, free: 8.559 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002968/0.193, allocations: 3.863 MB / 386.6 MB, free: 4.703 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.353e-05/0.193, allocations: 33.7 kB / 386.7 MB, free: 4.664 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001245/0.1942, allocations: 2.769 MB / 389.4 MB, free: 1.867 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001898/0.1944, allocations: 401.2 kB / 389.8 MB, free: 1.473 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007051/0.1951, allocations: 0.9412 MB / 390.8 MB, free: 0.5195 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.256e-05/0.1952, allocations: 305.1 kB / 391.1 MB, free: 224 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001102/0.1963, allocations: 1.204 MB / 392.3 MB, free: 15.01 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002526/0.1988, allocations: 4.53 MB / 396.8 MB, free: 8.777 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004114/0.2029, allocations: 6.294 MB / 403.1 MB, free: 0.8125 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.127e-05/0.203, allocations: 32 kB / 403.1 MB, free: 0.7812 MB / 362.7 MB Notification: Performance of matching and sorting (n=621) (initialization): time 0.00502/0.208, allocations: 5.451 MB / 408.6 MB, free: 11.32 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.65e-05/0.208, allocations: 56 kB / 408.6 MB, free: 11.27 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.244e-05/0.2081, allocations: 120 kB / 408.7 MB, free: 11.15 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.562e-05/0.2082, allocations: 156 kB / 408.9 MB, free: 11 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001552/0.2097, allocations: 1.084 MB / 410 MB, free: 9.91 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001066/0.2098, allocations: 231.1 kB / 410.2 MB, free: 9.684 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001727/0.2116, allocations: 0.7061 MB / 410.9 MB, free: 8.977 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002241/0.2118, allocations: 312 kB / 411.2 MB, free: 8.672 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.001684/0.2135, allocations: 1.708 MB / 412.9 MB, free: 6.949 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002502/0.2137, allocations: 317.8 kB / 413.2 MB, free: 6.637 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004964/0.2142, allocations: 0.4905 MB / 413.7 MB, free: 6.141 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.84e-05/0.2143, allocations: 27.98 kB / 413.7 MB, free: 6.113 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.338e-06/0.2143, allocations: 0 / 413.7 MB, free: 6.113 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.085e-06/0.2143, allocations: 7.984 kB / 413.8 MB, free: 6.105 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003367/0.2176, allocations: 3.032 MB / 416.8 MB, free: 2.996 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.231e-06/0.2176, allocations: 9.156 kB / 416.8 MB, free: 2.988 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002508/0.2179, allocations: 103.8 kB / 416.9 MB, free: 2.887 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.164e-06/0.2179, allocations: 8.281 kB / 416.9 MB, free: 2.879 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.841e-05/0.2179, allocations: 15.98 kB / 416.9 MB, free: 2.863 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.583e-06/0.2179, allocations: 8 kB / 416.9 MB, free: 2.855 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.961e-06/0.2179, allocations: 15.02 kB / 416.9 MB, free: 2.844 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001605/0.2195, allocations: 2.22 MB / 419.2 MB, free: 0.5664 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003765/0.2199, allocations: 369.6 kB / 419.5 MB, free: 208 kB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001307/0.2201, allocations: 27.95 kB / 419.6 MB, free: 180 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004656/0.2205, allocations: 31.91 kB / 419.6 MB, free: 148 kB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.508e-05/0.2206, allocations: 55.8 kB / 419.6 MB, free: 92 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.807e-05/0.2206, allocations: 28 kB / 419.7 MB, free: 64 kB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001966/0.2226, allocations: 2.337 MB / 422 MB, free: 13.74 MB / 394.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2226, allocations: 0 / 422 MB, free: 13.74 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002099/0.2247, allocations: 0.8106 MB / 422.8 MB, free: 12.93 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.001915/0.2266, allocations: 2.847 MB / 425.7 MB, free: 10.02 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00247/0.2291, allocations: 2.718 MB / 428.4 MB, free: 7.328 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.2291, allocations: 0 / 428.4 MB, free: 7.328 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003346/0.2294, allocations: 399.5 kB / 428.8 MB, free: 6.938 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001258/0.2307, allocations: 378.8 kB / 429.1 MB, free: 6.574 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02703/0.2577, allocations: 32.99 MB / 462.1 MB, free: 0.8281 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1279/0.3857, allocations: 2.129 MB / 464.3 MB, free: 141.6 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002666/0.3883, allocations: 1.491 MB / 465.8 MB, free: 141.6 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001291/0.3896, allocations: 1.47 MB / 467.2 MB, free: 141.4 MB / 426.7 MB Notification: Performance of SimCode: time 1.543e-06/0.3896, allocations: 0 / 467.2 MB, free: 141.4 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05017/0.4398, allocations: 47.45 MB / 0.5026 GB, free: 108.6 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.983/9.422, allocations: 3.859 kB / 0.5026 GB, free: 108.6 MB / 426.7 MB " [Timeout remaining time 650] (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 & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0009996 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.csv","/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] "Error: Could not read variable prismatic.s in file Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces_res.csv. Warning: Get data of variable prismatic.s from file Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.161188261583447]