Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.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.0008661/0.0008661, allocations: 80.48 kB / 19.92 MB, free: 4.633 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.001094/0.001094, allocations: 169.9 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.8597/0.8597, allocations: 158.6 MB / 185 MB, free: 3.023 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1302/0.1302, allocations: 32.37 MB / 269.6 MB, free: 14.96 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.Tables.CombiTimeTable.Test46,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test46",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test46,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test46",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.392e-06/1.392e-06, allocations: 0 / 406.9 MB, free: 2.16 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.455e-05/1.594e-05, allocations: 6.078 kB / 406.9 MB, free: 2.156 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test46): time 0.002184/0.0022, allocations: 1.672 MB / 408.6 MB, free: 480 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009122/0.003113, allocations: 0.7804 MB / 409.4 MB, free: 15.68 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.731e-05/0.00318, allocations: 0 / 409.4 MB, free: 15.68 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002808/0.003461, allocations: 63.69 kB / 409.4 MB, free: 15.62 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001918/0.003652, allocations: 59.69 kB / 409.5 MB, free: 15.56 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002179/0.00387, allocations: 91.62 kB / 409.6 MB, free: 15.47 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001463/0.004017, allocations: 99.62 kB / 409.7 MB, free: 15.37 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.706e-05/0.004114, allocations: 8.234 kB / 409.7 MB, free: 15.36 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.329e-05/0.004197, allocations: 51.83 kB / 409.7 MB, free: 15.31 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.408e-05/0.004271, allocations: 27.84 kB / 409.8 MB, free: 15.29 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.9e-05/0.00429, allocations: 4 kB / 409.8 MB, free: 15.28 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.147e-05/0.004372, allocations: 47.92 kB / 409.8 MB, free: 15.23 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 5.89e-05/0.004431, allocations: 31.86 kB / 409.8 MB, free: 15.2 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 3.537e-05/0.004466, allocations: 19.92 kB / 409.9 MB, free: 15.18 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001739/0.00464, allocations: 127.5 kB / 410 MB, free: 15.06 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.894e-06/0.004642, allocations: 0 / 410 MB, free: 15.06 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.004643, allocations: 3.938 kB / 410 MB, free: 15.05 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.268e-06/0.004648, allocations: 0 / 410 MB, free: 15.05 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005421/0.00519, allocations: 361.4 kB / 410.4 MB, free: 14.67 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.005224, allocations: 8.031 kB / 410.4 MB, free: 14.66 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.661e-05/0.005251, allocations: 34.75 kB / 410.4 MB, free: 14.62 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.222e-05/0.005283, allocations: 16.84 kB / 410.4 MB, free: 14.61 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001961/0.005479, allocations: 173.1 kB / 410.6 MB, free: 14.41 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.528e-06/0.005489, allocations: 384 / 410.6 MB, free: 14.41 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.606e-05/0.005505, allocations: 384 / 410.6 MB, free: 14.41 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001101/0.005615, allocations: 61.98 kB / 410.6 MB, free: 14.34 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.005626, allocations: 3.984 kB / 410.6 MB, free: 14.34 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.436e-06/0.005634, allocations: 0 / 410.6 MB, free: 14.34 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.005639, allocations: 0 / 410.6 MB, free: 14.34 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.275e-05/0.005691, allocations: 27.97 kB / 410.7 MB, free: 14.31 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002801/0.005972, allocations: 256 kB / 410.9 MB, free: 14.02 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001196/0.006091, allocations: 70.61 kB / 411 MB, free: 13.94 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.257e-05/0.006124, allocations: 20.84 kB / 411 MB, free: 13.92 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.238e-05/0.006136, allocations: 3.938 kB / 411 MB, free: 13.91 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001113/0.006247, allocations: 67.39 kB / 411.1 MB, free: 13.84 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 9.81e-07/0.006248, allocations: 0 / 411.1 MB, free: 13.84 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004135/0.006662, allocations: 193.3 kB / 411.3 MB, free: 13.64 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.102e-05/0.006693, allocations: 51.41 kB / 411.3 MB, free: 13.58 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001642/0.006857, allocations: 263.5 kB / 411.6 MB, free: 13.31 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.219e-05/0.006869, allocations: 33.7 kB / 411.6 MB, free: 13.27 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.194e-05/0.006921, allocations: 112.1 kB / 411.7 MB, free: 13.16 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.769e-05/0.006949, allocations: 27.78 kB / 411.7 MB, free: 13.13 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.284e-05/0.006982, allocations: 29.66 kB / 411.8 MB, free: 13.09 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.662e-05/0.007068, allocations: 330.8 kB / 412.1 MB, free: 12.76 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.389e-05/0.007102, allocations: 20 kB / 412.1 MB, free: 12.74 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.978e-05/0.007142, allocations: 33.7 kB / 412.1 MB, free: 12.7 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.007e-05/0.007212, allocations: 61.7 kB / 412.2 MB, free: 12.64 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.007213, allocations: 0 / 412.2 MB, free: 12.64 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001155/0.007329, allocations: 113.6 kB / 412.3 MB, free: 12.52 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/0.007341, allocations: 8 kB / 412.3 MB, free: 12.51 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.007345, allocations: 0 / 412.3 MB, free: 12.51 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.003e-05/0.007355, allocations: 0 / 412.3 MB, free: 12.51 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.796e-05/0.007413, allocations: 20.17 kB / 412.3 MB, free: 12.49 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.007418, allocations: 7.938 kB / 412.4 MB, free: 12.48 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.671e-05/0.007445, allocations: 7.891 kB / 412.4 MB, free: 12.48 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.162e-06/0.007451, allocations: 4 kB / 412.4 MB, free: 12.47 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 7.316e-05/0.007524, allocations: 137.8 kB / 412.5 MB, free: 12.33 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.475e-05/0.007539, allocations: 19.94 kB / 412.5 MB, free: 12.31 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001471/0.007686, allocations: 119.1 kB / 412.6 MB, free: 12.18 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.00769, allocations: 7.984 kB / 412.6 MB, free: 12.18 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.007693, allocations: 0 / 412.6 MB, free: 12.18 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.007696, allocations: 0 / 412.6 MB, free: 12.18 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002752/0.007971, allocations: 378.4 kB / 413 MB, free: 11.75 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.007973, allocations: 0 / 413 MB, free: 11.75 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.524e-05/0.007998, allocations: 8 kB / 413 MB, free: 11.75 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.008001, allocations: 4 kB / 413 MB, free: 11.74 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/0.008011, allocations: 8.359 kB / 413 MB, free: 11.73 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.008013, allocations: 4.031 kB / 413 MB, free: 11.73 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.838e-06/0.008016, allocations: 7.938 kB / 413 MB, free: 11.72 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000131/0.008147, allocations: 220.2 kB / 413.3 MB, free: 11.49 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.247e-05/0.00816, allocations: 11.91 kB / 413.3 MB, free: 11.48 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.497e-05/0.008175, allocations: 3.984 kB / 413.3 MB, free: 11.47 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.845e-05/0.008213, allocations: 8 kB / 413.3 MB, free: 11.46 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.153e-05/0.008245, allocations: 11.92 kB / 413.3 MB, free: 11.45 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.226e-05/0.008257, allocations: 0 / 413.3 MB, free: 11.45 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001049/0.008362, allocations: 203.3 kB / 413.5 MB, free: 11.25 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008362, allocations: 0 / 413.5 MB, free: 11.25 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001773/0.008539, allocations: 31.92 kB / 413.5 MB, free: 11.22 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001311/0.00985, allocations: 1.137 MB / 414.7 MB, free: 10.09 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001167/0.009967, allocations: 59.91 kB / 414.7 MB, free: 10.04 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.009969, allocations: 0 / 414.7 MB, free: 10.04 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.126e-05/0.01001, allocations: 31.98 kB / 414.8 MB, free: 10 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000215/0.01022, allocations: 32.02 kB / 414.8 MB, free: 9.973 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001196/0.01142, allocations: 1.837 MB / 416.6 MB, free: 8.039 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.375e-05/0.01148, allocations: 105.9 kB / 416.7 MB, free: 7.914 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 3.715e-05/0.01152, allocations: 16.47 kB / 416.7 MB, free: 7.895 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.152e-05/0.01157, allocations: 44.48 kB / 416.8 MB, free: 7.852 MB / 394.7 MB Notification: Performance of SimCode: time 2.7e-07/0.01157, allocations: 0 / 416.8 MB, free: 7.852 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01556/0.02713, allocations: 4.535 MB / 421.3 MB, free: 3.184 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.553/6.58, allocations: 11.91 kB / 421.3 MB, free: 3.172 MB / 394.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test46_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498604 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test46.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test46/Test46.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.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: 8.50854366272688]