Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.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.Test25,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test25",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test25,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test25",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001384/0.001384, allocations: 115.8 kB / 17.33 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001697/0.001697, allocations: 205.8 kB / 18.27 MB, free: 5.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.473/1.473, allocations: 227.4 MB / 246.4 MB, free: 9.086 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2324/0.2324, allocations: 46.1 MB / 343.8 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001425/0.001425, allocations: 73.3 kB / 417.2 MB, free: 19.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1252/0.1266, allocations: 62.45 MB / 479.6 MB, free: 5.48 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test25): time 0.003934/0.1306, allocations: 1.785 MB / 481.4 MB, free: 3.68 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002198/0.1328, allocations: 1.013 MB / 482.4 MB, free: 2.66 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000102/0.1329, allocations: 0 / 482.4 MB, free: 2.66 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004452/0.1334, allocations: 43.83 kB / 482.5 MB, free: 2.617 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003615/0.1338, allocations: 79.73 kB / 482.5 MB, free: 2.539 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002392/0.134, allocations: 67.88 kB / 482.6 MB, free: 2.473 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000235/0.1343, allocations: 107.6 kB / 482.7 MB, free: 2.367 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001089/0.1344, allocations: 12 kB / 482.7 MB, free: 2.355 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001006/0.1345, allocations: 39.78 kB / 482.8 MB, free: 2.316 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.999e-05/0.1346, allocations: 39.78 kB / 482.8 MB, free: 2.277 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.795e-05/0.1346, allocations: 4 kB / 482.8 MB, free: 2.273 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001166/0.1348, allocations: 43.98 kB / 482.8 MB, free: 2.23 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.891e-05/0.1348, allocations: 23.91 kB / 482.9 MB, free: 2.207 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.882e-05/0.1349, allocations: 39.69 kB / 482.9 MB, free: 2.168 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002343/0.1351, allocations: 119.9 kB / 483 MB, free: 2.051 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.1351, allocations: 0 / 483 MB, free: 2.051 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.92e-07/0.1351, allocations: 0 / 483 MB, free: 2.051 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.921e-06/0.1352, allocations: 0 / 483 MB, free: 2.051 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.0006282/0.1358, allocations: 422.9 kB / 483.4 MB, free: 1.59 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/0.1358, allocations: 8.031 kB / 483.4 MB, free: 1.582 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.384e-05/0.1359, allocations: 38.73 kB / 483.5 MB, free: 1.535 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.564e-05/0.1359, allocations: 12.75 kB / 483.5 MB, free: 1.523 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003423/0.1363, allocations: 216.1 kB / 483.7 MB, free: 1.273 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.503e-05/0.1363, allocations: 4.312 kB / 483.7 MB, free: 1.27 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.965e-05/0.1363, allocations: 7.938 kB / 483.7 MB, free: 1.262 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002641/0.1366, allocations: 53.67 kB / 483.8 MB, free: 1.203 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.1366, allocations: 0 / 483.8 MB, free: 1.203 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.147e-05/0.1366, allocations: 0 / 483.8 MB, free: 1.203 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.1367, allocations: 0 / 483.8 MB, free: 1.203 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.784e-05/0.1368, allocations: 19.98 kB / 483.8 MB, free: 1.184 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004457/0.1372, allocations: 292.9 kB / 484.1 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001629/0.1374, allocations: 58.61 kB / 484.1 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001905/0.1376, allocations: 24.84 kB / 484.1 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.111e-05/0.1376, allocations: 0 / 484.1 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001981/0.1378, allocations: 71.39 kB / 484.2 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.402e-06/0.1378, allocations: 0 / 484.2 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005541/0.1384, allocations: 181 kB / 484.4 MB, free: 500 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.593e-05/0.1384, allocations: 55.39 kB / 484.4 MB, free: 432 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002484/0.1387, allocations: 210.8 kB / 484.7 MB, free: 212 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.999e-05/0.1387, allocations: 29.7 kB / 484.7 MB, free: 176 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001479/0.1389, allocations: 108 kB / 484.8 MB, free: 64 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.353e-05/0.1389, allocations: 19.72 kB / 484.8 MB, free: 44 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.638e-05/0.139, allocations: 33.64 kB / 484.8 MB, free: 4 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001954/0.1392, allocations: 326.8 kB / 485.2 MB, free: 15.68 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.813e-05/0.1392, allocations: 27.92 kB / 485.2 MB, free: 15.65 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.311e-05/0.1393, allocations: 33.7 kB / 485.2 MB, free: 15.61 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001576/0.1395, allocations: 49.72 kB / 485.3 MB, free: 15.55 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.1395, allocations: 4 kB / 485.3 MB, free: 15.55 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001892/0.1397, allocations: 109.4 kB / 485.4 MB, free: 15.44 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.1397, allocations: 4 kB / 485.4 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.1397, allocations: 4 kB / 485.4 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.1397, allocations: 3.984 kB / 485.4 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.513e-05/0.1398, allocations: 12 kB / 485.4 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.217e-06/0.1398, allocations: 3.984 kB / 485.4 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.202e-05/0.1399, allocations: 11.88 kB / 485.4 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.675e-06/0.1399, allocations: 7.938 kB / 485.4 MB, free: 15.39 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.0001106/0.14, allocations: 125.9 kB / 485.6 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.668e-05/0.1401, allocations: 15.89 kB / 485.6 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.344e-05/0.1401, allocations: 13.41 kB / 485.6 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.1401, allocations: 0 / 485.6 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.1401, allocations: 0 / 485.6 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.153e-06/0.1401, allocations: 7.938 kB / 485.6 MB, free: 15.22 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004925/0.1406, allocations: 399.2 kB / 486 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.1406, allocations: 0 / 486 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.25e-05/0.1407, allocations: 12.03 kB / 486 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.1407, allocations: 3.938 kB / 486 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.352e-05/0.1407, allocations: 4 kB / 486 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.859e-06/0.1407, allocations: 7.984 kB / 486 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1407, allocations: 0 / 486 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002629/0.141, allocations: 200.2 kB / 486.2 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001412/0.1412, allocations: 92.92 kB / 486.3 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.784e-05/0.1412, allocations: 7.938 kB / 486.3 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.772e-05/0.1413, allocations: 4 kB / 486.3 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.132e-05/0.1413, allocations: 8.359 kB / 486.3 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.476e-05/0.1413, allocations: 0 / 486.3 MB, free: 14.4 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001283/0.1415, allocations: 160.3 kB / 486.5 MB, free: 14.24 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1415, allocations: 192 / 486.5 MB, free: 14.24 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002712/0.1418, allocations: 23.98 kB / 486.5 MB, free: 14.22 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.001903/0.1437, allocations: 1.095 MB / 487.6 MB, free: 13.26 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002279/0.1439, allocations: 63.91 kB / 487.6 MB, free: 13.2 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.1439, allocations: 0 / 487.6 MB, free: 13.2 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.584e-05/0.144, allocations: 23.94 kB / 487.7 MB, free: 13.18 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003397/0.1443, allocations: 35.91 kB / 487.7 MB, free: 13.14 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002065/0.1464, allocations: 1.715 MB / 489.4 MB, free: 11.34 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004911/0.1469, allocations: 0.708 MB / 490.1 MB, free: 10.61 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.206e-05/0.147, allocations: 16.84 kB / 490.1 MB, free: 10.59 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.776e-05/0.1471, allocations: 39.42 kB / 490.2 MB, free: 10.55 MB / 366.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1471, allocations: 0 / 490.2 MB, free: 10.55 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01633/0.1634, allocations: 3.332 MB / 493.5 MB, free: 7.328 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001981/0.1636, allocations: 230.2 kB / 493.7 MB, free: 7.078 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.083/2.247, allocations: 3.938 kB / 493.7 MB, free: 7.074 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test25_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test25.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test25/Test25.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches