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.001357/0.001357, allocations: 107.5 kB / 20.44 MB, free: 1.188 MB / 14.72 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.001399/0.001399, allocations: 192.3 kB / 23.71 MB, free: 4.406 MB / 14.72 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 1.434/1.434, allocations: 225.7 MB / 252.5 MB, free: 12.8 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001677/0.001677, allocations: 47.92 kB / 370.4 MB, free: 9.645 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2688/0.2705, allocations: 52.18 MB / 422.6 MB, free: 14.35 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.01079/0.2813, allocations: 7.987 MB / 430.6 MB, free: 6.328 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006187/0.2875, allocations: 2.546 MB / 433.1 MB, free: 3.773 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001582/0.2891, allocations: 59.69 kB / 433.2 MB, free: 3.715 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004158/0.2932, allocations: 1.779 MB / 435 MB, free: 1.93 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003715/0.297, allocations: 1.377 MB / 436.3 MB, free: 0.5469 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006107/0.2976, allocations: 211.6 kB / 436.5 MB, free: 348 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003318/0.3009, allocations: 2.359 MB / 438.9 MB, free: 13.98 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002416/0.3033, allocations: 1.73 MB / 440.6 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001494/0.3048, allocations: 1.02 MB / 441.6 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003182/0.308, allocations: 2.4 MB / 444 MB, free: 8.766 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004722/0.3084, allocations: 188 kB / 444.2 MB, free: 8.582 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009026/0.3093, allocations: 411.5 kB / 444.6 MB, free: 8.18 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001291/0.3106, allocations: 1.347 MB / 446 MB, free: 6.828 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001293/0.3119, allocations: 1.133 MB / 447.1 MB, free: 5.688 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005336/0.3173, allocations: 4.896 MB / 452 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.3173, allocations: 0 / 452 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.3173, allocations: 0 / 452 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001069/0.3174, allocations: 0 / 452 MB, free: 0.7695 MB / 350.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.00643/0.3238, allocations: 3.662 MB / 455.7 MB, free: 13.05 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.253e-05/0.3239, allocations: 8.031 kB / 455.7 MB, free: 13.04 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007899/0.3247, allocations: 0.5423 MB / 456.2 MB, free: 12.49 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005308/0.33, allocations: 1.668 MB / 457.9 MB, free: 10.82 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004512/0.3345, allocations: 1.54 MB / 459.4 MB, free: 9.238 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001772/0.3347, allocations: 151.8 kB / 459.6 MB, free: 9.09 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004993/0.3352, allocations: 199.8 kB / 459.8 MB, free: 8.895 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0113/0.3465, allocations: 6.986 MB / 466.8 MB, free: 1.359 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.367e-05/0.3465, allocations: 27.75 kB / 466.8 MB, free: 1.332 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002795/0.3468, allocations: 99.88 kB / 466.9 MB, free: 1.234 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002325/0.3491, allocations: 1.562 MB / 468.4 MB, free: 15.67 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01028/0.3594, allocations: 5.485 MB / 473.9 MB, free: 10.17 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03274/0.3922, allocations: 26.09 MB / 0.4883 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002604/0.3948, allocations: 1.12 MB / 0.4894 GB, free: 13.99 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006962/0.3955, allocations: 469.7 kB / 0.4898 GB, free: 13.51 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003807/0.3993, allocations: 2.043 MB / 0.4918 GB, free: 11.44 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.881e-05/0.3993, allocations: 42.56 kB / 0.4919 GB, free: 11.39 MB / 414.1 MB Notification: Performance of pre-optimization done (n=89): time 2.685e-06/0.3993, allocations: 112 / 0.4919 GB, free: 11.39 MB / 414.1 MB Notification: Performance of matching and sorting (n=89): time 0.00398/0.4033, allocations: 1.777 MB / 0.4936 GB, free: 9.609 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001509/0.4034, allocations: 225.5 kB / 0.4938 GB, free: 9.34 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005423/0.4089, allocations: 3.879 MB / 0.4976 GB, free: 5.469 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 9.724e-05/0.409, allocations: 33.7 kB / 0.4977 GB, free: 5.43 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002243/0.4112, allocations: 2.796 MB / 0.5004 GB, free: 2.605 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004779/0.4117, allocations: 405.1 kB / 0.5008 GB, free: 2.207 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001173/0.4128, allocations: 0.9724 MB / 0.5017 GB, free: 1.223 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001284/0.413, allocations: 301.1 kB / 0.502 GB, free: 0.9258 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00183/0.4148, allocations: 1.208 MB / 0.5032 GB, free: 15.71 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004689/0.4195, allocations: 4.522 MB / 0.5076 GB, free: 9.488 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007684/0.4272, allocations: 6.298 MB / 0.5138 GB, free: 1.52 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001063/0.4273, allocations: 40 kB / 0.5138 GB, free: 1.48 MB / 430.1 MB Notification: Performance of matching and sorting (n=621) (initialization): time 0.00998/0.4373, allocations: 5.444 MB / 0.5191 GB, free: 12.03 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.726e-05/0.4374, allocations: 56 kB / 0.5192 GB, free: 11.98 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001661/0.4375, allocations: 123.9 kB / 0.5193 GB, free: 11.86 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001672/0.4377, allocations: 152 kB / 0.5194 GB, free: 11.71 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003271/0.441, allocations: 1.088 MB / 0.5205 GB, free: 10.62 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001978/0.4412, allocations: 231.1 kB / 0.5207 GB, free: 10.39 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003537/0.4447, allocations: 0.6982 MB / 0.5214 GB, free: 9.688 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005196/0.4452, allocations: 323.9 kB / 0.5217 GB, free: 9.371 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.002506/0.4477, allocations: 1.716 MB / 0.5234 GB, free: 7.645 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005306/0.4483, allocations: 309.9 kB / 0.5237 GB, free: 7.34 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008561/0.4491, allocations: 0.4944 MB / 0.5241 GB, free: 6.84 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-05/0.4492, allocations: 20 kB / 0.5242 GB, free: 6.82 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.177e-05/0.4492, allocations: 8 kB / 0.5242 GB, free: 6.812 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.038e-05/0.4492, allocations: 3.984 kB / 0.5242 GB, free: 6.809 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005926/0.4551, allocations: 3.009 MB / 0.5271 GB, free: 3.723 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.188e-05/0.4551, allocations: 4 kB / 0.5271 GB, free: 3.719 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005158/0.4556, allocations: 108.1 kB / 0.5272 GB, free: 3.613 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.394e-05/0.4556, allocations: 15.94 kB / 0.5272 GB, free: 3.598 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.542e-05/0.4557, allocations: 12 kB / 0.5273 GB, free: 3.586 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.085e-06/0.4557, allocations: 4 kB / 0.5273 GB, free: 3.582 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.402e-06/0.4557, allocations: 7.938 kB / 0.5273 GB, free: 3.574 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002642/0.4584, allocations: 2.234 MB / 0.5294 GB, free: 1.289 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008923/0.4592, allocations: 369.6 kB / 0.5298 GB, free: 0.9258 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002553/0.4595, allocations: 19.94 kB / 0.5298 GB, free: 0.9062 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008651/0.4604, allocations: 36.02 kB / 0.5299 GB, free: 0.8711 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001136/0.4605, allocations: 51.8 kB / 0.5299 GB, free: 0.8203 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.289e-05/0.4605, allocations: 35.98 kB / 0.5299 GB, free: 0.7852 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003715/0.4643, allocations: 2.333 MB / 0.5322 GB, free: 14.46 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.4643, allocations: 0 / 0.5322 GB, free: 14.46 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003804/0.4681, allocations: 0.8144 MB / 0.533 GB, free: 13.65 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.003087/0.4711, allocations: 2.856 MB / 0.5358 GB, free: 10.74 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004626/0.4758, allocations: 2.711 MB / 0.5384 GB, free: 8.051 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.913e-06/0.4758, allocations: 0 / 0.5384 GB, free: 8.051 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005914/0.4764, allocations: 403.5 kB / 0.5388 GB, free: 7.656 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002359/0.4787, allocations: 385.9 kB / 0.5392 GB, free: 7.281 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2321/0.7108, allocations: 33.25 MB / 0.5717 GB, free: 100.4 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002056/0.7128, allocations: 2.131 MB / 0.5738 GB, free: 98.24 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002556/0.7154, allocations: 1.491 MB / 0.5752 GB, free: 96.77 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001302/0.7167, allocations: 1.468 MB / 0.5766 GB, free: 95.3 MB / 462.1 MB Notification: Performance of SimCode: time 1.422e-06/0.7167, allocations: 0 / 0.5766 GB, free: 95.3 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07908/0.7958, allocations: 47.5 MB / 0.623 GB, free: 48.5 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.73/15.52, allocations: 5.922 kB / 0.623 GB, free: 48.5 MB / 462.1 MB " [Timeout remaining time 644] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/Surfaces/Surfaces.csv","/var/lib/jenkins1/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: 18.142059300094843]