Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001377/0.001377, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001633/0.001633, allocations: 213.6 kB / 23.73 MB, free: 4.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.43/1.43, allocations: 230.5 MB / 257.4 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_Surfaces",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_Surfaces",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001996/0.001996, allocations: 67.89 kB / 377.8 MB, free: 2.805 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2321/0.2341, allocations: 53.4 MB / 431.2 MB, free: 6.449 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.01161/0.2457, allocations: 7.953 MB / 439.1 MB, free: 14.46 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006179/0.2519, allocations: 2.601 MB / 441.7 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001319/0.2532, allocations: 55.75 kB / 441.8 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003867/0.2571, allocations: 1.795 MB / 443.6 MB, free: 10 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003963/0.2611, allocations: 1.366 MB / 444.9 MB, free: 8.629 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007052/0.2618, allocations: 219.6 kB / 445.1 MB, free: 8.414 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003537/0.2653, allocations: 2.327 MB / 447.5 MB, free: 6.082 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003043/0.2683, allocations: 1.726 MB / 449.2 MB, free: 4.301 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002069/0.2704, allocations: 1.02 MB / 450.2 MB, free: 3.277 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004475/0.2749, allocations: 2.509 MB / 452.7 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009253/0.2758, allocations: 188 kB / 452.9 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001483/0.2773, allocations: 427.4 kB / 453.3 MB, free: 164 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001894/0.2792, allocations: 1.336 MB / 454.7 MB, free: 14.82 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002279/0.2815, allocations: 1.113 MB / 455.8 MB, free: 13.7 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006557/0.288, allocations: 4.873 MB / 460.6 MB, free: 8.805 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.288, allocations: 0 / 460.6 MB, free: 8.805 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.288, allocations: 3.938 kB / 460.7 MB, free: 8.801 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001251/0.2882, allocations: 0 / 460.7 MB, free: 8.801 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.006304/0.2945, allocations: 3.638 MB / 464.3 MB, free: 5.109 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.67e-05/0.2945, allocations: 15.98 kB / 464.3 MB, free: 5.094 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006837/0.2952, allocations: 0.5424 MB / 464.8 MB, free: 4.539 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005931/0.3011, allocations: 1.714 MB / 466.6 MB, free: 2.82 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003381/0.3045, allocations: 1.536 MB / 468.1 MB, free: 1.246 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000125/0.3046, allocations: 151.8 kB / 468.2 MB, free: 1.098 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003746/0.305, allocations: 191.9 kB / 468.4 MB, free: 0.9102 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01041/0.3154, allocations: 6.994 MB / 475.4 MB, free: 9.371 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.968e-05/0.3155, allocations: 27.75 kB / 475.5 MB, free: 9.344 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003138/0.3158, allocations: 95.89 kB / 475.5 MB, free: 9.25 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002374/0.3182, allocations: 1.559 MB / 477.1 MB, free: 7.688 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009971/0.3281, allocations: 5.489 MB / 482.6 MB, free: 2.188 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03416/0.3623, allocations: 26.09 MB / 0.4968 GB, free: 7.191 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002907/0.3652, allocations: 1.124 MB / 0.4979 GB, free: 6.004 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007108/0.3659, allocations: 476.6 kB / 0.4983 GB, free: 5.52 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004309/0.3702, allocations: 2.047 MB / 0.5003 GB, free: 3.441 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.205e-05/0.3703, allocations: 46.5 kB / 0.5004 GB, free: 3.387 MB / 414.1 MB Notification: Performance of pre-optimization done (n=89): time 3.146e-06/0.3703, allocations: 0 / 0.5004 GB, free: 3.387 MB / 414.1 MB Notification: Performance of matching and sorting (n=89): time 0.003974/0.3743, allocations: 1.778 MB / 0.5021 GB, free: 1.605 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001414/0.3744, allocations: 217.6 kB / 0.5023 GB, free: 1.344 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005283/0.3797, allocations: 3.859 MB / 0.5061 GB, free: 13.49 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.209e-05/0.3798, allocations: 41.64 kB / 0.5061 GB, free: 13.45 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002302/0.3821, allocations: 2.796 MB / 0.5088 GB, free: 10.62 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004775/0.3825, allocations: 405.1 kB / 0.5092 GB, free: 10.22 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001227/0.3838, allocations: 0.9568 MB / 0.5102 GB, free: 9.254 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001402/0.3839, allocations: 305.7 kB / 0.5105 GB, free: 8.953 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001859/0.3858, allocations: 1.204 MB / 0.5116 GB, free: 7.742 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005231/0.391, allocations: 4.534 MB / 0.5161 GB, free: 1.508 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008559/0.3996, allocations: 6.295 MB / 0.5222 GB, free: 9.539 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001149/0.3997, allocations: 40 kB / 0.5222 GB, free: 9.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=621) (initialization): time 0.01051/0.4102, allocations: 5.453 MB / 0.5276 GB, free: 4.043 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001025/0.4103, allocations: 59.94 kB / 0.5276 GB, free: 3.984 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001715/0.4105, allocations: 120 kB / 0.5277 GB, free: 3.867 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001793/0.4106, allocations: 152 kB / 0.5279 GB, free: 3.719 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003239/0.4139, allocations: 1.088 MB / 0.5289 GB, free: 2.629 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002128/0.4141, allocations: 231.7 kB / 0.5292 GB, free: 2.402 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003428/0.4175, allocations: 0.7058 MB / 0.5299 GB, free: 1.691 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005376/0.4181, allocations: 316 kB / 0.5302 GB, free: 1.383 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.002619/0.4207, allocations: 1.713 MB / 0.5318 GB, free: 15.65 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005505/0.4212, allocations: 317.8 kB / 0.5321 GB, free: 15.34 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009528/0.4222, allocations: 498.3 kB / 0.5326 GB, free: 14.85 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.726e-05/0.4222, allocations: 23.98 kB / 0.5326 GB, free: 14.82 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.1e-05/0.4222, allocations: 4 kB / 0.5326 GB, free: 14.82 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/0.4222, allocations: 3.938 kB / 0.5326 GB, free: 14.82 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00568/0.4279, allocations: 3.013 MB / 0.5356 GB, free: 11.73 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.073e-05/0.4279, allocations: 4 kB / 0.5356 GB, free: 11.73 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004749/0.4284, allocations: 103.8 kB / 0.5357 GB, free: 11.62 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.2e-05/0.4284, allocations: 7.938 kB / 0.5357 GB, free: 11.62 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.944e-05/0.4285, allocations: 20 kB / 0.5357 GB, free: 11.6 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.338e-06/0.4285, allocations: 7.984 kB / 0.5357 GB, free: 11.59 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.498e-06/0.4285, allocations: 4 kB / 0.5357 GB, free: 11.59 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002701/0.4312, allocations: 2.234 MB / 0.5379 GB, free: 9.301 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008661/0.4321, allocations: 365.7 kB / 0.5383 GB, free: 8.941 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002483/0.4323, allocations: 23.88 kB / 0.5383 GB, free: 8.918 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008354/0.4331, allocations: 31.97 kB / 0.5383 GB, free: 8.887 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001044/0.4332, allocations: 59.73 kB / 0.5384 GB, free: 8.828 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.635e-05/0.4333, allocations: 24 kB / 0.5384 GB, free: 8.805 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003474/0.4368, allocations: 2.337 MB / 0.5407 GB, free: 6.484 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4368, allocations: 0 / 0.5407 GB, free: 6.484 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003645/0.4404, allocations: 0.8067 MB / 0.5415 GB, free: 5.676 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.003162/0.4436, allocations: 2.849 MB / 0.5442 GB, free: 2.766 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00545/0.449, allocations: 2.713 MB / 0.5469 GB, free: 84 kB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 8.466e-06/0.449, allocations: 0 / 0.5469 GB, free: 84 kB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.1884/0.6374, allocations: 398.6 kB / 0.5473 GB, free: 117.2 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002636/0.64, allocations: 375.7 kB / 0.5476 GB, free: 117.2 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03358/0.6736, allocations: 33.25 MB / 0.5801 GB, free: 87.44 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00253/0.6761, allocations: 2.122 MB / 0.5822 GB, free: 85.29 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002777/0.6789, allocations: 1.495 MB / 0.5836 GB, free: 83.79 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001337/0.6803, allocations: 1.468 MB / 0.5851 GB, free: 82.32 MB / 462.1 MB Notification: Performance of SimCode: time 9.82e-07/0.6803, allocations: 0 / 0.5851 GB, free: 82.32 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1092/0.7894, allocations: 47.44 MB / 0.6314 GB, free: 35.46 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.85/15.64, allocations: 11.53 kB / 0.6314 GB, free: 35.45 MB / 462.1 MB " [Timeout remaining time 644] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_Surfaces.fmu > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces_res.csv","/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_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces_res.csv. Warning: Get data of variable prismatic.s from file Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 18.237632082775235]