Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21.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.001304/0.001304, allocations: 112.2 kB / 21.22 MB, free: 0.75 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.001539/0.001539, allocations: 206.1 kB / 24.52 MB, free: 4.156 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.477/1.477, allocations: 230.6 MB / 258.3 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2279/0.2279, allocations: 46.93 MB / 361.6 MB, free: 4.289 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.CombiTable1Dv.Test21,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test21",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test21,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test21",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001961/0.001961, allocations: 63.89 kB / 0.497 GB, free: 7.895 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3506/0.3526, allocations: 66.02 MB / 0.5614 GB, free: 4.496 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test21): time 0.003024/0.3556, allocations: 1.625 MB / 0.563 GB, free: 2.859 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001882/0.3575, allocations: 1.259 MB / 0.5642 GB, free: 1.594 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.298e-05/0.3576, allocations: 0 / 0.5642 GB, free: 1.594 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001988/0.3578, allocations: 27.8 kB / 0.5643 GB, free: 1.566 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002645/0.358, allocations: 91.61 kB / 0.5644 GB, free: 1.477 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003157/0.3583, allocations: 107.7 kB / 0.5645 GB, free: 1.371 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001857/0.3585, allocations: 71.72 kB / 0.5645 GB, free: 1.301 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001108/0.3586, allocations: 17.8 kB / 0.5645 GB, free: 1.285 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.964e-05/0.3587, allocations: 23.92 kB / 0.5646 GB, free: 1.262 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001595/0.3588, allocations: 39.78 kB / 0.5646 GB, free: 1.223 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.882e-05/0.3589, allocations: 4 kB / 0.5646 GB, free: 1.219 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001862/0.3591, allocations: 95.94 kB / 0.5647 GB, free: 1.125 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.903e-05/0.3591, allocations: 19.92 kB / 0.5647 GB, free: 1.105 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.741e-05/0.3591, allocations: 19.88 kB / 0.5647 GB, free: 1.086 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002535/0.3594, allocations: 151.4 kB / 0.5649 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.3594, allocations: 0 / 0.5649 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.3594, allocations: 0 / 0.5649 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.478e-06/0.3594, allocations: 0 / 0.5649 GB, free: 0.9375 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.0004794/0.3599, allocations: 321.7 kB / 0.5652 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/0.3599, allocations: 16.02 kB / 0.5652 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.342e-05/0.3599, allocations: 192 / 0.5652 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.38e-05/0.36, allocations: 38.75 kB / 0.5652 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.513e-05/0.36, allocations: 8.891 kB / 0.5653 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001925/0.3602, allocations: 134.3 kB / 0.5654 GB, free: 376 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.685e-06/0.3602, allocations: 4.375 kB / 0.5654 GB, free: 372 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.078e-05/0.3602, allocations: 8.109 kB / 0.5654 GB, free: 364 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001465/0.3604, allocations: 59.41 kB / 0.5655 GB, free: 292 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.3604, allocations: 4 kB / 0.5655 GB, free: 288 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.286e-06/0.3604, allocations: 0 / 0.5655 GB, free: 288 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.758e-06/0.3604, allocations: 4 kB / 0.5655 GB, free: 284 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.533e-05/0.3605, allocations: 27.97 kB / 0.5655 GB, free: 256 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000409/0.3609, allocations: 255.9 kB / 0.5657 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002007/0.3611, allocations: 46.55 kB / 0.5658 GB, free: 15.9 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.215e-05/0.3611, allocations: 12.95 kB / 0.5658 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.3e-05/0.3612, allocations: 11.98 kB / 0.5658 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.676e-05/0.3612, allocations: 30.56 kB / 0.5658 GB, free: 15.84 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.3612, allocations: 0 / 0.5658 GB, free: 15.84 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005911/0.3618, allocations: 153.7 kB / 0.566 GB, free: 15.68 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.539e-05/0.3619, allocations: 77.11 kB / 0.566 GB, free: 15.59 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001785/0.362, allocations: 152.1 kB / 0.5662 GB, free: 15.43 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.2e-05/0.3621, allocations: 29.7 kB / 0.5662 GB, free: 15.39 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.518e-05/0.3621, allocations: 96.06 kB / 0.5663 GB, free: 15.3 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.635e-05/0.3622, allocations: 19.86 kB / 0.5663 GB, free: 15.28 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.321e-05/0.3622, allocations: 13.72 kB / 0.5663 GB, free: 15.26 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001528/0.3624, allocations: 322.8 kB / 0.5667 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.666e-05/0.3624, allocations: 23.92 kB / 0.5667 GB, free: 14.91 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.547e-05/0.3625, allocations: 37.69 kB / 0.5667 GB, free: 14.87 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001456/0.3627, allocations: 52.83 kB / 0.5668 GB, free: 14.81 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.3627, allocations: 3.938 kB / 0.5668 GB, free: 14.81 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002096/0.3629, allocations: 81.62 kB / 0.5668 GB, free: 14.72 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.3629, allocations: 8 kB / 0.5668 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.3629, allocations: 7.922 kB / 0.5669 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.3629, allocations: 4.031 kB / 0.5669 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.138e-05/0.363, allocations: 15.92 kB / 0.5669 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/0.363, allocations: 4 kB / 0.5669 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.118e-05/0.363, allocations: 7.922 kB / 0.5669 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.995e-06/0.3631, allocations: 4 kB / 0.5669 GB, free: 14.67 MB / 414.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 9.624e-05/0.3631, allocations: 113.8 kB / 0.567 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.124e-05/0.3632, allocations: 11.95 kB / 0.567 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000263/0.3635, allocations: 98.05 kB / 0.5671 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.3635, allocations: 4.312 kB / 0.5671 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.3635, allocations: 0 / 0.5671 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.3635, allocations: 3.938 kB / 0.5671 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004776/0.3639, allocations: 329.6 kB / 0.5674 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.3639, allocations: 0 / 0.5674 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.415e-05/0.364, allocations: 15.98 kB / 0.5674 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.364, allocations: 0 / 0.5674 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.806e-06/0.364, allocations: 7.938 kB / 0.5674 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.364, allocations: 0 / 0.5674 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.364, allocations: 0 / 0.5674 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002621/0.3643, allocations: 187.4 kB / 0.5676 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.78e-05/0.3643, allocations: 7.953 kB / 0.5676 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.168e-05/0.3643, allocations: 3.938 kB / 0.5676 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.344e-05/0.3644, allocations: 11.98 kB / 0.5677 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.53e-05/0.3644, allocations: 4 kB / 0.5677 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.981e-06/0.3644, allocations: 4 kB / 0.5677 GB, free: 13.79 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000102/0.3645, allocations: 113.6 kB / 0.5678 GB, free: 13.68 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3645, allocations: 0 / 0.5678 GB, free: 13.68 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002874/0.3648, allocations: 35.88 kB / 0.5678 GB, free: 13.65 MB / 414.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.002272/0.3671, allocations: 1.125 MB / 0.5689 GB, free: 12.69 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002365/0.3673, allocations: 51.95 kB / 0.5689 GB, free: 12.64 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.3673, allocations: 0 / 0.5689 GB, free: 12.64 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.533e-05/0.3674, allocations: 27.98 kB / 0.569 GB, free: 12.61 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003497/0.3678, allocations: 20.86 kB / 0.569 GB, free: 12.6 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001829/0.3696, allocations: 1.454 MB / 0.5704 GB, free: 11.06 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000363/0.37, allocations: 0.6923 MB / 0.5711 GB, free: 10.34 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.531e-05/0.37, allocations: 20 kB / 0.5711 GB, free: 10.32 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.397e-05/0.3701, allocations: 27.42 kB / 0.5711 GB, free: 10.3 MB / 414.1 MB Notification: Performance of SimCode: time 4.5e-07/0.3701, allocations: 4 kB / 0.5711 GB, free: 10.3 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02762/0.3977, allocations: 3.438 MB / 0.5745 GB, free: 6.906 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.33/11.73, allocations: 7.156 kB / 0.5745 GB, free: 6.902 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test21_fmu --startTime=0 --stopTime=100 --stepSize=0.019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test21.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21.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.910528264997993]