Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.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.Test1,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test1,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001108/0.001108, allocations: 107.1 kB / 17.32 MB, free: 5.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001191/0.001191, allocations: 205.8 kB / 18.26 MB, free: 4.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.36/1.36, allocations: 227.4 MB / 246.4 MB, free: 10.8 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2117/0.2117, allocations: 46.11 MB / 343.8 MB, free: 11.76 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00143/0.001431, allocations: 78.5 kB / 417.2 MB, free: 19.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1206/0.122, allocations: 62.43 MB / 479.6 MB, free: 5.52 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test1): time 0.003477/0.1255, allocations: 1.787 MB / 481.4 MB, free: 3.719 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001773/0.1273, allocations: 1.006 MB / 482.4 MB, free: 2.707 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001037/0.1275, allocations: 4 kB / 482.4 MB, free: 2.703 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004621/0.1279, allocations: 51.83 kB / 482.4 MB, free: 2.652 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003363/0.1283, allocations: 87.72 kB / 482.5 MB, free: 2.566 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002002/0.1285, allocations: 55.89 kB / 482.6 MB, free: 2.512 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002007/0.1287, allocations: 119.6 kB / 482.7 MB, free: 2.395 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001178/0.1289, allocations: 8 kB / 482.7 MB, free: 2.387 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.778e-05/0.129, allocations: 43.8 kB / 482.8 MB, free: 2.344 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.034e-05/0.1291, allocations: 39.77 kB / 482.8 MB, free: 2.305 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.551e-05/0.1291, allocations: 4 kB / 482.8 MB, free: 2.301 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001169/0.1292, allocations: 47.92 kB / 482.8 MB, free: 2.254 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.401e-05/0.1293, allocations: 31.86 kB / 482.9 MB, free: 2.223 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.938e-05/0.1294, allocations: 47.66 kB / 482.9 MB, free: 2.176 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002205/0.1296, allocations: 135.8 kB / 483.1 MB, free: 2.043 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.688e-06/0.1296, allocations: 0 / 483.1 MB, free: 2.043 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.1296, allocations: 4 kB / 483.1 MB, free: 2.039 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.932e-06/0.1296, allocations: 0 / 483.1 MB, free: 2.039 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.0006657/0.1303, allocations: 442.7 kB / 483.5 MB, free: 1.559 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.673e-05/0.1303, allocations: 8.031 kB / 483.5 MB, free: 1.551 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.851e-05/0.1304, allocations: 34.75 kB / 483.5 MB, free: 1.508 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.862e-05/0.1305, allocations: 16.69 kB / 483.5 MB, free: 1.492 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002518/0.1307, allocations: 221 kB / 483.8 MB, free: 1.238 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.662e-05/0.1307, allocations: 8.359 kB / 483.8 MB, free: 1.23 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.927e-05/0.1308, allocations: 3.938 kB / 483.8 MB, free: 1.227 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001499/0.1309, allocations: 61.67 kB / 483.8 MB, free: 1.16 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.31e-05/0.1309, allocations: 0 / 483.8 MB, free: 1.16 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.908e-06/0.131, allocations: 0 / 483.8 MB, free: 1.16 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.131, allocations: 4 kB / 483.8 MB, free: 1.156 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.855e-05/0.1311, allocations: 15.98 kB / 483.9 MB, free: 1.141 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003892/0.1315, allocations: 296.8 kB / 484.1 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001726/0.1316, allocations: 66.66 kB / 484.2 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.713e-05/0.1317, allocations: 24.78 kB / 484.2 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.351e-05/0.1317, allocations: 0 / 484.2 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002173/0.132, allocations: 71.33 kB / 484.3 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.403e-06/0.132, allocations: 0 / 484.3 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005615/0.1325, allocations: 189 kB / 484.5 MB, free: 436 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.332e-05/0.1326, allocations: 51.41 kB / 484.5 MB, free: 372 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002285/0.1328, allocations: 270.9 kB / 484.8 MB, free: 88 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.592e-05/0.1328, allocations: 29.7 kB / 484.8 MB, free: 52 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.877e-05/0.1329, allocations: 112.1 kB / 484.9 MB, free: 15.94 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.1e-05/0.133, allocations: 31.62 kB / 485 MB, free: 15.91 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.933e-05/0.133, allocations: 21.72 kB / 485 MB, free: 15.88 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001172/0.1331, allocations: 326.8 kB / 485.3 MB, free: 15.55 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.925e-05/0.1332, allocations: 27.98 kB / 485.3 MB, free: 15.52 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.517e-05/0.1333, allocations: 33.7 kB / 485.4 MB, free: 15.48 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000116/0.1334, allocations: 61.64 kB / 485.4 MB, free: 15.42 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.1334, allocations: 0 / 485.4 MB, free: 15.42 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001768/0.1336, allocations: 101.7 kB / 485.5 MB, free: 15.31 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.1336, allocations: 6.656 kB / 485.5 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.1336, allocations: 8.125 kB / 485.5 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.1337, allocations: 0 / 485.5 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.331e-05/0.1338, allocations: 23.92 kB / 485.6 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.824e-06/0.1338, allocations: 3.984 kB / 485.6 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.623e-05/0.1338, allocations: 3.938 kB / 485.6 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.065e-06/0.1338, allocations: 4 kB / 485.6 MB, free: 15.27 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.0001131/0.134, allocations: 133.8 kB / 485.7 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.627e-05/0.134, allocations: 15.81 kB / 485.7 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.082e-05/0.134, allocations: 25.39 kB / 485.8 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.134, allocations: 4 kB / 485.8 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.1341, allocations: 384 / 485.8 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.1341, allocations: 3.938 kB / 485.8 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004505/0.1345, allocations: 407.2 kB / 486.2 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.1345, allocations: 4 kB / 486.2 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.48e-05/0.1346, allocations: 15.98 kB / 486.2 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.1346, allocations: 3.938 kB / 486.2 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.788e-06/0.1346, allocations: 32 / 486.2 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.711e-06/0.1346, allocations: 11.94 kB / 486.2 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.1346, allocations: 3.938 kB / 486.2 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002285/0.1349, allocations: 200.2 kB / 486.4 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.659e-05/0.1349, allocations: 89.02 kB / 486.5 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.437e-05/0.135, allocations: 11.92 kB / 486.5 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.9e-05/0.135, allocations: 0 / 486.5 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.719e-05/0.1351, allocations: 8 kB / 486.5 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.785e-05/0.1351, allocations: 11.98 kB / 486.5 MB, free: 14.23 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001621/0.1353, allocations: 200.4 kB / 486.7 MB, free: 14.04 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1353, allocations: 4 kB / 486.7 MB, free: 14.03 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002796/0.1356, allocations: 24 kB / 486.7 MB, free: 14.01 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.001583/0.1372, allocations: 1.082 MB / 487.8 MB, free: 13.06 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001905/0.1374, allocations: 63.91 kB / 487.9 MB, free: 13 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.1374, allocations: 4.062 kB / 487.9 MB, free: 12.99 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.61e-05/0.1375, allocations: 31.94 kB / 487.9 MB, free: 12.96 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003715/0.1378, allocations: 32.58 kB / 487.9 MB, free: 12.93 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002676/0.1405, allocations: 1.852 MB / 489.8 MB, free: 10.99 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003847/0.1409, allocations: 0.7158 MB / 490.5 MB, free: 10.25 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.22e-05/0.141, allocations: 12.88 kB / 490.5 MB, free: 10.23 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001111/0.1411, allocations: 43.42 kB / 490.6 MB, free: 10.19 MB / 366.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1411, allocations: 0 / 490.6 MB, free: 10.19 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01805/0.1592, allocations: 3.621 MB / 494.2 MB, free: 6.672 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000323/0.1596, allocations: 228.9 kB / 494.4 MB, free: 6.422 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.013/2.173, allocations: 4 kB / 494.4 MB, free: 6.418 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test1_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test1.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches