Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.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.Test26,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test26",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test26,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test26",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001333/0.001333, allocations: 108.5 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001148/0.001148, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.458/1.458, allocations: 227.4 MB / 246.3 MB, free: 9.035 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2364/0.2364, allocations: 46.1 MB / 343.6 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001364/0.001364, allocations: 83.31 kB / 417 MB, free: 20.08 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1227/0.1241, allocations: 62.45 MB / 479.4 MB, free: 5.613 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test26): time 0.003592/0.1277, allocations: 1.789 MB / 481.2 MB, free: 3.809 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001775/0.1295, allocations: 1.013 MB / 482.2 MB, free: 2.789 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001154/0.1297, allocations: 4 kB / 482.2 MB, free: 2.785 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003197/0.13, allocations: 39.84 kB / 482.2 MB, free: 2.746 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003388/0.1304, allocations: 75.73 kB / 482.3 MB, free: 2.672 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002279/0.1306, allocations: 71.75 kB / 482.4 MB, free: 2.602 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001968/0.1308, allocations: 95.75 kB / 482.5 MB, free: 2.508 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001016/0.1309, allocations: 8 kB / 482.5 MB, free: 2.5 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.383e-05/0.131, allocations: 43.72 kB / 482.5 MB, free: 2.457 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.854e-05/0.1311, allocations: 39.78 kB / 482.6 MB, free: 2.418 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.777e-05/0.1311, allocations: 4 kB / 482.6 MB, free: 2.414 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001127/0.1313, allocations: 39.98 kB / 482.6 MB, free: 2.375 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.6e-05/0.1313, allocations: 23.91 kB / 482.6 MB, free: 2.352 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.167e-05/0.1314, allocations: 27.75 kB / 482.7 MB, free: 2.324 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002202/0.1316, allocations: 123.8 kB / 482.8 MB, free: 2.203 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.1316, allocations: 0 / 482.8 MB, free: 2.203 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1316, allocations: 3.938 kB / 482.8 MB, free: 2.199 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.159e-06/0.1317, allocations: 0 / 482.8 MB, free: 2.199 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.0005527/0.1322, allocations: 419 kB / 483.2 MB, free: 1.742 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/0.1323, allocations: 12.88 kB / 483.2 MB, free: 1.73 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.93e-05/0.1323, allocations: 34.73 kB / 483.2 MB, free: 1.688 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.725e-05/0.1324, allocations: 16.75 kB / 483.3 MB, free: 1.672 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002422/0.1326, allocations: 212.1 kB / 483.5 MB, free: 1.426 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.136e-05/0.1326, allocations: 384 / 483.5 MB, free: 1.426 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.995e-05/0.1327, allocations: 7.938 kB / 483.5 MB, free: 1.418 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001593/0.1328, allocations: 57.61 kB / 483.5 MB, free: 1.355 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.1328, allocations: 0 / 483.5 MB, free: 1.355 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.053e-05/0.1329, allocations: 0 / 483.5 MB, free: 1.355 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.1329, allocations: 4 kB / 483.5 MB, free: 1.352 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.616e-05/0.1329, allocations: 19.98 kB / 483.6 MB, free: 1.332 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003668/0.1333, allocations: 288.9 kB / 483.8 MB, free: 1 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001682/0.1335, allocations: 54.61 kB / 483.9 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.917e-05/0.1336, allocations: 24.86 kB / 483.9 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.086e-05/0.1336, allocations: 11.92 kB / 483.9 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002196/0.1338, allocations: 59.39 kB / 484 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.533e-06/0.1338, allocations: 0 / 484 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005678/0.1344, allocations: 189 kB / 484.2 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.828e-05/0.1345, allocations: 55.39 kB / 484.2 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001934/0.1347, allocations: 206.8 kB / 484.4 MB, free: 368 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.68e-05/0.1347, allocations: 33.7 kB / 484.5 MB, free: 328 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.893e-05/0.1348, allocations: 104.1 kB / 484.6 MB, free: 220 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.236e-05/0.1348, allocations: 19.72 kB / 484.6 MB, free: 200 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.451e-05/0.1348, allocations: 25.7 kB / 484.6 MB, free: 168 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001285/0.135, allocations: 326.8 kB / 484.9 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.063e-05/0.135, allocations: 15.98 kB / 484.9 MB, free: 15.82 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.842e-05/0.1351, allocations: 41.59 kB / 485 MB, free: 15.77 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001202/0.1352, allocations: 61.7 kB / 485 MB, free: 15.71 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.1353, allocations: 384 / 485 MB, free: 15.71 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001937/0.1355, allocations: 109.4 kB / 485.1 MB, free: 15.59 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.1355, allocations: 4 kB / 485.2 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.1355, allocations: 0 / 485.2 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/0.1355, allocations: 8 kB / 485.2 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.982e-05/0.1356, allocations: 12 kB / 485.2 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.291e-06/0.1356, allocations: 0 / 485.2 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.317e-05/0.1357, allocations: 23.88 kB / 485.2 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.313e-06/0.1357, allocations: 0 / 485.2 MB, free: 15.55 MB / 366.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.0001078/0.1358, allocations: 129.8 kB / 485.3 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.476e-05/0.1358, allocations: 11.89 kB / 485.3 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.544e-05/0.1359, allocations: 17.41 kB / 485.3 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.1359, allocations: 0 / 485.3 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.1359, allocations: 0 / 485.3 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.1359, allocations: 3.938 kB / 485.4 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004519/0.1364, allocations: 403.2 kB / 485.7 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.077e-06/0.1364, allocations: 4 kB / 485.8 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.474e-05/0.1364, allocations: 4 kB / 485.8 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.843e-06/0.1364, allocations: 7.938 kB / 485.8 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.123e-05/0.1365, allocations: 4 kB / 485.8 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.1365, allocations: 0 / 485.8 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.439e-06/0.1365, allocations: 4 kB / 485.8 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000243/0.1367, allocations: 208.2 kB / 486 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.64e-05/0.1368, allocations: 88.86 kB / 486.1 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.023e-05/0.1368, allocations: 11.94 kB / 486.1 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.085e-05/0.1369, allocations: 0 / 486.1 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.944e-05/0.137, allocations: 7.984 kB / 486.1 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.637e-05/0.137, allocations: 4 kB / 486.1 MB, free: 14.55 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001401/0.1371, allocations: 160.3 kB / 486.2 MB, free: 14.39 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1371, allocations: 4 kB / 486.2 MB, free: 14.39 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002805/0.1374, allocations: 27.98 kB / 486.3 MB, free: 14.36 MB / 366.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.001548/0.139, allocations: 1.083 MB / 487.4 MB, free: 13.41 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000193/0.1392, allocations: 55.97 kB / 487.4 MB, free: 13.36 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.1392, allocations: 0 / 487.4 MB, free: 13.36 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.428e-05/0.1393, allocations: 31.92 kB / 487.4 MB, free: 13.33 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003682/0.1397, allocations: 27.97 kB / 487.5 MB, free: 13.3 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0019/0.1416, allocations: 1.705 MB / 489.2 MB, free: 11.51 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002887/0.1419, allocations: 0.7082 MB / 489.9 MB, free: 10.78 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.698e-05/0.142, allocations: 20.84 kB / 489.9 MB, free: 10.76 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.189e-05/0.142, allocations: 39.42 kB / 489.9 MB, free: 10.72 MB / 366.1 MB Notification: Performance of SimCode: time 5.51e-07/0.142, allocations: 4 kB / 489.9 MB, free: 10.71 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01407/0.1561, allocations: 3.237 MB / 493.2 MB, free: 7.57 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002027/0.1564, allocations: 248.6 kB / 493.4 MB, free: 7.309 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.989/2.145, allocations: 3.938 kB / 493.4 MB, free: 7.305 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test26_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test26.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test26/Test26.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches