Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test88,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test88",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test88,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test88",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001064/0.001064, allocations: 110.8 kB / 17.33 MB, free: 5.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00106/0.00106, allocations: 201.8 kB / 18.26 MB, free: 4.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.335/1.335, allocations: 227.4 MB / 246.4 MB, free: 9.137 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2033/0.2033, allocations: 46.1 MB / 343.8 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001394/0.001394, allocations: 76.84 kB / 417.2 MB, free: 19.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1078/0.1092, allocations: 62.44 MB / 479.6 MB, free: 5.48 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test88): time 0.003251/0.1125, allocations: 2.33 MB / 481.9 MB, free: 3.137 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00207/0.1145, allocations: 1.299 MB / 483.2 MB, free: 1.832 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001983/0.1147, allocations: 7.938 kB / 483.2 MB, free: 1.824 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003896/0.1151, allocations: 103.6 kB / 483.3 MB, free: 1.723 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005558/0.1157, allocations: 211.2 kB / 483.5 MB, free: 1.516 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004368/0.1162, allocations: 163.7 kB / 483.7 MB, free: 1.355 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005416/0.1167, allocations: 458.7 kB / 484.2 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001644/0.1169, allocations: 65.33 kB / 484.2 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003759/0.1173, allocations: 275 kB / 484.5 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002071/0.1175, allocations: 159.1 kB / 484.6 MB, free: 424 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.698e-05/0.1176, allocations: 23.94 kB / 484.7 MB, free: 400 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001531/0.1177, allocations: 67.98 kB / 484.7 MB, free: 332 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001295/0.1178, allocations: 135.5 kB / 484.9 MB, free: 196 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001532/0.118, allocations: 186.5 kB / 485 MB, free: 8 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004525/0.1185, allocations: 434.2 kB / 485.5 MB, free: 15.58 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.1185, allocations: 0 / 485.5 MB, free: 15.58 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.1185, allocations: 4 kB / 485.5 MB, free: 15.58 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.263e-05/0.1185, allocations: 0 / 485.5 MB, free: 15.58 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.00106/0.1196, allocations: 0.8188 MB / 486.3 MB, free: 14.71 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/0.1196, allocations: 11.97 kB / 486.3 MB, free: 14.7 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.609e-05/0.1197, allocations: 46.73 kB / 486.4 MB, free: 14.64 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001028/0.1198, allocations: 64.17 kB / 486.4 MB, free: 14.58 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004666/0.1203, allocations: 416.5 kB / 486.8 MB, free: 14.14 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.063e-05/0.1203, allocations: 12.38 kB / 486.8 MB, free: 14.12 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.96e-05/0.1203, allocations: 23.84 kB / 486.9 MB, free: 14.1 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003783/0.1207, allocations: 197.4 kB / 487 MB, free: 13.89 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.488e-05/0.1207, allocations: 0 / 487 MB, free: 13.89 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.267e-05/0.1208, allocations: 11.98 kB / 487.1 MB, free: 13.88 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.1208, allocations: 0 / 487.1 MB, free: 13.88 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002364/0.121, allocations: 95.88 kB / 487.2 MB, free: 13.79 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008881/0.1219, allocations: 0.7977 MB / 488 MB, free: 12.93 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006495/0.1226, allocations: 258.5 kB / 488.2 MB, free: 12.64 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00019/0.1228, allocations: 91.47 kB / 488.3 MB, free: 12.54 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.21e-05/0.1228, allocations: 11.94 kB / 488.3 MB, free: 12.52 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004024/0.1232, allocations: 202.1 kB / 488.5 MB, free: 12.3 MB / 366.1 MB Notification: Performance of pre-optimization done (n=28): time 1.924e-06/0.1233, allocations: 0 / 488.5 MB, free: 12.3 MB / 366.1 MB Notification: Performance of matching and sorting (n=44): time 0.002515/0.1258, allocations: 1.114 MB / 489.6 MB, free: 11.18 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.017e-05/0.1259, allocations: 140.5 kB / 489.8 MB, free: 11.01 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008602/0.1267, allocations: 0.7892 MB / 490.5 MB, free: 10.21 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.427e-05/0.1268, allocations: 37.7 kB / 490.6 MB, free: 10.17 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001942/0.127, allocations: 240.9 kB / 490.8 MB, free: 9.926 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001357/0.1271, allocations: 138.1 kB / 491 MB, free: 9.789 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001186/0.1273, allocations: 86.03 kB / 491 MB, free: 9.699 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001858/0.1275, allocations: 374.8 kB / 491.4 MB, free: 9.324 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002441/0.1277, allocations: 112.8 kB / 491.5 MB, free: 9.215 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002656/0.128, allocations: 187.2 kB / 491.7 MB, free: 9.004 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005274/0.1285, allocations: 319 kB / 492 MB, free: 8.668 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.1285, allocations: 4 kB / 492 MB, free: 8.664 MB / 366.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007662/0.1293, allocations: 440.5 kB / 492.4 MB, free: 8.227 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/0.1293, allocations: 4 kB / 492.4 MB, free: 8.223 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.158e-06/0.1293, allocations: 4.078 kB / 492.4 MB, free: 8.219 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.873e-05/0.1294, allocations: 4 kB / 492.5 MB, free: 8.215 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002657/0.1296, allocations: 91.83 kB / 492.5 MB, free: 8.125 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.258e-05/0.1297, allocations: 11.92 kB / 492.6 MB, free: 8.113 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001687/0.1298, allocations: 19.98 kB / 492.6 MB, free: 8.094 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.527e-05/0.1299, allocations: 12 kB / 492.6 MB, free: 8.082 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.t_new.nextTimeEvent,$whenCondition4,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition3,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new_3.nextTimeEvent,$whenCondition2,t_new_3.nextTimeEventScaled,$PRE.t_new_3.nextTimeEventScaled,t_new_3.nextTimeEvent,$PRE.t_new_4.nextTimeEvent,$whenCondition1,t_new_4.nextTimeEventScaled,$PRE.t_new_4.nextTimeEventScaled,t_new_4.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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.0002302/0.1301, allocations: 236 kB / 492.8 MB, free: 7.844 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.255e-05/0.1302, allocations: 63.16 kB / 492.9 MB, free: 7.781 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001264/0.1303, allocations: 76.92 kB / 493 MB, free: 7.699 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.574e-06/0.1304, allocations: 7.984 kB / 493 MB, free: 7.691 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.006e-05/0.1304, allocations: 11.88 kB / 493 MB, free: 7.68 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.1304, allocations: 3.938 kB / 493 MB, free: 7.676 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001555/0.1319, allocations: 1.311 MB / 494.3 MB, free: 6.281 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/0.132, allocations: 4 kB / 494.3 MB, free: 6.277 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001718/0.1321, allocations: 59.92 kB / 494.3 MB, free: 6.219 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.646e-06/0.1322, allocations: 7.984 kB / 494.4 MB, free: 6.211 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.021e-05/0.1322, allocations: 12 kB / 494.4 MB, free: 6.199 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.271e-06/0.1322, allocations: 4 kB / 494.4 MB, free: 6.195 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.851e-06/0.1322, allocations: 11.88 kB / 494.4 MB, free: 6.184 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008435/0.1331, allocations: 0.7864 MB / 495.2 MB, free: 5.355 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001753/0.1332, allocations: 172.3 kB / 495.3 MB, free: 5.168 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.06e-05/0.1333, allocations: 12.38 kB / 495.3 MB, free: 5.156 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002843/0.1336, allocations: 19.98 kB / 495.4 MB, free: 5.137 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.966e-05/0.1337, allocations: 43.83 kB / 495.4 MB, free: 5.094 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.936e-05/0.1337, allocations: 27.98 kB / 495.4 MB, free: 5.066 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000554/0.1343, allocations: 0.581 MB / 496 MB, free: 4.488 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.1343, allocations: 0 / 496 MB, free: 4.488 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005189/0.1348, allocations: 91.89 kB / 496.1 MB, free: 4.398 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled,$whenCondition2,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,$whenCondition3,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition4,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 8 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.002146/0.137, allocations: 1.732 MB / 497.8 MB, free: 2.801 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006155/0.1376, allocations: 336.2 kB / 498.2 MB, free: 2.473 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.1376, allocations: 0 / 498.2 MB, free: 2.473 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002865/0.1379, allocations: 167.9 kB / 498.3 MB, free: 2.309 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009305/0.1389, allocations: 132.4 kB / 498.5 MB, free: 2.191 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005894/0.1448, allocations: 5.013 MB / 0.4917 GB, free: 12.98 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004377/0.1452, allocations: 0.8904 MB / 0.4925 GB, free: 12.06 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.00023/0.1455, allocations: 83.28 kB / 0.4926 GB, free: 11.98 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002447/0.1457, allocations: 199.4 kB / 0.4928 GB, free: 11.79 MB / 382.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1457, allocations: 0 / 0.4928 GB, free: 11.79 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02285/0.1686, allocations: 10.52 MB / 0.5031 GB, free: 1.402 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001896/0.1688, allocations: 243.9 kB / 0.5033 GB, free: 1.141 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.939/2.108, allocations: 4 kB / 0.5033 GB, free: 1.137 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test88_fmu --startTime=0 --stopTime=9 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test88.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test88/Test88.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches