Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.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.00133/0.00133, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.001526/0.001526, allocations: 212.7 kB / 23.74 MB, free: 4.672 MB / 14.72 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 1.521/1.521, allocations: 230.6 MB / 257.5 MB, free: 7.977 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2302/0.2302, allocations: 44.92 MB / 358.8 MB, free: 6.258 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) 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(ModelicaTest.Tables.CombiTable1Ds.Test23,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test23",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test23,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test23",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 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.002141/0.002141, allocations: 63.89 kB / 0.4931 GB, free: 10.68 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3956/0.3978, allocations: 65.48 MB / 0.557 GB, free: 7.516 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test23): time 0.004349/0.4021, allocations: 1.617 MB / 0.5586 GB, free: 6.125 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00225/0.4044, allocations: 1.259 MB / 0.5599 GB, free: 4.859 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.264e-05/0.4045, allocations: 0 / 0.5599 GB, free: 4.859 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000252/0.4047, allocations: 19.84 kB / 0.5599 GB, free: 4.84 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003664/0.4051, allocations: 87.61 kB / 0.56 GB, free: 4.754 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003345/0.4054, allocations: 95.66 kB / 0.56 GB, free: 4.66 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001907/0.4056, allocations: 71.75 kB / 0.5601 GB, free: 4.59 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001143/0.4057, allocations: 9.828 kB / 0.5601 GB, free: 4.582 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.013e-05/0.4058, allocations: 23.92 kB / 0.5601 GB, free: 4.559 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00018/0.406, allocations: 39.83 kB / 0.5602 GB, free: 4.52 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.848e-05/0.406, allocations: 4 kB / 0.5602 GB, free: 4.516 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001974/0.4062, allocations: 99.88 kB / 0.5603 GB, free: 4.418 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.424e-05/0.4062, allocations: 15.92 kB / 0.5603 GB, free: 4.402 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.24e-05/0.4063, allocations: 23.88 kB / 0.5603 GB, free: 4.379 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002917/0.4066, allocations: 139.5 kB / 0.5605 GB, free: 4.242 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.027e-06/0.4066, allocations: 7.984 kB / 0.5605 GB, free: 4.234 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.4066, allocations: 0 / 0.5605 GB, free: 4.234 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.332e-06/0.4066, allocations: 0 / 0.5605 GB, free: 4.234 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005916/0.4072, allocations: 325.7 kB / 0.5608 GB, free: 3.887 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.4072, allocations: 8.031 kB / 0.5608 GB, free: 3.879 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.706e-05/0.4073, allocations: 38.69 kB / 0.5608 GB, free: 3.832 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.853e-05/0.4073, allocations: 8.891 kB / 0.5608 GB, free: 3.824 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002637/0.4076, allocations: 134.4 kB / 0.561 GB, free: 3.668 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.759e-05/0.4076, allocations: 12.38 kB / 0.561 GB, free: 3.656 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.206e-05/0.4076, allocations: 4.375 kB / 0.561 GB, free: 3.652 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001765/0.4078, allocations: 67.27 kB / 0.561 GB, free: 3.574 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.4078, allocations: 0 / 0.561 GB, free: 3.574 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.295e-05/0.4078, allocations: 4 kB / 0.561 GB, free: 3.57 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.4078, allocations: 0 / 0.561 GB, free: 3.57 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.263e-05/0.4079, allocations: 19.98 kB / 0.5611 GB, free: 3.551 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003986/0.4083, allocations: 252 kB / 0.5613 GB, free: 3.262 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002326/0.4085, allocations: 42.5 kB / 0.5613 GB, free: 3.211 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.805e-05/0.4086, allocations: 20.94 kB / 0.5614 GB, free: 3.188 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.153e-05/0.4086, allocations: 0 / 0.5614 GB, free: 3.188 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.387e-05/0.4086, allocations: 30.56 kB / 0.5614 GB, free: 3.148 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.4086, allocations: 4 kB / 0.5614 GB, free: 3.145 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006224/0.4093, allocations: 141.6 kB / 0.5615 GB, free: 3 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.437e-05/0.4093, allocations: 81.11 kB / 0.5616 GB, free: 2.902 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001782/0.4095, allocations: 141.8 kB / 0.5617 GB, free: 2.754 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.46e-05/0.4096, allocations: 25.7 kB / 0.5618 GB, free: 2.723 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.185e-05/0.4096, allocations: 100.1 kB / 0.5619 GB, free: 2.621 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.526e-05/0.4097, allocations: 19.86 kB / 0.5619 GB, free: 2.602 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.207e-05/0.4097, allocations: 17.72 kB / 0.5619 GB, free: 2.578 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001982/0.4099, allocations: 322.8 kB / 0.5622 GB, free: 2.254 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.749e-05/0.41, allocations: 15.98 kB / 0.5622 GB, free: 2.238 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.687e-05/0.41, allocations: 33.7 kB / 0.5622 GB, free: 2.199 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001297/0.4102, allocations: 48.86 kB / 0.5623 GB, free: 2.148 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.4102, allocations: 3.938 kB / 0.5623 GB, free: 2.145 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000181/0.4104, allocations: 81.66 kB / 0.5624 GB, free: 2.059 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.4104, allocations: 10.5 kB / 0.5624 GB, free: 2.051 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.4104, allocations: 3.984 kB / 0.5624 GB, free: 2.047 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.4104, allocations: 0 / 0.5624 GB, free: 2.047 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.065e-05/0.4105, allocations: 11.98 kB / 0.5624 GB, free: 2.035 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.4105, allocations: 0 / 0.5624 GB, free: 2.035 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.36e-05/0.4105, allocations: 20.11 kB / 0.5624 GB, free: 2.016 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.083e-05/0.4105, allocations: 12 kB / 0.5624 GB, free: 2.004 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * Array equations: 0 * 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.0001043/0.4106, allocations: 113.8 kB / 0.5625 GB, free: 1.883 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.555e-05/0.4107, allocations: 7.953 kB / 0.5625 GB, free: 1.875 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002486/0.4109, allocations: 86 kB / 0.5626 GB, free: 1.773 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.4109, allocations: 0 / 0.5626 GB, free: 1.773 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.4109, allocations: 4 kB / 0.5626 GB, free: 1.77 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.4109, allocations: 3.938 kB / 0.5626 GB, free: 1.766 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004445/0.4114, allocations: 321.6 kB / 0.5629 GB, free: 1.402 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.4114, allocations: 3.938 kB / 0.5629 GB, free: 1.398 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.628e-05/0.4114, allocations: 8 kB / 0.563 GB, free: 1.391 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-06/0.4114, allocations: 0 / 0.563 GB, free: 1.391 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.439e-05/0.4114, allocations: 11.94 kB / 0.563 GB, free: 1.379 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.4115, allocations: 3.984 kB / 0.563 GB, free: 1.375 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.4115, allocations: 0 / 0.563 GB, free: 1.375 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002438/0.4117, allocations: 175.5 kB / 0.5631 GB, free: 1.188 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.628e-05/0.4117, allocations: 7.953 kB / 0.5631 GB, free: 1.18 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.534e-05/0.4117, allocations: 7.922 kB / 0.5632 GB, free: 1.172 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.581e-05/0.4118, allocations: 4 kB / 0.5632 GB, free: 1.168 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.681e-05/0.4118, allocations: 0 / 0.5632 GB, free: 1.168 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.382e-06/0.4118, allocations: 3.984 kB / 0.5632 GB, free: 1.164 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001101/0.412, allocations: 111.3 kB / 0.5633 GB, free: 1.055 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.412, allocations: 4 kB / 0.5633 GB, free: 1.051 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000288/0.4122, allocations: 47.8 kB / 0.5633 GB, free: 1.004 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (5): * Single equations (assignments): 5 * Array equations: 0 * 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.002261/0.4145, allocations: 1.105 MB / 0.5644 GB, free: 68 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002125/0.4147, allocations: 55.84 kB / 0.5644 GB, free: 12 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.4147, allocations: 0 / 0.5644 GB, free: 12 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.647e-05/0.4148, allocations: 27.97 kB / 0.5645 GB, free: 15.98 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003554/0.4152, allocations: 11.94 kB / 0.5645 GB, free: 15.97 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00184/0.417, allocations: 1.429 MB / 0.5659 GB, free: 14.46 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003865/0.4174, allocations: 0.6963 MB / 0.5666 GB, free: 13.74 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.666e-05/0.4175, allocations: 15.7 kB / 0.5666 GB, free: 13.73 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.235e-05/0.4175, allocations: 27.42 kB / 0.5666 GB, free: 13.7 MB / 414.1 MB Notification: Performance of SimCode: time 3.31e-07/0.4175, allocations: 0 / 0.5666 GB, free: 13.7 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03222/0.4498, allocations: 3.378 MB / 0.5699 GB, free: 10.36 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.05/11.5, allocations: 7.812 kB / 0.5699 GB, free: 10.36 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test23_fmu --startTime=0 --stopTime=100 --stepSize=0.019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test23.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test23/Test23.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.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: 14.622061298927292]