Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.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.Test28,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test28",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test28,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test28",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001836/0.001837, allocations: 108.5 kB / 17.32 MB, free: 5.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001958/0.001959, allocations: 201.8 kB / 18.26 MB, free: 4.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.516/1.516, allocations: 227.4 MB / 246.4 MB, free: 10.77 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2245/0.2245, allocations: 46.1 MB / 343.8 MB, free: 11.75 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001452/0.001452, allocations: 80.88 kB / 417.2 MB, free: 19.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.122/0.1235, allocations: 62.45 MB / 479.6 MB, free: 5.512 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test28): time 0.003252/0.1268, allocations: 1.789 MB / 481.4 MB, free: 3.707 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0018/0.1286, allocations: 1.009 MB / 482.4 MB, free: 2.691 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.803e-05/0.1287, allocations: 4 kB / 482.4 MB, free: 2.688 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002654/0.129, allocations: 39.84 kB / 482.4 MB, free: 2.648 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003555/0.1294, allocations: 79.73 kB / 482.5 MB, free: 2.57 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002564/0.1297, allocations: 63.88 kB / 482.6 MB, free: 2.508 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001817/0.1299, allocations: 99.64 kB / 482.7 MB, free: 2.41 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.505e-05/0.13, allocations: 15.98 kB / 482.7 MB, free: 2.395 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.105e-05/0.1301, allocations: 43.78 kB / 482.7 MB, free: 2.352 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.814e-05/0.1302, allocations: 39.78 kB / 482.8 MB, free: 2.312 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.442e-05/0.1302, allocations: 4 kB / 482.8 MB, free: 2.309 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001231/0.1303, allocations: 40 kB / 482.8 MB, free: 2.27 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.305e-05/0.1304, allocations: 31.83 kB / 482.9 MB, free: 2.238 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.048e-05/0.1304, allocations: 31.75 kB / 482.9 MB, free: 2.207 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002095/0.1306, allocations: 119.9 kB / 483 MB, free: 2.09 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.1306, allocations: 0 / 483 MB, free: 2.09 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1307, allocations: 0 / 483 MB, free: 2.09 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.929e-06/0.1307, allocations: 0 / 483 MB, free: 2.09 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.0005017/0.1312, allocations: 418.9 kB / 483.4 MB, free: 1.633 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.37e-05/0.1312, allocations: 12.03 kB / 483.4 MB, free: 1.621 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.099e-05/0.1313, allocations: 30.75 kB / 483.5 MB, free: 1.582 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.61e-05/0.1313, allocations: 8.844 kB / 483.5 MB, free: 1.574 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002117/0.1315, allocations: 222.5 kB / 483.7 MB, free: 1.32 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.262e-05/0.1315, allocations: 4.375 kB / 483.7 MB, free: 1.316 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.562e-05/0.1316, allocations: 3.938 kB / 483.7 MB, free: 1.312 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001236/0.1317, allocations: 53.67 kB / 483.7 MB, free: 1.254 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.1317, allocations: 7.891 kB / 483.7 MB, free: 1.246 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.859e-06/0.1317, allocations: 4 kB / 483.7 MB, free: 1.242 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.446e-06/0.1317, allocations: 4 kB / 483.8 MB, free: 1.238 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.693e-05/0.1318, allocations: 15.98 kB / 483.8 MB, free: 1.223 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003231/0.1321, allocations: 292.8 kB / 484.1 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001485/0.1323, allocations: 54.62 kB / 484.1 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.98e-05/0.1324, allocations: 24.84 kB / 484.1 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.505e-05/0.1324, allocations: 0 / 484.1 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001731/0.1326, allocations: 71.39 kB / 484.2 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.392e-06/0.1326, allocations: 0 / 484.2 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004834/0.1331, allocations: 173.2 kB / 484.4 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.588e-05/0.1331, allocations: 51.41 kB / 484.4 MB, free: 488 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002009/0.1333, allocations: 198.7 kB / 484.6 MB, free: 280 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.886e-05/0.1333, allocations: 33.7 kB / 484.6 MB, free: 240 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.422e-05/0.1334, allocations: 100.1 kB / 484.7 MB, free: 136 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.97e-05/0.1334, allocations: 27.64 kB / 484.8 MB, free: 108 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.448e-05/0.1335, allocations: 25.7 kB / 484.8 MB, free: 76 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001299/0.1336, allocations: 326.8 kB / 485.1 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.949e-05/0.1337, allocations: 19.98 kB / 485.1 MB, free: 15.73 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.521e-05/0.1338, allocations: 33.7 kB / 485.2 MB, free: 15.69 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001059/0.1339, allocations: 57.72 kB / 485.2 MB, free: 15.62 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.1339, allocations: 0 / 485.2 MB, free: 15.62 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001851/0.1341, allocations: 105.4 kB / 485.3 MB, free: 15.52 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.1341, allocations: 4 kB / 485.3 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.459e-06/0.1341, allocations: 0 / 485.3 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.125e-05/0.1341, allocations: 4 kB / 485.3 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.321e-05/0.1342, allocations: 12 kB / 485.3 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.8e-06/0.1342, allocations: 11.95 kB / 485.4 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.144e-05/0.1343, allocations: 15.92 kB / 485.4 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.553e-06/0.1343, allocations: 0 / 485.4 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 9.99e-05/0.1344, allocations: 125.8 kB / 485.5 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.573e-05/0.1345, allocations: 15.83 kB / 485.5 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.291e-05/0.1345, allocations: 13.41 kB / 485.5 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.1345, allocations: 4 kB / 485.5 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.1345, allocations: 0 / 485.5 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.1345, allocations: 3.938 kB / 485.5 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004299/0.135, allocations: 403.2 kB / 485.9 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.135, allocations: 0 / 485.9 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.405e-05/0.135, allocations: 8 kB / 485.9 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.135, allocations: 3.938 kB / 485.9 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.037e-05/0.135, allocations: 4.188 kB / 485.9 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.1351, allocations: 0 / 485.9 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1351, allocations: 3.938 kB / 485.9 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002255/0.1353, allocations: 212.5 kB / 486.2 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.218e-05/0.1353, allocations: 88.92 kB / 486.2 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.554e-05/0.1354, allocations: 4.312 kB / 486.2 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.826e-05/0.1355, allocations: 4 kB / 486.3 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.379e-05/0.1355, allocations: 11.98 kB / 486.3 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.261e-05/0.1355, allocations: 4 kB / 486.3 MB, free: 14.47 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001152/0.1356, allocations: 156.7 kB / 486.4 MB, free: 14.32 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1356, allocations: 4 kB / 486.4 MB, free: 14.31 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002414/0.1359, allocations: 20 kB / 486.4 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.00137/0.1373, allocations: 1.093 MB / 487.5 MB, free: 13.34 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001645/0.1374, allocations: 63.92 kB / 487.6 MB, free: 13.28 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.1375, allocations: 0 / 487.6 MB, free: 13.28 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.227e-05/0.1375, allocations: 23.98 kB / 487.6 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.0003119/0.1378, allocations: 35.05 kB / 487.7 MB, free: 13.22 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00163/0.1395, allocations: 1.671 MB / 489.3 MB, free: 11.46 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002588/0.1398, allocations: 0.708 MB / 490 MB, free: 10.72 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.286e-05/0.1398, allocations: 13.19 kB / 490 MB, free: 10.71 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.319e-05/0.1399, allocations: 43.41 kB / 490.1 MB, free: 10.67 MB / 366.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1399, allocations: 0 / 490.1 MB, free: 10.67 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01321/0.1531, allocations: 3.272 MB / 493.4 MB, free: 7.512 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002331/0.1534, allocations: 234.2 kB / 493.6 MB, free: 7.258 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.93/2.084, allocations: 0 / 493.6 MB, free: 7.258 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test28_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test28.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test28/Test28.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches