Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.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.Test43,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test43",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test43,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test43",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001805/0.001805, allocations: 107.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.002837/0.002838, 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.5/1.5, allocations: 227.4 MB / 246.3 MB, free: 9.008 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2258/0.2258, allocations: 46.11 MB / 343.6 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001558/0.001558, allocations: 79.62 kB / 417 MB, free: 20.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1271/0.1287, allocations: 62.44 MB / 479.4 MB, free: 5.547 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test43): time 0.004495/0.1333, allocations: 1.787 MB / 481.2 MB, free: 3.746 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001925/0.1352, allocations: 1.025 MB / 482.2 MB, free: 2.715 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001518/0.1354, allocations: 3.938 kB / 482.2 MB, free: 2.711 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004012/0.1358, allocations: 39.83 kB / 482.3 MB, free: 2.672 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003963/0.1363, allocations: 71.75 kB / 482.3 MB, free: 2.602 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003248/0.1366, allocations: 67.86 kB / 482.4 MB, free: 2.535 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000248/0.1369, allocations: 103.7 kB / 482.5 MB, free: 2.434 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001658/0.1371, allocations: 8 kB / 482.5 MB, free: 2.426 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001538/0.1372, allocations: 43.78 kB / 482.5 MB, free: 2.383 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001183/0.1373, allocations: 35.78 kB / 482.6 MB, free: 2.348 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.125e-05/0.1374, allocations: 0 / 482.6 MB, free: 2.348 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001928/0.1376, allocations: 43.97 kB / 482.6 MB, free: 2.305 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.515e-05/0.1377, allocations: 27.86 kB / 482.6 MB, free: 2.277 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.228e-05/0.1378, allocations: 27.75 kB / 482.7 MB, free: 2.25 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002953/0.1381, allocations: 123.8 kB / 482.8 MB, free: 2.129 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/0.1381, allocations: 0 / 482.8 MB, free: 2.129 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.058e-06/0.1381, allocations: 3.984 kB / 482.8 MB, free: 2.125 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.793e-06/0.1381, allocations: 0 / 482.8 MB, free: 2.125 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.0007516/0.1389, allocations: 419 kB / 483.2 MB, free: 1.668 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.564e-05/0.1389, allocations: 8.875 kB / 483.2 MB, free: 1.66 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.121e-05/0.139, allocations: 34.75 kB / 483.2 MB, free: 1.617 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.495e-05/0.1391, allocations: 16.73 kB / 483.3 MB, free: 1.602 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002833/0.1393, allocations: 216 kB / 483.5 MB, free: 1.352 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.756e-05/0.1394, allocations: 8.375 kB / 483.5 MB, free: 1.344 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.476e-05/0.1394, allocations: 3.938 kB / 483.5 MB, free: 1.34 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001647/0.1396, allocations: 53.67 kB / 483.5 MB, free: 1.281 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.1396, allocations: 0 / 483.5 MB, free: 1.281 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.1396, allocations: 0 / 483.5 MB, free: 1.281 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.698e-06/0.1396, allocations: 4 kB / 483.5 MB, free: 1.277 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.986e-05/0.1397, allocations: 15.98 kB / 483.6 MB, free: 1.262 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004206/0.1401, allocations: 288.9 kB / 483.8 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001842/0.1403, allocations: 66.55 kB / 483.9 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.812e-05/0.1404, allocations: 24.84 kB / 483.9 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.208e-05/0.1404, allocations: 4 kB / 483.9 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002308/0.1407, allocations: 63.39 kB / 484 MB, free: 0.75 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.814e-06/0.1407, allocations: 4 kB / 484 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.000595/0.1413, allocations: 185 kB / 484.2 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.031e-05/0.1413, allocations: 51.41 kB / 484.2 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002219/0.1416, allocations: 210.8 kB / 484.4 MB, free: 288 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.927e-05/0.1416, allocations: 25.7 kB / 484.5 MB, free: 256 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001455/0.1417, allocations: 108.1 kB / 484.6 MB, free: 144 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.761e-05/0.1418, allocations: 23.66 kB / 484.6 MB, free: 120 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.655e-05/0.1419, allocations: 25.64 kB / 484.6 MB, free: 88 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001421/0.142, allocations: 330.8 kB / 484.9 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.245e-05/0.1421, allocations: 19.98 kB / 485 MB, free: 15.73 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.855e-05/0.1422, allocations: 33.7 kB / 485 MB, free: 15.7 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000117/0.1423, allocations: 57.72 kB / 485 MB, free: 15.63 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.1423, allocations: 0 / 485 MB, free: 15.63 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000218/0.1425, allocations: 113.5 kB / 485.2 MB, free: 15.52 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.047e-05/0.1425, allocations: 8 kB / 485.2 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.1426, allocations: 0 / 485.2 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/0.1426, allocations: 0 / 485.2 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001016/0.1427, allocations: 15.98 kB / 485.2 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.248e-05/0.1427, allocations: 7.938 kB / 485.2 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.298e-05/0.1428, allocations: 7.875 kB / 485.2 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.237e-06/0.1428, allocations: 4 kB / 485.2 MB, free: 15.47 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.0001228/0.1429, allocations: 125.8 kB / 485.3 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.66e-05/0.1429, allocations: 15.94 kB / 485.3 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.37e-05/0.143, allocations: 13.41 kB / 485.4 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.143, allocations: 4 kB / 485.4 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.143, allocations: 0 / 485.4 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.143, allocations: 3.938 kB / 485.4 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004998/0.1435, allocations: 399.2 kB / 485.8 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.1435, allocations: 0 / 485.8 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.484e-05/0.1436, allocations: 8 kB / 485.8 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.451e-06/0.1436, allocations: 7.969 kB / 485.8 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.712e-05/0.1436, allocations: 11.98 kB / 485.8 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.1436, allocations: 4.312 kB / 485.8 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.1436, allocations: 0 / 485.8 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002382/0.1439, allocations: 200.2 kB / 486 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.38e-05/0.1439, allocations: 92.92 kB / 486.1 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.065e-05/0.144, allocations: 11.94 kB / 486.1 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.818e-05/0.1441, allocations: 4 kB / 486.1 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.309e-05/0.1441, allocations: 11.97 kB / 486.1 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.63e-05/0.1441, allocations: 4 kB / 486.1 MB, free: 14.46 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001333/0.1443, allocations: 156.3 kB / 486.3 MB, free: 14.31 MB / 366.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1443, allocations: 0 / 486.3 MB, free: 14.31 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002688/0.1445, allocations: 28.17 kB / 486.3 MB, free: 14.29 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.00158/0.1461, allocations: 1.078 MB / 487.4 MB, free: 13.34 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001922/0.1463, allocations: 63.89 kB / 487.4 MB, free: 13.28 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1464, allocations: 0 / 487.4 MB, free: 13.28 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.076e-05/0.1464, allocations: 31.98 kB / 487.5 MB, free: 13.25 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003615/0.1468, allocations: 39.78 kB / 487.5 MB, free: 13.21 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001969/0.1488, allocations: 1.697 MB / 489.2 MB, free: 11.43 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003011/0.1491, allocations: 0.7083 MB / 489.9 MB, free: 10.7 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.091e-05/0.1492, allocations: 12.55 kB / 489.9 MB, free: 10.68 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.992e-05/0.1492, allocations: 39.42 kB / 489.9 MB, free: 10.64 MB / 366.1 MB Notification: Performance of SimCode: time 3.256e-06/0.1493, allocations: 0 / 489.9 MB, free: 10.64 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0137/0.163, allocations: 3.26 MB / 493.2 MB, free: 7.48 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001909/0.1632, allocations: 232.4 kB / 493.4 MB, free: 7.23 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.88/2.044, allocations: 0 / 493.4 MB, free: 7.23 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test43_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test43.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test43/Test43.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches