Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.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.00081/0.00081, allocations: 80.53 kB / 19.93 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.0008385/0.0008385, allocations: 169.9 kB / 23.2 MB, free: 1.359 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.8408/0.8408, allocations: 158.6 MB / 185 MB, free: 3.035 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.1298/0.1298, 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.Test52,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test52",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test52,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test52",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.283e-06/1.283e-06, allocations: 0 / 406.9 MB, free: 2.176 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.383e-05/1.511e-05, allocations: 6.078 kB / 406.9 MB, free: 2.172 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test52): time 0.002039/0.002054, allocations: 1.688 MB / 408.6 MB, free: 480 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009348/0.002989, allocations: 0.7842 MB / 409.4 MB, free: 15.68 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.23e-05/0.003061, allocations: 0 / 409.4 MB, free: 15.68 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003019/0.003363, allocations: 55.69 kB / 409.4 MB, free: 15.62 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001873/0.003551, allocations: 55.7 kB / 409.5 MB, free: 15.57 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000183/0.003734, allocations: 83.7 kB / 409.6 MB, free: 15.48 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001387/0.003872, allocations: 107.6 kB / 409.7 MB, free: 15.38 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.461e-05/0.003967, allocations: 4.234 kB / 409.7 MB, free: 15.38 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.766e-05/0.004045, allocations: 47.84 kB / 409.7 MB, free: 15.33 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.013e-05/0.004115, allocations: 31.89 kB / 409.8 MB, free: 15.3 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.916e-05/0.004134, allocations: 4 kB / 409.8 MB, free: 15.29 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.42e-05/0.004208, allocations: 39.94 kB / 409.8 MB, free: 15.25 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 5.477e-05/0.004263, allocations: 27.84 kB / 409.8 MB, free: 15.23 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 3.764e-05/0.0043, allocations: 19.92 kB / 409.9 MB, free: 15.21 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001604/0.004461, allocations: 119.6 kB / 410 MB, free: 15.09 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.264e-06/0.004463, allocations: 0 / 410 MB, free: 15.09 MB / 394.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.004464, allocations: 7.938 kB / 410 MB, free: 15.08 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.406e-06/0.004467, allocations: 0 / 410 MB, free: 15.08 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.0004154/0.004883, allocations: 349.5 kB / 410.3 MB, free: 14.71 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.004923, allocations: 8.031 kB / 410.3 MB, free: 14.7 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.407e-05/0.004957, allocations: 42.73 kB / 410.4 MB, free: 14.65 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.406e-05/0.004991, allocations: 12.84 kB / 410.4 MB, free: 14.64 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001833/0.005175, allocations: 149.5 kB / 410.5 MB, free: 14.47 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.022e-05/0.005185, allocations: 384 / 410.5 MB, free: 14.47 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.813e-05/0.005203, allocations: 8.375 kB / 410.5 MB, free: 14.46 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001242/0.005327, allocations: 61.92 kB / 410.6 MB, free: 14.39 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.769e-06/0.005337, allocations: 0 / 410.6 MB, free: 14.39 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.938e-06/0.005347, allocations: 8 kB / 410.6 MB, free: 14.39 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.005352, allocations: 0 / 410.6 MB, free: 14.39 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.954e-05/0.005401, allocations: 19.98 kB / 410.6 MB, free: 14.37 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003473/0.005749, allocations: 256 kB / 410.9 MB, free: 14.07 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001452/0.005894, allocations: 62.61 kB / 410.9 MB, free: 14 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.635e-05/0.00593, allocations: 24.84 kB / 411 MB, free: 13.98 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.508e-05/0.005945, allocations: 0 / 411 MB, free: 13.98 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001092/0.006054, allocations: 71.39 kB / 411 MB, free: 13.89 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 7.91e-07/0.006055, allocations: 0 / 411 MB, free: 13.89 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003872/0.006442, allocations: 193.2 kB / 411.2 MB, free: 13.7 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.159e-05/0.006474, allocations: 59.41 kB / 411.3 MB, free: 13.63 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001387/0.006613, allocations: 226.8 kB / 411.5 MB, free: 13.39 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 9.308e-06/0.006622, allocations: 25.7 kB / 411.5 MB, free: 13.36 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.95e-05/0.006671, allocations: 104.1 kB / 411.6 MB, free: 13.26 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.735e-05/0.006699, allocations: 27.78 kB / 411.7 MB, free: 13.23 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.188e-05/0.006731, allocations: 25.72 kB / 411.7 MB, free: 13.2 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.268e-05/0.006823, allocations: 330.8 kB / 412 MB, free: 12.87 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.504e-05/0.006858, allocations: 24 kB / 412 MB, free: 12.84 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.971e-05/0.006898, allocations: 41.64 kB / 412.1 MB, free: 12.8 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.9e-05/0.006967, allocations: 57.7 kB / 412.1 MB, free: 12.73 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.00697, allocations: 4 kB / 412.1 MB, free: 12.73 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001079/0.007078, allocations: 101.5 kB / 412.2 MB, free: 12.62 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.137e-05/0.007089, allocations: 8 kB / 412.2 MB, free: 12.62 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.007093, allocations: 160 / 412.2 MB, free: 12.62 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.026e-05/0.007103, allocations: 0 / 412.2 MB, free: 12.62 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.845e-05/0.007162, allocations: 28.14 kB / 412.3 MB, free: 12.59 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.589e-06/0.007166, allocations: 3.984 kB / 412.3 MB, free: 12.59 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.683e-05/0.007193, allocations: 7.938 kB / 412.3 MB, free: 12.58 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.152e-06/0.007199, allocations: 4 kB / 412.3 MB, free: 12.57 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.217e-05/0.007271, allocations: 137.7 kB / 412.4 MB, free: 12.43 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.284e-05/0.007284, allocations: 11.95 kB / 412.4 MB, free: 12.42 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001528/0.007437, allocations: 119.1 kB / 412.5 MB, free: 12.29 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.007439, allocations: 0 / 412.5 MB, free: 12.29 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.007443, allocations: 4 kB / 412.5 MB, free: 12.29 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.007447, allocations: 0 / 412.5 MB, free: 12.29 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002885/0.007736, allocations: 374.4 kB / 412.9 MB, free: 11.87 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/0.007741, allocations: 0 / 412.9 MB, free: 11.87 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.59e-05/0.007767, allocations: 19.92 kB / 412.9 MB, free: 11.85 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.007769, allocations: 4 kB / 412.9 MB, free: 11.85 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.294e-06/0.007777, allocations: 384 / 412.9 MB, free: 11.85 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.007778, allocations: 0 / 412.9 MB, free: 11.85 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.00778, allocations: 3.938 kB / 412.9 MB, free: 11.84 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001343/0.007914, allocations: 220.2 kB / 413.2 MB, free: 11.61 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.173e-05/0.007926, allocations: 7.953 kB / 413.2 MB, free: 11.6 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.53e-05/0.007941, allocations: 8.031 kB / 413.2 MB, free: 11.59 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.707e-05/0.007978, allocations: 4 kB / 413.2 MB, free: 11.59 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.822e-05/0.008006, allocations: 11.92 kB / 413.2 MB, free: 11.58 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.26e-05/0.008019, allocations: 4 kB / 413.2 MB, free: 11.57 MB / 394.7 MB Notification: Performance of sorting global known variables: time 9.309e-05/0.008112, allocations: 172.3 kB / 413.4 MB, free: 11.41 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008112, allocations: 0 / 413.4 MB, free: 11.41 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001781/0.00829, allocations: 27.94 kB / 413.4 MB, free: 11.38 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.001056/0.009346, allocations: 1.138 MB / 414.5 MB, free: 10.25 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001412/0.009488, allocations: 63.89 kB / 414.6 MB, free: 10.19 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.009489, allocations: 0 / 414.6 MB, free: 10.19 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.531e-05/0.009535, allocations: 31.92 kB / 414.6 MB, free: 10.16 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002399/0.009775, allocations: 28.23 kB / 414.6 MB, free: 10.13 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00137/0.01114, allocations: 1.736 MB / 416.4 MB, free: 8.301 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.534e-05/0.01122, allocations: 100.8 kB / 416.5 MB, free: 8.184 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 4.185e-05/0.01126, allocations: 8.5 kB / 416.5 MB, free: 8.172 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.103e-05/0.01131, allocations: 40.47 kB / 416.5 MB, free: 8.133 MB / 394.7 MB Notification: Performance of SimCode: time 6.32e-07/0.01131, allocations: 4 kB / 416.5 MB, free: 8.129 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01571/0.02702, allocations: 4.363 MB / 420.9 MB, free: 3.629 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.707/6.734, allocations: 11.84 kB / 420.9 MB, free: 3.617 MB / 394.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test52_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498703 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test52.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test52/Test52.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.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.674702969379723]