Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.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.002001/0.002001, allocations: 114.1 kB / 19.69 MB, free: 2.203 MB / 14.72 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.002308/0.002308, allocations: 219.4 kB / 23.01 MB, free: 5.062 MB / 14.72 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 1.403/1.403, allocations: 207.6 MB / 233.8 MB, free: 9.984 MB / 190.1 MB " [Timeout remaining time 178] 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.2249/0.2249, allocations: 44.25 MB / 330.3 MB, free: 9.605 MB / 270.1 MB " [Timeout remaining time 179] 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.Test80,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test80",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test80,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test80",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002448/0.002448, allocations: 71.83 kB / 467.5 MB, free: 4.477 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1202/0.1227, allocations: 61.05 MB / 0.5162 GB, free: 7.285 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.003569/0.1263, allocations: 1.796 MB / 0.518 GB, free: 5.477 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002692/0.129, allocations: 1.587 MB / 0.5195 GB, free: 3.879 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000124/0.1291, allocations: 7.938 kB / 0.5195 GB, free: 3.871 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003594/0.1294, allocations: 55.69 kB / 0.5196 GB, free: 3.816 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003555/0.1298, allocations: 87.59 kB / 0.5197 GB, free: 3.73 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004788/0.1303, allocations: 143.6 kB / 0.5198 GB, free: 3.59 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000398/0.1307, allocations: 195.4 kB / 0.52 GB, free: 3.398 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.293e-05/0.1307, allocations: 13.95 kB / 0.52 GB, free: 3.383 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002476/0.131, allocations: 87.56 kB / 0.5201 GB, free: 3.297 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003081/0.1313, allocations: 67.69 kB / 0.5201 GB, free: 3.23 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.715e-05/0.1313, allocations: 8 kB / 0.5201 GB, free: 3.223 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002232/0.1316, allocations: 71.89 kB / 0.5202 GB, free: 3.152 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.687e-05/0.1316, allocations: 31.86 kB / 0.5202 GB, free: 3.121 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001136/0.1318, allocations: 59.66 kB / 0.5203 GB, free: 3.062 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004081/0.1322, allocations: 171.2 kB / 0.5205 GB, free: 2.895 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.1322, allocations: 0 / 0.5205 GB, free: 2.895 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1322, allocations: 0 / 0.5205 GB, free: 2.895 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.536e-06/0.1322, allocations: 7.938 kB / 0.5205 GB, free: 2.887 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0009249/0.1331, allocations: 393.3 kB / 0.5208 GB, free: 2.473 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.299e-05/0.1332, allocations: 12.03 kB / 0.5209 GB, free: 2.461 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.488e-05/0.1332, allocations: 34.75 kB / 0.5209 GB, free: 2.418 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.354e-05/0.1333, allocations: 16.84 kB / 0.5209 GB, free: 2.402 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005024/0.1338, allocations: 181.9 kB / 0.5211 GB, free: 2.199 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.231e-05/0.1338, allocations: 4.359 kB / 0.5211 GB, free: 2.195 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.552e-05/0.1339, allocations: 23.86 kB / 0.5211 GB, free: 2.172 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003078/0.1342, allocations: 93.09 kB / 0.5212 GB, free: 2.062 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.1342, allocations: 0 / 0.5212 GB, free: 2.062 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.505e-05/0.1342, allocations: 0 / 0.5212 GB, free: 2.062 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.1342, allocations: 0 / 0.5212 GB, free: 2.062 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001596/0.1344, allocations: 35.91 kB / 0.5212 GB, free: 2.027 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003258/0.1347, allocations: 189.6 kB / 0.5214 GB, free: 1.797 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004175/0.1351, allocations: 97.17 kB / 0.5215 GB, free: 1.684 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000167/0.1353, allocations: 45.62 kB / 0.5215 GB, free: 1.633 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.062e-05/0.1353, allocations: 4 kB / 0.5216 GB, free: 1.629 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003383/0.1357, allocations: 101.1 kB / 0.5216 GB, free: 1.512 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.763e-06/0.1357, allocations: 0 / 0.5216 GB, free: 1.512 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0006817/0.1363, allocations: 161.5 kB / 0.5218 GB, free: 1.348 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001577/0.1365, allocations: 140.5 kB / 0.5219 GB, free: 1.18 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003808/0.1369, allocations: 207.8 kB / 0.5221 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.085e-05/0.1369, allocations: 37.69 kB / 0.5222 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001002/0.137, allocations: 112.1 kB / 0.5223 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.15e-05/0.1371, allocations: 31.75 kB / 0.5223 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.646e-05/0.1372, allocations: 29.7 kB / 0.5223 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002031/0.1374, allocations: 330.8 kB / 0.5227 GB, free: 420 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001229/0.1375, allocations: 27.98 kB / 0.5227 GB, free: 392 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001707/0.1377, allocations: 73.12 kB / 0.5227 GB, free: 300 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002745/0.1379, allocations: 87.86 kB / 0.5228 GB, free: 200 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.961e-06/0.1379, allocations: 3.938 kB / 0.5228 GB, free: 196 kB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004208/0.1384, allocations: 141.5 kB / 0.523 GB, free: 48 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.1384, allocations: 4 kB / 0.523 GB, free: 44 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.962e-06/0.1384, allocations: 0 / 0.523 GB, free: 44 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/0.1384, allocations: 4 kB / 0.523 GB, free: 40 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001599/0.1386, allocations: 19.94 kB / 0.523 GB, free: 20 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.342e-05/0.1386, allocations: 7.984 kB / 0.523 GB, free: 12 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001281/0.1387, allocations: 7.953 kB / 0.523 GB, free: 4 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.34e-05/0.1387, allocations: 8.047 kB / 0.523 GB, free: 15.99 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (14): * Single equations (assignments): 14 * 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.0001781/0.1389, allocations: 145.8 kB / 0.5232 GB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.3e-05/0.139, allocations: 15.91 kB / 0.5232 GB, free: 15.83 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004807/0.1395, allocations: 146.6 kB / 0.5233 GB, free: 15.68 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.172e-06/0.1395, allocations: 4 kB / 0.5233 GB, free: 15.68 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.1395, allocations: 0 / 0.5233 GB, free: 15.68 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.1395, allocations: 0 / 0.5233 GB, free: 15.68 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002767/0.1398, allocations: 196.5 kB / 0.5235 GB, free: 15.44 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.1398, allocations: 0 / 0.5235 GB, free: 15.44 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.438e-05/0.1398, allocations: 16.19 kB / 0.5235 GB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.526e-06/0.1398, allocations: 0 / 0.5235 GB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.948e-05/0.1398, allocations: 8 kB / 0.5235 GB, free: 15.42 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.1398, allocations: 0 / 0.5235 GB, free: 15.42 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.1398, allocations: 0 / 0.5235 GB, free: 15.42 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004926/0.1403, allocations: 173.7 kB / 0.5237 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.706e-05/0.1404, allocations: 19.91 kB / 0.5237 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.453e-05/0.1404, allocations: 4 kB / 0.5237 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001107/0.1405, allocations: 7.984 kB / 0.5237 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.585e-05/0.1406, allocations: 11.98 kB / 0.5237 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.355e-05/0.1406, allocations: 4 kB / 0.5237 GB, free: 15.18 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002464/0.1409, allocations: 157.5 kB / 0.5239 GB, free: 15.03 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1409, allocations: 0 / 0.5239 GB, free: 15.03 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000456/0.1413, allocations: 39.92 kB / 0.5239 GB, free: 14.99 MB / 414.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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.003137/0.1444, allocations: 1.059 MB / 0.525 GB, free: 13.95 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003882/0.1448, allocations: 83.91 kB / 0.525 GB, free: 13.86 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.736e-06/0.1448, allocations: 0 / 0.525 GB, free: 13.86 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001679/0.145, allocations: 35.92 kB / 0.5251 GB, free: 13.83 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005458/0.1456, allocations: 47.95 kB / 0.5251 GB, free: 13.78 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003443/0.149, allocations: 1.809 MB / 0.5269 GB, free: 11.86 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004756/0.1495, allocations: 0.7203 MB / 0.5276 GB, free: 11.11 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001441/0.1496, allocations: 29.97 kB / 0.5276 GB, free: 11.09 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001439/0.1498, allocations: 55.41 kB / 0.5277 GB, free: 11.03 MB / 414.1 MB Notification: Performance of SimCode: time 7.22e-07/0.1498, allocations: 0 / 0.5277 GB, free: 11.03 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03621/0.186, allocations: 4.901 MB / 0.5325 GB, free: 6.008 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.22/11.41, allocations: 15.8 kB / 0.5325 GB, free: 5.992 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test80_fmu --startTime=0 --stopTime=4 --stepSize=0.000799201 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test80.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test80/Test80.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.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: 14.54861134197563]