Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test51,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test51",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test51,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test51",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001142/0.001142, allocations: 109.7 kB / 17.21 MB, free: 6.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001603/0.001603, allocations: 190 kB / 18.12 MB, free: 5.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.397/1.397, allocations: 222.9 MB / 241.8 MB, free: 13.77 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2028/0.2028, allocations: 44.19 MB / 336.1 MB, free: 2.781 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001973/0.001973, allocations: 64.12 kB / 407.8 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1175/0.1195, allocations: 60.83 MB / 468.6 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test51): time 0.002796/0.1223, allocations: 1.76 MB / 470.4 MB, free: 12.96 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00125/0.1236, allocations: 0.8576 MB / 471.3 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.269e-05/0.1237, allocations: 0 / 471.3 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000273/0.124, allocations: 55.81 kB / 471.3 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001748/0.1242, allocations: 47.81 kB / 471.4 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002811/0.1245, allocations: 95.77 kB / 471.5 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001464/0.1246, allocations: 95.69 kB / 471.5 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.052e-05/0.1247, allocations: 4.234 kB / 471.5 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.392e-05/0.1248, allocations: 51.72 kB / 471.6 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.891e-05/0.1249, allocations: 31.84 kB / 471.6 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.648e-05/0.1249, allocations: 0 / 471.6 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.706e-05/0.125, allocations: 39.98 kB / 471.7 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.108e-05/0.1251, allocations: 23.92 kB / 471.7 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.96e-05/0.1251, allocations: 35.73 kB / 471.7 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001829/0.1253, allocations: 119.8 kB / 471.8 MB, free: 11.5 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.1253, allocations: 3.938 kB / 471.8 MB, free: 11.5 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.72e-07/0.1253, allocations: 0 / 471.8 MB, free: 11.5 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.447e-06/0.1254, allocations: 0 / 471.8 MB, free: 11.5 MB / 350.1 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.0004684/0.1258, allocations: 423 kB / 472.3 MB, free: 11.04 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.399e-05/0.1259, allocations: 12.03 kB / 472.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.333e-05/0.1259, allocations: 34.75 kB / 472.3 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.103e-05/0.126, allocations: 20.73 kB / 472.3 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001959/0.1262, allocations: 212.5 kB / 472.5 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.185e-05/0.1262, allocations: 4.375 kB / 472.5 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.848e-05/0.1262, allocations: 7.922 kB / 472.5 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001332/0.1263, allocations: 61.61 kB / 472.6 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.1264, allocations: 0 / 472.6 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.546e-06/0.1264, allocations: 4 kB / 472.6 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.1264, allocations: 0 / 472.6 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.849e-05/0.1265, allocations: 19.98 kB / 472.6 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003252/0.1268, allocations: 292.7 kB / 472.9 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001618/0.127, allocations: 58.61 kB / 473 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.396e-05/0.127, allocations: 28.86 kB / 473 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.888e-05/0.1271, allocations: 0 / 473 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001767/0.1272, allocations: 63.39 kB / 473.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.402e-06/0.1273, allocations: 0 / 473.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005007/0.1278, allocations: 177.2 kB / 473.2 MB, free: 9.926 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.836e-05/0.1278, allocations: 51.41 kB / 473.3 MB, free: 9.863 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001835/0.128, allocations: 234.5 kB / 473.5 MB, free: 9.621 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.585e-05/0.128, allocations: 33.7 kB / 473.5 MB, free: 9.582 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.315e-05/0.1281, allocations: 104.1 kB / 473.7 MB, free: 9.477 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.692e-05/0.1281, allocations: 23.66 kB / 473.7 MB, free: 9.453 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.703e-05/0.1282, allocations: 25.7 kB / 473.7 MB, free: 9.422 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.481e-05/0.1283, allocations: 326.8 kB / 474 MB, free: 9.094 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.664e-05/0.1283, allocations: 19.98 kB / 474 MB, free: 9.074 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.387e-05/0.1284, allocations: 49.58 kB / 474.1 MB, free: 9.02 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001047/0.1285, allocations: 53.78 kB / 474.1 MB, free: 8.961 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.1285, allocations: 0 / 474.1 MB, free: 8.961 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001814/0.1287, allocations: 109.5 kB / 474.2 MB, free: 8.848 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.218e-05/0.1287, allocations: 4 kB / 474.2 MB, free: 8.844 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.1287, allocations: 0 / 474.2 MB, free: 8.844 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.1287, allocations: 4 kB / 474.3 MB, free: 8.84 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.313e-05/0.1288, allocations: 15.98 kB / 474.3 MB, free: 8.824 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.1288, allocations: 4.031 kB / 474.3 MB, free: 8.82 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.618e-05/0.1289, allocations: 7.938 kB / 474.3 MB, free: 8.812 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.643e-06/0.1289, allocations: 0 / 474.3 MB, free: 8.812 MB / 350.1 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 9.737e-05/0.129, allocations: 137.8 kB / 474.4 MB, free: 8.668 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.341e-05/0.129, allocations: 15.75 kB / 474.4 MB, free: 8.652 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.079e-05/0.1291, allocations: 17.41 kB / 474.4 MB, free: 8.637 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.1291, allocations: 3.984 kB / 474.5 MB, free: 8.633 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.1291, allocations: 0 / 474.5 MB, free: 8.633 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.1291, allocations: 11.92 kB / 474.5 MB, free: 8.621 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003982/0.1295, allocations: 387.3 kB / 474.8 MB, free: 8.184 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/0.1295, allocations: 4 kB / 474.8 MB, free: 8.18 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.95e-05/0.1296, allocations: 4 kB / 474.8 MB, free: 8.176 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.989e-06/0.1296, allocations: 7.938 kB / 474.9 MB, free: 8.168 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.166e-05/0.1296, allocations: 8.359 kB / 474.9 MB, free: 8.16 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.1296, allocations: 0 / 474.9 MB, free: 8.16 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.1296, allocations: 4 kB / 474.9 MB, free: 8.156 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002156/0.1298, allocations: 212.2 kB / 475.1 MB, free: 7.93 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.868e-05/0.1299, allocations: 89.02 kB / 475.2 MB, free: 7.824 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.335e-05/0.1299, allocations: 3.938 kB / 475.2 MB, free: 7.82 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.697e-05/0.13, allocations: 0 / 475.2 MB, free: 7.82 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.245e-05/0.13, allocations: 7.984 kB / 475.2 MB, free: 7.812 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.402e-05/0.13, allocations: 4 kB / 475.2 MB, free: 7.809 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001262/0.1302, allocations: 180.3 kB / 475.4 MB, free: 7.633 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.1302, allocations: 0 / 475.4 MB, free: 7.633 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002488/0.1304, allocations: 24 kB / 475.4 MB, free: 7.609 MB / 350.1 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 (8): * Single equations (assignments): 6 * 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.00132/0.1317, allocations: 1.108 MB / 476.5 MB, free: 6.656 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001618/0.1319, allocations: 55.97 kB / 476.5 MB, free: 6.602 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.1319, allocations: 0 / 476.5 MB, free: 6.602 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.336e-05/0.132, allocations: 31.92 kB / 476.6 MB, free: 6.57 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003198/0.1323, allocations: 33.94 kB / 476.6 MB, free: 6.539 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001639/0.134, allocations: 1.726 MB / 478.3 MB, free: 4.727 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002281/0.1342, allocations: 0.7121 MB / 479 MB, free: 3.988 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.321e-05/0.1343, allocations: 12.88 kB / 479.1 MB, free: 3.977 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.536e-05/0.1344, allocations: 35.42 kB / 479.1 MB, free: 3.941 MB / 350.1 MB Notification: Performance of SimCode: time 6.31e-07/0.1344, allocations: 4 kB / 479.1 MB, free: 3.938 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.262/3.396, allocations: 3.296 MB / 482.4 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002898/3.396, allocations: 241.4 kB / 482.6 MB, free: 496 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.688/5.085, allocations: 0 / 482.6 MB, free: 496 kB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test51_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test51.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test51/Test51.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches