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.001383/0.001383, allocations: 109.6 kB / 21.18 MB, free: 0.6992 MB / 14.72 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.00172/0.00172, allocations: 216.7 kB / 24.5 MB, free: 4.027 MB / 14.72 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 1.296/1.296, allocations: 207.6 MB / 235.3 MB, free: 10.01 MB / 190.1 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00178/0.00178, allocations: 51.92 kB / 347.2 MB, free: 10.02 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.249/0.2508, allocations: 49.16 MB / 396.4 MB, free: 8.973 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.008708/0.2595, allocations: 9.103 MB / 405.5 MB, free: 2.609 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00594/0.2654, allocations: 2.696 MB / 408.2 MB, free: 0.8164 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001448/0.2669, allocations: 57.06 kB / 408.2 MB, free: 0.8008 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003721/0.2706, allocations: 1.855 MB / 410.1 MB, free: 15.96 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00424/0.2748, allocations: 1.364 MB / 411.4 MB, free: 15.33 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007367/0.2756, allocations: 220.1 kB / 411.7 MB, free: 15.22 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004329/0.2799, allocations: 2.374 MB / 414 MB, free: 13.9 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002542/0.2824, allocations: 1.741 MB / 415.8 MB, free: 12.68 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002052/0.2845, allocations: 1.019 MB / 416.8 MB, free: 12.11 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004032/0.2885, allocations: 2.48 MB / 419.3 MB, free: 10.78 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008041/0.2893, allocations: 192.7 kB / 419.5 MB, free: 10.78 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001344/0.2907, allocations: 0.4896 MB / 419.9 MB, free: 10.59 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0016/0.2923, allocations: 1.345 MB / 421.3 MB, free: 9.836 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002021/0.2943, allocations: 1.591 MB / 422.9 MB, free: 8.602 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007465/0.3017, allocations: 4.874 MB / 427.8 MB, free: 3.812 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.3018, allocations: 0 / 427.8 MB, free: 3.812 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.3018, allocations: 4 kB / 427.8 MB, free: 3.809 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001705/0.3019, allocations: 0 / 427.8 MB, free: 3.809 MB / 334.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.007885/0.3098, allocations: 3.669 MB / 431.4 MB, free: 88 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.127e-05/0.3099, allocations: 11.98 kB / 431.4 MB, free: 76 kB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007779/0.3106, allocations: 0.5346 MB / 432 MB, free: 15.53 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004942/0.3156, allocations: 1.675 MB / 433.6 MB, free: 13.85 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003402/0.319, allocations: 1.525 MB / 435.2 MB, free: 12.28 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001395/0.3191, allocations: 143.8 kB / 435.3 MB, free: 12.14 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004191/0.3195, allocations: 203.8 kB / 435.5 MB, free: 11.94 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01017/0.3297, allocations: 6.982 MB / 442.5 MB, free: 4.41 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.358e-05/0.3298, allocations: 35.73 kB / 442.5 MB, free: 4.375 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002554/0.33, allocations: 99.88 kB / 442.6 MB, free: 4.277 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002217/0.3323, allocations: 1.558 MB / 444.2 MB, free: 2.719 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009331/0.3416, allocations: 5.489 MB / 449.7 MB, free: 13.21 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03184/0.3734, allocations: 27.08 MB / 476.8 MB, free: 1.227 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002614/0.376, allocations: 1.139 MB / 477.9 MB, free: 24 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007031/0.3767, allocations: 462.3 kB / 478.3 MB, free: 15.55 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004118/0.3809, allocations: 2.23 MB / 480.6 MB, free: 13.28 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.332e-05/0.3809, allocations: 50.48 kB / 480.6 MB, free: 13.22 MB / 398.1 MB Notification: Performance of pre-optimization done (n=89): time 2.896e-06/0.3809, allocations: 0 / 480.6 MB, free: 13.22 MB / 398.1 MB Notification: Performance of matching and sorting (n=89): time 0.003771/0.3847, allocations: 1.761 MB / 482.4 MB, free: 11.45 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001264/0.3848, allocations: 213.6 kB / 482.6 MB, free: 11.19 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005003/0.3898, allocations: 3.674 MB / 486.3 MB, free: 7.527 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 7.147e-05/0.3899, allocations: 41.86 kB / 486.3 MB, free: 7.48 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002108/0.392, allocations: 2.8 MB / 489.1 MB, free: 4.652 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004052/0.3924, allocations: 405.1 kB / 489.5 MB, free: 4.254 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001157/0.3936, allocations: 0.9607 MB / 490.5 MB, free: 3.281 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001214/0.3937, allocations: 305.1 kB / 490.8 MB, free: 2.98 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001783/0.3955, allocations: 1.208 MB / 492 MB, free: 1.766 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004336/0.3998, allocations: 4.526 MB / 496.5 MB, free: 11.54 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006982/0.4068, allocations: 6.308 MB / 0.491 GB, free: 3.555 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.936e-05/0.4068, allocations: 40 kB / 0.4911 GB, free: 3.516 MB / 414.1 MB Notification: Performance of matching and sorting (n=621) (initialization): time 0.008728/0.4156, allocations: 5.452 MB / 0.4964 GB, free: 14.06 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.276e-05/0.4157, allocations: 56 kB / 0.4964 GB, free: 14 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001244/0.4158, allocations: 124 kB / 0.4966 GB, free: 13.88 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001553/0.4159, allocations: 152 kB / 0.4967 GB, free: 13.73 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002974/0.4189, allocations: 1.088 MB / 0.4978 GB, free: 12.64 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001875/0.4191, allocations: 231.1 kB / 0.498 GB, free: 12.42 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003216/0.4223, allocations: 0.6944 MB / 0.4987 GB, free: 11.72 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004911/0.4228, allocations: 316 kB / 0.499 GB, free: 11.41 MB / 430.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.002789/0.4256, allocations: 1.716 MB / 0.5006 GB, free: 9.68 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005644/0.4262, allocations: 313.8 kB / 0.5009 GB, free: 9.371 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009476/0.4271, allocations: 0.4944 MB / 0.5014 GB, free: 8.871 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.129e-05/0.4272, allocations: 23.97 kB / 0.5014 GB, free: 8.848 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.035e-05/0.4272, allocations: 4 kB / 0.5014 GB, free: 8.844 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-06/0.4272, allocations: 0 / 0.5014 GB, free: 8.844 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005692/0.4329, allocations: 3.118 MB / 0.5045 GB, free: 5.648 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.094e-05/0.4329, allocations: 4 kB / 0.5045 GB, free: 5.645 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004935/0.4334, allocations: 103.9 kB / 0.5046 GB, free: 5.543 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.148e-05/0.4334, allocations: 7.938 kB / 0.5046 GB, free: 5.535 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.476e-05/0.4334, allocations: 16.28 kB / 0.5046 GB, free: 5.52 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.105e-05/0.4334, allocations: 16.22 kB / 0.5046 GB, free: 5.504 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-06/0.4334, allocations: 7.984 kB / 0.5046 GB, free: 5.496 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002573/0.436, allocations: 2.239 MB / 0.5068 GB, free: 3.199 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008549/0.4369, allocations: 365.6 kB / 0.5072 GB, free: 2.84 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002561/0.4371, allocations: 23.86 kB / 0.5072 GB, free: 2.816 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008086/0.4379, allocations: 31.97 kB / 0.5072 GB, free: 2.785 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001053/0.438, allocations: 43.94 kB / 0.5073 GB, free: 2.742 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.075e-05/0.4381, allocations: 39.92 kB / 0.5073 GB, free: 2.703 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.003662/0.4418, allocations: 2.337 MB / 0.5096 GB, free: 392 kB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4418, allocations: 0 / 0.5096 GB, free: 392 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.004074/0.4458, allocations: 0.8146 MB / 0.5104 GB, free: 15.56 MB / 446.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.003105/0.4489, allocations: 2.852 MB / 0.5132 GB, free: 12.66 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00454/0.4535, allocations: 2.708 MB / 0.5158 GB, free: 9.977 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.249e-06/0.4535, allocations: 0.75 kB / 0.5158 GB, free: 9.977 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005812/0.4541, allocations: 399.7 kB / 0.5162 GB, free: 9.586 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002209/0.4563, allocations: 391 kB / 0.5166 GB, free: 9.203 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04621/0.5025, allocations: 33.25 MB / 0.549 GB, free: 3.191 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003214/0.5057, allocations: 2.687 MB / 0.5517 GB, free: 492 kB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003313/0.509, allocations: 1.498 MB / 0.5531 GB, free: 14.97 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001987/0.511, allocations: 1.468 MB / 0.5546 GB, free: 13.51 MB / 494.1 MB Notification: Performance of SimCode: time 1.062e-06/0.511, allocations: 0 / 0.5546 GB, free: 13.51 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2893/0.8004, allocations: 51.58 MB / 0.6049 GB, free: 142.4 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 19.88/20.68, allocations: 0 / 0.6049 GB, free: 142.4 MB / 494.1 MB " [Timeout remaining time 639] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/Surfaces/Surfaces.csv","/var/lib/jenkins1/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: 23.209872699997504]