Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.0008135/0.0008135, allocations: 83.69 kB / 20.67 MB, free: 3.887 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.0007913/0.0007913, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8726/0.8726, allocations: 177.1 MB / 204.3 MB, free: 5.699 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4_1_0_Modelica_Mechanics_MultiBody_Examples_Elementary_Surfaces",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Elementary_Surfaces",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.562e-06/1.562e-06, allocations: 0 / 324.6 MB, free: 15.9 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.823e-05/1.98e-05, allocations: 6.219 kB / 324.6 MB, free: 15.89 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.006265/0.006285, allocations: 7.968 MB / 332.6 MB, free: 7.883 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004199/0.01048, allocations: 2.609 MB / 335.2 MB, free: 5.262 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007069/0.01119, allocations: 55.75 kB / 335.2 MB, free: 5.207 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002161/0.01335, allocations: 1.869 MB / 337.1 MB, free: 3.332 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002383/0.01573, allocations: 1.407 MB / 338.5 MB, free: 1.918 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003916/0.01613, allocations: 231.6 kB / 338.7 MB, free: 1.691 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002668/0.01879, allocations: 3.441 MB / 342.2 MB, free: 14.25 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001782/0.02058, allocations: 2.05 MB / 344.2 MB, free: 12.14 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001743/0.02232, allocations: 1.531 MB / 345.7 MB, free: 10.61 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001745/0.02406, allocations: 1.8 MB / 347.5 MB, free: 8.805 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003042/0.02437, allocations: 192 kB / 347.7 MB, free: 8.617 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006136/0.02498, allocations: 471.3 kB / 348.2 MB, free: 8.156 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007258/0.02571, allocations: 1.379 MB / 349.6 MB, free: 6.773 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006339/0.02634, allocations: 0.8094 MB / 350.4 MB, free: 5.961 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003214/0.02956, allocations: 4.714 MB / 355.1 MB, free: 1.23 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.02956, allocations: 0 / 355.1 MB, free: 1.23 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.02956, allocations: 0 / 355.1 MB, free: 1.23 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001007/0.02966, allocations: 0 / 355.1 MB, free: 1.23 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.004816/0.03448, allocations: 3.602 MB / 358.7 MB, free: 13.58 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.5e-05/0.03452, allocations: 8.031 kB / 358.7 MB, free: 13.57 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004838/0.03501, allocations: 0.5346 MB / 359.2 MB, free: 13.02 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00317/0.03818, allocations: 1.742 MB / 361 MB, free: 11.28 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00199/0.04017, allocations: 1.532 MB / 362.5 MB, free: 9.703 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.757e-05/0.04025, allocations: 155.8 kB / 362.7 MB, free: 9.551 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002174/0.04046, allocations: 195.9 kB / 362.9 MB, free: 9.359 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0058/0.04626, allocations: 6.99 MB / 369.9 MB, free: 1.824 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.616e-05/0.04631, allocations: 27.75 kB / 369.9 MB, free: 1.797 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001676/0.04648, allocations: 99.88 kB / 370 MB, free: 1.699 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001222/0.0477, allocations: 1.562 MB / 371.5 MB, free: 136 kB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005745/0.05344, allocations: 5.501 MB / 377 MB, free: 10.62 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01868/0.07212, allocations: 26.11 MB / 403.1 MB, free: 15.61 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001611/0.07374, allocations: 1.163 MB / 404.3 MB, free: 14.39 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004197/0.07415, allocations: 476.2 kB / 404.8 MB, free: 13.9 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00235/0.0765, allocations: 2.067 MB / 406.8 MB, free: 11.81 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.607e-05/0.07653, allocations: 46.56 kB / 406.9 MB, free: 11.75 MB / 378.7 MB Notification: Performance of pre-optimization done (n=89): time 3.367e-06/0.07653, allocations: 3.938 kB / 406.9 MB, free: 11.75 MB / 378.7 MB Notification: Performance of matching and sorting (n=89): time 0.00241/0.07894, allocations: 1.836 MB / 408.7 MB, free: 9.91 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.622e-05/0.07902, allocations: 217.6 kB / 408.9 MB, free: 9.648 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003568/0.08259, allocations: 3.871 MB / 412.8 MB, free: 5.785 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.756e-05/0.08266, allocations: 37.69 kB / 412.8 MB, free: 5.742 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001205/0.08386, allocations: 2.753 MB / 415.6 MB, free: 2.961 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002428/0.0841, allocations: 405.1 kB / 416 MB, free: 2.562 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007102/0.08481, allocations: 0.9529 MB / 416.9 MB, free: 1.598 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.325e-05/0.08488, allocations: 301.1 kB / 417.2 MB, free: 1.301 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001127/0.086, allocations: 1.208 MB / 418.4 MB, free: 88 kB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002457/0.08846, allocations: 4.53 MB / 423 MB, free: 9.855 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004456/0.09292, allocations: 6.295 MB / 429.3 MB, free: 1.887 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.168e-05/0.09298, allocations: 36 kB / 429.3 MB, free: 1.852 MB / 394.7 MB Notification: Performance of matching and sorting (n=621) (initialization): time 0.005666/0.09864, allocations: 5.459 MB / 434.8 MB, free: 12.39 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.236e-05/0.0987, allocations: 56 kB / 434.8 MB, free: 12.33 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.499e-05/0.09878, allocations: 116 kB / 434.9 MB, free: 12.22 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.157e-05/0.09887, allocations: 156 kB / 435.1 MB, free: 12.07 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001587/0.1005, allocations: 1.084 MB / 436.2 MB, free: 10.98 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001013/0.1006, allocations: 235.1 kB / 436.4 MB, free: 10.75 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001982/0.1025, allocations: 0.6984 MB / 437.1 MB, free: 10.05 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002467/0.1028, allocations: 316 kB / 437.4 MB, free: 9.742 MB / 410.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.001794/0.1046, allocations: 1.712 MB / 439.1 MB, free: 8.02 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00032/0.1049, allocations: 317.8 kB / 439.4 MB, free: 7.707 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005696/0.1055, allocations: 0.4982 MB / 439.9 MB, free: 7.203 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.468e-05/0.1055, allocations: 16 kB / 439.9 MB, free: 7.188 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/0.1055, allocations: 0 / 439.9 MB, free: 7.188 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.083e-06/0.1055, allocations: 7.984 kB / 440 MB, free: 7.18 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003668/0.1092, allocations: 3.04 MB / 443 MB, free: 4.062 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.731e-06/0.1092, allocations: 8.062 kB / 443 MB, free: 4.055 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002628/0.1095, allocations: 100.1 kB / 443.1 MB, free: 3.957 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.417e-06/0.1095, allocations: 11.98 kB / 443.1 MB, free: 3.945 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.718e-05/0.1095, allocations: 16 kB / 443.1 MB, free: 3.93 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.196e-06/0.1095, allocations: 15.88 kB / 443.1 MB, free: 3.914 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/0.1095, allocations: 7.938 kB / 443.1 MB, free: 3.906 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00152/0.111, allocations: 2.219 MB / 445.4 MB, free: 1.637 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004744/0.1115, allocations: 369.7 kB / 445.7 MB, free: 1.273 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001611/0.1117, allocations: 19.95 kB / 445.7 MB, free: 1.254 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004828/0.1121, allocations: 39.91 kB / 445.8 MB, free: 1.215 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.624e-05/0.1122, allocations: 43.86 kB / 445.8 MB, free: 1.172 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.886e-05/0.1123, allocations: 35.98 kB / 445.9 MB, free: 1.137 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.1638/0.276, allocations: 2.332 MB / 448.2 MB, free: 109.9 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.3e-07/0.276, allocations: 0 / 448.2 MB, free: 109.9 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002897/0.2789, allocations: 0.8043 MB / 449 MB, free: 109.9 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.001838/0.2808, allocations: 2.845 MB / 451.8 MB, free: 108.6 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00265/0.2834, allocations: 2.705 MB / 454.6 MB, free: 107.8 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.648e-06/0.2834, allocations: 0 / 454.6 MB, free: 107.8 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002824/0.2837, allocations: 406.4 kB / 454.9 MB, free: 107.7 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001352/0.285, allocations: 379.3 kB / 455.3 MB, free: 107.5 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02399/0.309, allocations: 32.97 MB / 488.3 MB, free: 74.73 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001539/0.3106, allocations: 2.13 MB / 490.4 MB, free: 72.57 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001859/0.3124, allocations: 1.488 MB / 491.9 MB, free: 71.08 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009298/0.3134, allocations: 1.473 MB / 493.4 MB, free: 69.61 MB / 410.7 MB Notification: Performance of SimCode: time 2.445e-06/0.3134, allocations: 0 / 493.4 MB, free: 69.61 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05521/0.3686, allocations: 47.48 MB / 0.5282 GB, free: 22.78 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.136/9.504, allocations: 3.125 kB / 0.5282 GB, free: 22.78 MB / 410.7 MB " [Timeout remaining time 650] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Elementary_Surfaces_fmu --startTime=0 --stopTime=5 --stepSize=0.0009996 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Elementary_Surfaces.fmu > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/Surfaces/Surfaces.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.391209210269153]