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.0008244/0.0008244, allocations: 76.06 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.0008744/0.0008744, allocations: 149.1 kB / 23.93 MB, free: 0.6328 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.8744/0.8744, allocations: 173.4 MB / 200.4 MB, free: 9.426 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.793e-06/1.793e-06, allocations: 0 / 318.5 MB, free: 6.344 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.532e-05/1.711e-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.006389/0.006407, allocations: 7.987 MB / 326.4 MB, free: 14.31 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004211/0.01062, allocations: 2.546 MB / 329 MB, free: 11.75 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006668/0.01128, allocations: 55.75 kB / 329 MB, free: 11.7 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002013/0.0133, allocations: 1.868 MB / 330.9 MB, free: 9.824 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001843/0.01514, allocations: 1.411 MB / 332.3 MB, free: 8.406 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003223/0.01546, allocations: 231.5 kB / 332.5 MB, free: 8.18 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002235/0.0177, allocations: 3.378 MB / 335.9 MB, free: 4.797 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001439/0.01914, allocations: 2.054 MB / 338 MB, free: 2.691 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001241/0.02038, allocations: 1.532 MB / 339.5 MB, free: 1.156 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001515/0.02189, allocations: 1.816 MB / 341.3 MB, free: 15.33 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002104/0.0221, allocations: 188 kB / 341.5 MB, free: 15.15 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005358/0.02264, allocations: 451.4 kB / 342 MB, free: 14.71 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006922/0.02333, allocations: 1.398 MB / 343.4 MB, free: 13.3 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005664/0.0239, allocations: 0.8211 MB / 344.2 MB, free: 12.48 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002883/0.02678, allocations: 4.729 MB / 348.9 MB, free: 7.734 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.02678, allocations: 4 kB / 348.9 MB, free: 7.73 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.02679, allocations: 4 kB / 348.9 MB, free: 7.727 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.86e-05/0.02683, allocations: 0 / 348.9 MB, free: 7.727 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.003561/0.0304, allocations: 3.619 MB / 352.5 MB, free: 4.055 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.706e-05/0.03044, allocations: 8.922 kB / 352.5 MB, free: 4.047 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004223/0.03087, allocations: 0.5385 MB / 353.1 MB, free: 3.496 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002702/0.03357, allocations: 1.695 MB / 354.8 MB, free: 1.797 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001698/0.03527, allocations: 1.525 MB / 356.3 MB, free: 240 kB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.377e-05/0.03535, allocations: 155.7 kB / 356.4 MB, free: 84 kB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002613/0.03561, allocations: 203.8 kB / 356.6 MB, free: 15.88 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005698/0.04131, allocations: 6.982 MB / 363.6 MB, free: 8.352 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.377e-05/0.04135, allocations: 27.75 kB / 363.7 MB, free: 8.324 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001748/0.04153, allocations: 95.89 kB / 363.7 MB, free: 8.23 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001237/0.04276, allocations: 1.566 MB / 365.3 MB, free: 6.66 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005529/0.04829, allocations: 5.493 MB / 370.8 MB, free: 1.152 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0176/0.06589, allocations: 26.12 MB / 396.9 MB, free: 6.133 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001591/0.06749, allocations: 1.166 MB / 398.1 MB, free: 4.902 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004372/0.06792, allocations: 465.8 kB / 398.5 MB, free: 4.426 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002546/0.07047, allocations: 2.083 MB / 400.6 MB, free: 2.312 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.868e-05/0.0705, allocations: 50.48 kB / 400.7 MB, free: 2.254 MB / 362.7 MB Notification: Performance of pre-optimization done (n=89): time 2.405e-06/0.0705, allocations: 0 / 400.7 MB, free: 2.254 MB / 362.7 MB Notification: Performance of matching and sorting (n=89): time 0.00242/0.07292, allocations: 1.834 MB / 402.5 MB, free: 428 kB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.928e-05/0.07301, allocations: 221.7 kB / 402.7 MB, free: 156 kB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003414/0.07642, allocations: 3.867 MB / 406.6 MB, free: 12.29 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.859e-05/0.07646, allocations: 37.7 kB / 406.6 MB, free: 12.25 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00119/0.07765, allocations: 2.769 MB / 409.4 MB, free: 9.453 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002045/0.07786, allocations: 397.2 kB / 409.8 MB, free: 9.062 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000694/0.07855, allocations: 0.949 MB / 410.7 MB, free: 8.102 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.982e-05/0.07862, allocations: 301.1 kB / 411 MB, free: 7.805 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001105/0.07973, allocations: 1.208 MB / 412.2 MB, free: 6.59 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002752/0.08248, allocations: 4.53 MB / 416.8 MB, free: 368 kB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004406/0.08688, allocations: 6.3 MB / 423.1 MB, free: 8.387 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.054e-05/0.08691, allocations: 36 kB / 423.1 MB, free: 8.352 MB / 394.7 MB Notification: Performance of matching and sorting (n=621) (initialization): time 0.005214/0.09213, allocations: 5.454 MB / 428.6 MB, free: 2.898 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.619e-05/0.09217, allocations: 56 kB / 428.6 MB, free: 2.844 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.987e-05/0.09224, allocations: 120 kB / 428.7 MB, free: 2.727 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.762e-05/0.09233, allocations: 156 kB / 428.9 MB, free: 2.574 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001594/0.09393, allocations: 1.084 MB / 430 MB, free: 1.488 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001076/0.09403, allocations: 231.7 kB / 430.2 MB, free: 1.262 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001807/0.09584, allocations: 0.7057 MB / 430.9 MB, free: 0.5508 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002264/0.09607, allocations: 320 kB / 431.2 MB, free: 244 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.001795/0.09786, allocations: 1.696 MB / 432.9 MB, free: 14.53 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002583/0.09812, allocations: 329.8 kB / 433.2 MB, free: 14.2 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005078/0.09863, allocations: 0.4905 MB / 433.7 MB, free: 13.71 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.796e-05/0.09866, allocations: 23.98 kB / 433.7 MB, free: 13.68 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.175e-06/0.09866, allocations: 0 / 433.7 MB, free: 13.68 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/0.09867, allocations: 4.281 kB / 433.7 MB, free: 13.68 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003399/0.1021, allocations: 3.032 MB / 436.8 MB, free: 10.57 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.109e-06/0.1021, allocations: 4 kB / 436.8 MB, free: 10.57 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002571/0.1023, allocations: 111.8 kB / 436.9 MB, free: 10.46 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.182e-06/0.1023, allocations: 8 kB / 436.9 MB, free: 10.45 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.92e-05/0.1024, allocations: 16 kB / 436.9 MB, free: 10.43 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.223e-06/0.1024, allocations: 15.86 kB / 436.9 MB, free: 10.42 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.1024, allocations: 4 kB / 436.9 MB, free: 10.41 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001564/0.1039, allocations: 2.227 MB / 439.2 MB, free: 8.133 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003769/0.1043, allocations: 365.7 kB / 439.5 MB, free: 7.773 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001327/0.1045, allocations: 19.98 kB / 439.5 MB, free: 7.754 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004618/0.1049, allocations: 31.91 kB / 439.6 MB, free: 7.723 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.187e-05/0.105, allocations: 47.86 kB / 439.6 MB, free: 7.676 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.631e-05/0.105, allocations: 36 kB / 439.7 MB, free: 7.641 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002135/0.1072, allocations: 2.337 MB / 442 MB, free: 5.32 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1072, allocations: 0 / 442 MB, free: 5.32 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002317/0.1095, allocations: 0.8222 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.001894/0.1114, allocations: 2.845 MB / 445.7 MB, free: 1.59 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.1477/0.2591, allocations: 2.704 MB / 448.4 MB, free: 120.7 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.554e-06/0.2591, allocations: 1.531 kB / 448.4 MB, free: 120.7 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007242/0.2598, allocations: 407.1 kB / 448.8 MB, free: 120.7 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002628/0.2624, allocations: 380.1 kB / 449.1 MB, free: 120.7 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02195/0.2844, allocations: 32.98 MB / 482.1 MB, free: 88.12 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001487/0.2859, allocations: 2.13 MB / 484.2 MB, free: 85.97 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001797/0.2877, allocations: 1.489 MB / 485.7 MB, free: 84.48 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008717/0.2885, allocations: 1.473 MB / 487.2 MB, free: 83 MB / 410.7 MB Notification: Performance of SimCode: time 2.093e-06/0.2885, allocations: 4 kB / 487.2 MB, free: 83 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05165/0.3402, allocations: 47.52 MB / 0.5222 GB, free: 36.14 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.784/9.124, allocations: 4 kB / 0.5222 GB, free: 36.13 MB / 410.7 MB " [Timeout remaining time 651] (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 & python3 -m fmpy simulate --output-file Modelica_4.0.0_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_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.csv","/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] "Error: Could not read variable prismatic.s in file Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces_res.csv. Warning: Get data of variable prismatic.s from file Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.967257882468402]