Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.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.Test27,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test27",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test27,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test27",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.001265/0.001265, allocations: 108.1 kB / 17.21 MB, free: 6.289 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.001434/0.001434, allocations: 194 kB / 18.12 MB, free: 5.383 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.504/1.504, allocations: 222.9 MB / 241.8 MB, free: 15.52 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.2451/0.2451, allocations: 44.18 MB / 336.1 MB, free: 3.02 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001708/0.001708, allocations: 62.22 kB / 407.8 MB, free: 27.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1173/0.119, allocations: 60.83 MB / 468.6 MB, free: 14.76 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test27): time 0.00334/0.1224, allocations: 1.765 MB / 470.4 MB, free: 12.98 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001498/0.1239, allocations: 0.8575 MB / 471.3 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.036e-05/0.1241, allocations: 8 kB / 471.3 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003119/0.1244, allocations: 35.84 kB / 471.3 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002169/0.1246, allocations: 43.83 kB / 471.3 MB, free: 12.03 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003647/0.125, allocations: 91.81 kB / 471.4 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001926/0.1252, allocations: 95.64 kB / 471.5 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001142/0.1253, allocations: 12.22 kB / 471.5 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001062/0.1255, allocations: 39.78 kB / 471.6 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.707e-05/0.1255, allocations: 31.84 kB / 471.6 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.278e-05/0.1256, allocations: 4 kB / 471.6 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001223/0.1257, allocations: 39.98 kB / 471.7 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.634e-05/0.1258, allocations: 23.91 kB / 471.7 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.655e-05/0.1259, allocations: 35.69 kB / 471.7 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002231/0.1261, allocations: 107.9 kB / 471.8 MB, free: 11.55 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.1261, allocations: 0 / 471.8 MB, free: 11.55 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1261, allocations: 0 / 471.8 MB, free: 11.55 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.1261, allocations: 4 kB / 471.8 MB, free: 11.55 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.0005919/0.1267, allocations: 415.1 kB / 472.2 MB, free: 11.1 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.396e-05/0.1268, allocations: 8.031 kB / 472.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.621e-05/0.1268, allocations: 30.75 kB / 472.3 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.896e-05/0.1269, allocations: 16.75 kB / 472.3 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002716/0.1272, allocations: 200.1 kB / 472.5 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.927e-05/0.1272, allocations: 12.31 kB / 472.5 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.696e-05/0.1272, allocations: 3.938 kB / 472.5 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002311/0.1275, allocations: 53.67 kB / 472.5 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.574e-05/0.1275, allocations: 0 / 472.5 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.229e-05/0.1275, allocations: 11.94 kB / 472.6 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.429e-06/0.1275, allocations: 0 / 472.6 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.115e-05/0.1276, allocations: 15.98 kB / 472.6 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004097/0.128, allocations: 288.9 kB / 472.9 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000187/0.1282, allocations: 58.61 kB / 472.9 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.267e-05/0.1283, allocations: 28.84 kB / 472.9 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.43e-05/0.1283, allocations: 3.938 kB / 472.9 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002354/0.1286, allocations: 63.39 kB / 473 MB, free: 10.19 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.884e-06/0.1286, allocations: 0 / 473 MB, free: 10.19 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005657/0.1292, allocations: 169.2 kB / 473.2 MB, free: 10.02 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.469e-05/0.1292, allocations: 55.41 kB / 473.2 MB, free: 9.953 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001741/0.1294, allocations: 190.1 kB / 473.4 MB, free: 9.758 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.591e-05/0.1294, allocations: 25.7 kB / 473.4 MB, free: 9.727 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.639e-05/0.1295, allocations: 112.1 kB / 473.5 MB, free: 9.613 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.314e-05/0.1295, allocations: 19.7 kB / 473.6 MB, free: 9.594 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.899e-05/0.1296, allocations: 21.72 kB / 473.6 MB, free: 9.566 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001264/0.1297, allocations: 322.8 kB / 473.9 MB, free: 9.242 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.909e-05/0.1298, allocations: 27.92 kB / 473.9 MB, free: 9.215 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.992e-05/0.1299, allocations: 37.7 kB / 474 MB, free: 9.172 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001228/0.13, allocations: 57.78 kB / 474 MB, free: 9.109 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.13, allocations: 384 / 474 MB, free: 9.109 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001972/0.1302, allocations: 109.4 kB / 474.1 MB, free: 8.996 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.1302, allocations: 8 kB / 474.1 MB, free: 8.988 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.1302, allocations: 0 / 474.1 MB, free: 8.988 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.1302, allocations: 0 / 474.1 MB, free: 8.988 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.276e-05/0.1303, allocations: 19.98 kB / 474.2 MB, free: 8.969 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.1304, allocations: 4.031 kB / 474.2 MB, free: 8.965 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.995e-05/0.1304, allocations: 7.938 kB / 474.2 MB, free: 8.957 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.37e-05/0.1304, allocations: 4 kB / 474.2 MB, free: 8.953 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.0001069/0.1305, allocations: 129.8 kB / 474.3 MB, free: 8.816 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.183e-05/0.1306, allocations: 7.906 kB / 474.3 MB, free: 8.809 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.098e-05/0.1306, allocations: 16.72 kB / 474.3 MB, free: 8.789 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.1306, allocations: 0 / 474.3 MB, free: 8.789 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.1306, allocations: 0 / 474.3 MB, free: 8.789 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.183e-06/0.1307, allocations: 7.922 kB / 474.3 MB, free: 8.781 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004665/0.1311, allocations: 395.3 kB / 474.7 MB, free: 8.336 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.1311, allocations: 192 / 474.7 MB, free: 8.336 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.561e-05/0.1312, allocations: 11.98 kB / 474.7 MB, free: 8.324 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.468e-06/0.1312, allocations: 7.875 kB / 474.7 MB, free: 8.316 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.728e-06/0.1312, allocations: 0 / 474.7 MB, free: 8.316 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.408e-06/0.1312, allocations: 4 kB / 474.7 MB, free: 8.312 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.1312, allocations: 0 / 474.7 MB, free: 8.312 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002568/0.1315, allocations: 212.1 kB / 474.9 MB, free: 8.086 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.921e-05/0.1316, allocations: 85 kB / 475 MB, free: 7.984 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.208e-05/0.1316, allocations: 7.938 kB / 475 MB, free: 7.977 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.55e-05/0.1317, allocations: 4 kB / 475 MB, free: 7.973 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.246e-05/0.1317, allocations: 7.984 kB / 475 MB, free: 7.965 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.993e-05/0.1318, allocations: 4 kB / 475 MB, free: 7.961 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001391/0.1319, allocations: 143.2 kB / 475.2 MB, free: 7.82 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1319, allocations: 0 / 475.2 MB, free: 7.82 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002977/0.1322, allocations: 31.98 kB / 475.2 MB, free: 7.789 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.001783/0.134, allocations: 1.098 MB / 476.3 MB, free: 6.852 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002132/0.1343, allocations: 55.95 kB / 476.4 MB, free: 6.797 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.1343, allocations: 3.938 kB / 476.4 MB, free: 6.793 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.459e-05/0.1344, allocations: 28 kB / 476.4 MB, free: 6.766 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003787/0.1347, allocations: 28.09 kB / 476.4 MB, free: 6.738 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002172/0.1369, allocations: 1.644 MB / 478.1 MB, free: 4.996 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000293/0.1372, allocations: 0.7082 MB / 478.8 MB, free: 4.262 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.672e-05/0.1373, allocations: 17.19 kB / 478.8 MB, free: 4.246 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.929e-05/0.1374, allocations: 31.42 kB / 478.8 MB, free: 4.215 MB / 350.1 MB Notification: Performance of SimCode: time 1.122e-06/0.1374, allocations: 0 / 478.8 MB, free: 4.215 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01417/0.1516, allocations: 3.138 MB / 482 MB, free: 1.184 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002101/0.1518, allocations: 232.4 kB / 482.2 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.892/2.043, allocations: 0 / 482.2 MB, free: 0.9336 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test27_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test27.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test27/Test27.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches