Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.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.Test81,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test81",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test81,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test81",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001553/0.001553, allocations: 106.7 kB / 17.33 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001547/0.001546, allocations: 205.8 kB / 18.27 MB, free: 5.074 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.457/1.457, allocations: 227.4 MB / 246.4 MB, free: 9.152 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2141/0.2141, allocations: 46.1 MB / 343.8 MB, free: 11.55 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001577/0.001577, allocations: 79.12 kB / 417.2 MB, free: 19.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1245/0.1261, allocations: 62.44 MB / 479.6 MB, free: 5.492 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.003973/0.1301, allocations: 1.889 MB / 481.5 MB, free: 3.59 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002234/0.1324, allocations: 1.663 MB / 483.2 MB, free: 1.918 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.942e-05/0.1325, allocations: 4 kB / 483.2 MB, free: 1.914 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002965/0.1328, allocations: 47.7 kB / 483.2 MB, free: 1.867 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003943/0.1332, allocations: 119.6 kB / 483.3 MB, free: 1.75 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000254/0.1335, allocations: 95.78 kB / 483.4 MB, free: 1.656 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002654/0.1337, allocations: 203.4 kB / 483.6 MB, free: 1.457 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.345e-05/0.1338, allocations: 9.688 kB / 483.6 MB, free: 1.449 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001274/0.1339, allocations: 83.64 kB / 483.7 MB, free: 1.367 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002317/0.1342, allocations: 91.53 kB / 483.8 MB, free: 1.277 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.493e-05/0.1342, allocations: 12 kB / 483.8 MB, free: 1.266 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001862/0.1344, allocations: 103.9 kB / 483.9 MB, free: 1.164 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.955e-05/0.1345, allocations: 39.83 kB / 483.9 MB, free: 1.125 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.986e-05/0.1345, allocations: 67.61 kB / 484 MB, free: 1.059 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003121/0.1349, allocations: 227.6 kB / 484.2 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.1349, allocations: 0 / 484.2 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.1349, allocations: 0 / 484.2 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.091e-06/0.1349, allocations: 0 / 484.2 MB, free: 0.8359 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006783/0.1356, allocations: 490.6 kB / 484.7 MB, free: 316 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/0.1356, allocations: 12.03 kB / 484.7 MB, free: 304 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.146e-05/0.1357, allocations: 34.73 kB / 484.8 MB, free: 260 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.637e-05/0.1357, allocations: 24.66 kB / 484.8 MB, free: 236 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002983/0.136, allocations: 261 kB / 485 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.762e-05/0.1361, allocations: 8.359 kB / 485 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.456e-05/0.1361, allocations: 7.938 kB / 485.1 MB, free: 15.92 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002091/0.1363, allocations: 89.09 kB / 485.1 MB, free: 15.81 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.266e-06/0.1363, allocations: 0 / 485.1 MB, free: 15.81 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.709e-05/0.1363, allocations: 11.98 kB / 485.2 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.147e-06/0.1363, allocations: 0 / 485.2 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001042/0.1365, allocations: 31.92 kB / 485.2 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002314/0.1367, allocations: 226.4 kB / 485.4 MB, free: 15.5 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002677/0.137, allocations: 113.1 kB / 485.5 MB, free: 15.37 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001304/0.1371, allocations: 41.7 kB / 485.6 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.154e-05/0.1372, allocations: 3.984 kB / 485.6 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003171/0.1375, allocations: 105 kB / 485.7 MB, free: 15.2 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.883e-06/0.1375, allocations: 0 / 485.7 MB, free: 15.2 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.000613/0.1381, allocations: 165.5 kB / 485.8 MB, free: 15.03 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001055/0.1382, allocations: 132.5 kB / 486 MB, free: 14.87 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000374/0.1386, allocations: 237.6 kB / 486.2 MB, free: 14.62 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.776e-05/0.1387, allocations: 33.64 kB / 486.2 MB, free: 14.58 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.82e-05/0.1388, allocations: 116.1 kB / 486.3 MB, free: 14.46 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.397e-05/0.1388, allocations: 27.64 kB / 486.4 MB, free: 14.44 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.244e-05/0.1389, allocations: 33.7 kB / 486.4 MB, free: 14.4 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000148/0.1391, allocations: 330.8 kB / 486.7 MB, free: 14.07 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000124/0.1392, allocations: 31.92 kB / 486.7 MB, free: 14.04 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000162/0.1394, allocations: 73.12 kB / 486.8 MB, free: 13.95 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002539/0.1397, allocations: 91.89 kB / 486.9 MB, free: 13.84 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.08e-06/0.1397, allocations: 3.938 kB / 486.9 MB, free: 13.84 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000419/0.1401, allocations: 137.3 kB / 487 MB, free: 13.7 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.191e-05/0.1401, allocations: 7.984 kB / 487.1 MB, free: 13.69 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.1402, allocations: 0 / 487.1 MB, free: 13.69 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.816e-05/0.1402, allocations: 4 kB / 487.1 MB, free: 13.69 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001523/0.1403, allocations: 19.94 kB / 487.1 MB, free: 13.67 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.063e-05/0.1404, allocations: 7.984 kB / 487.1 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001281/0.1405, allocations: 12.06 kB / 487.1 MB, free: 13.65 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.532e-05/0.1405, allocations: 4 kB / 487.1 MB, free: 13.64 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (14): * Single equations (assignments): 14 * 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.000208/0.1407, allocations: 142.2 kB / 487.2 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.968e-05/0.1408, allocations: 19.72 kB / 487.3 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.698e-05/0.1409, allocations: 24.98 kB / 487.3 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.1409, allocations: 0 / 487.3 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.1409, allocations: 0 / 487.3 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.1409, allocations: 0 / 487.3 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002291/0.1411, allocations: 233.4 kB / 487.5 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.1412, allocations: 0 / 487.5 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.555e-05/0.1412, allocations: 8 kB / 487.5 MB, free: 13.17 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-06/0.1412, allocations: 0 / 487.5 MB, free: 13.17 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.932e-05/0.1413, allocations: 7.984 kB / 487.5 MB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.108e-06/0.1413, allocations: 4 kB / 487.5 MB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.1413, allocations: 0 / 487.5 MB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004103/0.1417, allocations: 169.6 kB / 487.7 MB, free: 12.97 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.301e-05/0.1418, allocations: 92.91 kB / 487.8 MB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.117e-05/0.1418, allocations: 8 kB / 487.8 MB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000103/0.1419, allocations: 4 kB / 487.8 MB, free: 12.85 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.009e-05/0.142, allocations: 11.98 kB / 487.8 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.286e-05/0.1421, allocations: 4 kB / 487.8 MB, free: 12.84 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002581/0.1423, allocations: 180.5 kB / 488 MB, free: 12.66 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.1423, allocations: 3.938 kB / 488 MB, free: 12.66 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004413/0.1428, allocations: 51.94 kB / 488 MB, free: 12.61 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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEventScaled,t_new.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002399/0.1452, allocations: 1.107 MB / 489.2 MB, free: 11.63 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003129/0.1455, allocations: 79.91 kB / 489.2 MB, free: 11.55 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.1455, allocations: 0 / 489.2 MB, free: 11.55 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001389/0.1457, allocations: 48.05 kB / 489.3 MB, free: 11.5 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00055/0.1463, allocations: 71.05 kB / 489.3 MB, free: 11.44 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002976/0.1492, allocations: 1.892 MB / 491.2 MB, free: 9.441 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005113/0.1498, allocations: 0.7242 MB / 492 MB, free: 8.691 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001445/0.1499, allocations: 38.02 kB / 492 MB, free: 8.656 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000202/0.1501, allocations: 63.41 kB / 492.1 MB, free: 8.594 MB / 366.1 MB Notification: Performance of SimCode: time 5.31e-07/0.1502, allocations: 0 / 492.1 MB, free: 8.594 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02017/0.1703, allocations: 5.118 MB / 497.2 MB, free: 3.594 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001971/0.1706, allocations: 245.6 kB / 497.4 MB, free: 3.332 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.888/2.059, allocations: 0 / 497.4 MB, free: 3.332 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test81_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test81.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test81/Test81.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches