Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.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.Test15,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test15",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test15,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test15",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.0008999/0.0009, allocations: 93.42 kB / 17.35 MB, free: 6.344 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.0008819/0.000882, allocations: 174.7 kB / 18.25 MB, free: 5.504 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.255/1.255, allocations: 223.3 MB / 242.3 MB, free: 180 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1876/0.1876, allocations: 44.24 MB / 337.7 MB, free: 2.648 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003146/0.0003145, allocations: 15.98 kB / 410.4 MB, free: 27.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1253/0.1256, allocations: 61.93 MB / 472.4 MB, free: 13.22 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test15): time 0.002844/0.1285, allocations: 1.417 MB / 473.8 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001945/0.1305, allocations: 0.8343 MB / 474.6 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001102/0.1307, allocations: 0 / 474.6 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000362/0.131, allocations: 43.77 kB / 474.7 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000269/0.1313, allocations: 47.83 kB / 474.7 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004742/0.1318, allocations: 87.83 kB / 474.8 MB, free: 10.78 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002225/0.1321, allocations: 91.75 kB / 474.9 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001183/0.1322, allocations: 8.234 kB / 474.9 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001181/0.1323, allocations: 35.73 kB / 474.9 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.722e-05/0.1324, allocations: 31.84 kB / 475 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.273e-05/0.1325, allocations: 4 kB / 475 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000148/0.1326, allocations: 39.98 kB / 475 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.811e-05/0.1327, allocations: 19.92 kB / 475 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.625e-05/0.1328, allocations: 61.42 kB / 475.1 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002215/0.1331, allocations: 107.9 kB / 475.2 MB, free: 10.38 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.1331, allocations: 3.938 kB / 475.2 MB, free: 10.38 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.1331, allocations: 0 / 475.2 MB, free: 10.38 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.8e-06/0.1331, allocations: 0 / 475.2 MB, free: 10.38 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.0006818/0.1338, allocations: 387.2 kB / 475.6 MB, free: 9.949 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.889e-05/0.1339, allocations: 15.97 kB / 475.6 MB, free: 9.934 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.997e-05/0.1339, allocations: 34.73 kB / 475.6 MB, free: 9.891 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.178e-05/0.134, allocations: 16.84 kB / 475.6 MB, free: 9.875 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002917/0.1343, allocations: 200.1 kB / 475.8 MB, free: 9.641 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.553e-05/0.1343, allocations: 384 / 475.8 MB, free: 9.641 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.787e-05/0.1344, allocations: 11.92 kB / 475.8 MB, free: 9.629 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001909/0.1346, allocations: 57.61 kB / 475.9 MB, free: 9.566 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.342e-05/0.1346, allocations: 4 kB / 475.9 MB, free: 9.562 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.224e-05/0.1346, allocations: 0 / 475.9 MB, free: 9.562 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.1346, allocations: 0 / 475.9 MB, free: 9.562 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001032/0.1348, allocations: 23.98 kB / 475.9 MB, free: 9.539 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004714/0.1352, allocations: 284.8 kB / 476.2 MB, free: 9.211 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002431/0.1355, allocations: 62.62 kB / 476.3 MB, free: 9.141 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.879e-05/0.1356, allocations: 24.83 kB / 476.3 MB, free: 9.113 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.609e-05/0.1356, allocations: 0 / 476.3 MB, free: 9.113 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000243/0.1359, allocations: 71.39 kB / 476.4 MB, free: 9.031 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 4.799e-06/0.1359, allocations: 0 / 476.4 MB, free: 9.031 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007898/0.1367, allocations: 177.2 kB / 476.5 MB, free: 8.852 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.795e-05/0.1368, allocations: 51.41 kB / 476.6 MB, free: 8.789 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002477/0.137, allocations: 172.4 kB / 476.8 MB, free: 8.613 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.046e-05/0.1371, allocations: 29.7 kB / 476.8 MB, free: 8.578 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.517e-05/0.1371, allocations: 104 kB / 476.9 MB, free: 8.473 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.28e-05/0.1372, allocations: 23.75 kB / 476.9 MB, free: 8.449 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.114e-05/0.1373, allocations: 13.7 kB / 476.9 MB, free: 8.43 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001499/0.1374, allocations: 326.8 kB / 477.2 MB, free: 8.102 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.377e-05/0.1375, allocations: 16 kB / 477.3 MB, free: 8.086 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.883e-05/0.1376, allocations: 37.64 kB / 477.3 MB, free: 8.043 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001668/0.1378, allocations: 61.7 kB / 477.4 MB, free: 7.977 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.1378, allocations: 4 kB / 477.4 MB, free: 7.973 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002984/0.1381, allocations: 101.4 kB / 477.5 MB, free: 7.867 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.144e-05/0.1382, allocations: 7.984 kB / 477.5 MB, free: 7.859 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.1382, allocations: 4 kB / 477.5 MB, free: 7.855 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.589e-05/0.1382, allocations: 0 / 477.5 MB, free: 7.855 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001368/0.1383, allocations: 16 kB / 477.5 MB, free: 7.84 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.1384, allocations: 0 / 477.5 MB, free: 7.84 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.372e-05/0.1384, allocations: 7.938 kB / 477.5 MB, free: 7.832 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.615e-05/0.1385, allocations: 8.172 kB / 477.5 MB, free: 7.824 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 0.000136/0.1386, allocations: 125.8 kB / 477.6 MB, free: 7.691 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.105e-05/0.1387, allocations: 15.84 kB / 477.6 MB, free: 7.676 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.405e-05/0.1387, allocations: 16.7 kB / 477.7 MB, free: 7.656 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.1387, allocations: 0 / 477.7 MB, free: 7.656 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.047e-06/0.1388, allocations: 4 kB / 477.7 MB, free: 7.652 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.256e-06/0.1388, allocations: 3.938 kB / 477.7 MB, free: 7.648 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000615/0.1394, allocations: 379.3 kB / 478 MB, free: 7.219 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.828e-06/0.1394, allocations: 4.031 kB / 478 MB, free: 7.215 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.62e-05/0.1395, allocations: 8 kB / 478 MB, free: 7.207 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.843e-06/0.1395, allocations: 3.938 kB / 478.1 MB, free: 7.203 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.826e-05/0.1395, allocations: 8.375 kB / 478.1 MB, free: 7.195 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.209e-06/0.1395, allocations: 3.984 kB / 478.1 MB, free: 7.191 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.027e-06/0.1396, allocations: 4 kB / 478.1 MB, free: 7.188 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003617/0.1399, allocations: 208.4 kB / 478.3 MB, free: 6.965 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.802e-05/0.14, allocations: 89.02 kB / 478.4 MB, free: 6.859 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.567e-05/0.1401, allocations: 3.938 kB / 478.4 MB, free: 6.855 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001138/0.1402, allocations: 11.92 kB / 478.4 MB, free: 6.844 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.046e-05/0.1402, allocations: 4 kB / 478.4 MB, free: 6.84 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.192e-05/0.1403, allocations: 8 kB / 478.4 MB, free: 6.832 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000169/0.1404, allocations: 138.8 kB / 478.5 MB, free: 6.699 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.1405, allocations: 0 / 478.5 MB, free: 6.699 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004525/0.1409, allocations: 24 kB / 478.5 MB, free: 6.676 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.002263/0.1432, allocations: 1.102 MB / 479.6 MB, free: 5.734 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002402/0.1434, allocations: 55.97 kB / 479.7 MB, free: 5.68 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.1435, allocations: 0 / 479.7 MB, free: 5.68 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001067/0.1436, allocations: 39.86 kB / 479.7 MB, free: 5.641 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005105/0.1441, allocations: 19.98 kB / 479.8 MB, free: 5.621 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002148/0.1463, allocations: 1.618 MB / 481.4 MB, free: 3.902 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003475/0.1466, allocations: 0.708 MB / 482.1 MB, free: 3.168 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.389e-05/0.1467, allocations: 17.17 kB / 482.1 MB, free: 3.148 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.273e-05/0.1468, allocations: 31.42 kB / 482.1 MB, free: 3.121 MB / 350.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1468, allocations: 0 / 482.1 MB, free: 3.121 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01731/0.1642, allocations: 2.883 MB / 485 MB, free: 376 kB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002725/0.1645, allocations: 241.5 kB / 485.3 MB, free: 112 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.878/2.042, allocations: 0 / 485.3 MB, free: 112 kB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test15_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test15.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test15/Test15.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches