Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.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.Test27,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test27",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test27,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test27",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00131/0.00131, allocations: 114.1 kB / 17.33 MB, free: 6.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001429/0.001429, allocations: 213.8 kB / 18.27 MB, free: 5.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.586/1.586, allocations: 227.4 MB / 246.4 MB, free: 10.78 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2307/0.2307, allocations: 46.1 MB / 343.8 MB, free: 11.75 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001382/0.001382, allocations: 78.69 kB / 417.2 MB, free: 19.97 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1194/0.1208, allocations: 62.45 MB / 479.6 MB, free: 5.5 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test27): time 0.002648/0.1235, allocations: 1.789 MB / 481.4 MB, free: 3.695 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001397/0.1249, allocations: 1.006 MB / 482.4 MB, free: 2.684 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.282e-05/0.125, allocations: 0 / 482.4 MB, free: 2.684 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002055/0.1252, allocations: 43.83 kB / 482.4 MB, free: 2.641 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002449/0.1254, allocations: 79.73 kB / 482.5 MB, free: 2.562 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001779/0.1256, allocations: 59.88 kB / 482.6 MB, free: 2.504 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001291/0.1258, allocations: 103.7 kB / 482.7 MB, free: 2.402 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.081e-05/0.1258, allocations: 16 kB / 482.7 MB, free: 2.387 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.644e-05/0.1259, allocations: 47.72 kB / 482.7 MB, free: 2.34 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.769e-05/0.126, allocations: 35.78 kB / 482.8 MB, free: 2.305 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.276e-05/0.126, allocations: 4 kB / 482.8 MB, free: 2.301 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.232e-05/0.1261, allocations: 43.98 kB / 482.8 MB, free: 2.258 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.829e-05/0.1261, allocations: 19.92 kB / 482.8 MB, free: 2.238 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.337e-05/0.1262, allocations: 43.66 kB / 482.9 MB, free: 2.195 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001608/0.1264, allocations: 119.9 kB / 483 MB, free: 2.078 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.505e-06/0.1264, allocations: 4 kB / 483 MB, free: 2.074 MB / 350.1 MB Notification: Performance of FrontEnd: time 6.91e-07/0.1264, allocations: 0 / 483 MB, free: 2.074 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.347e-06/0.1264, allocations: 0 / 483 MB, free: 2.074 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.0003966/0.1268, allocations: 414.9 kB / 483.4 MB, free: 1.621 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.881e-05/0.1268, allocations: 12.03 kB / 483.4 MB, free: 1.609 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.84e-05/0.1269, allocations: 30.75 kB / 483.5 MB, free: 1.57 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.006e-05/0.1269, allocations: 8.844 kB / 483.5 MB, free: 1.562 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001802/0.1271, allocations: 214.6 kB / 483.7 MB, free: 1.316 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.02e-05/0.1271, allocations: 4.375 kB / 483.7 MB, free: 1.312 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.42e-05/0.1271, allocations: 11.88 kB / 483.7 MB, free: 1.301 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001156/0.1272, allocations: 53.67 kB / 483.7 MB, free: 1.242 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.1273, allocations: 3.906 kB / 483.7 MB, free: 1.238 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.854e-06/0.1273, allocations: 0 / 483.7 MB, free: 1.238 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.665e-06/0.1273, allocations: 4 kB / 483.8 MB, free: 1.234 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.191e-05/0.1273, allocations: 15.98 kB / 483.8 MB, free: 1.219 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002851/0.1276, allocations: 288.9 kB / 484 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001448/0.1278, allocations: 70.55 kB / 484.1 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.624e-05/0.1278, allocations: 20.84 kB / 484.1 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.406e-05/0.1279, allocations: 0 / 484.1 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000171/0.128, allocations: 71.39 kB / 484.2 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.393e-06/0.1281, allocations: 0 / 484.2 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004339/0.1285, allocations: 177.2 kB / 484.4 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.326e-05/0.1285, allocations: 51.41 kB / 484.4 MB, free: 472 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001579/0.1287, allocations: 198.7 kB / 484.6 MB, free: 264 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.406e-05/0.1287, allocations: 29.7 kB / 484.7 MB, free: 228 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.237e-05/0.1288, allocations: 96.14 kB / 484.7 MB, free: 128 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.434e-05/0.1288, allocations: 23.7 kB / 484.8 MB, free: 104 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.384e-05/0.1288, allocations: 21.72 kB / 484.8 MB, free: 76 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001113/0.129, allocations: 330.8 kB / 485.1 MB, free: 15.74 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.489e-05/0.129, allocations: 23.94 kB / 485.1 MB, free: 15.72 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.603e-05/0.1291, allocations: 33.7 kB / 485.2 MB, free: 15.68 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001027/0.1292, allocations: 65.75 kB / 485.2 MB, free: 15.61 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.1292, allocations: 0 / 485.2 MB, free: 15.61 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001668/0.1294, allocations: 101.4 kB / 485.3 MB, free: 15.5 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.074e-05/0.1294, allocations: 8.031 kB / 485.3 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.086e-06/0.1294, allocations: 0 / 485.3 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.796e-06/0.1294, allocations: 4 kB / 485.3 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.108e-05/0.1295, allocations: 15.98 kB / 485.4 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.477e-06/0.1295, allocations: 0 / 485.4 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.376e-05/0.1295, allocations: 11.94 kB / 485.4 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.581e-06/0.1296, allocations: 0 / 485.4 MB, free: 15.46 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 8.964e-05/0.1296, allocations: 136.4 kB / 485.5 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.263e-05/0.1297, allocations: 7.906 kB / 485.5 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.405e-05/0.1297, allocations: 29.33 kB / 485.5 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.1297, allocations: 4 kB / 485.5 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.504e-06/0.1297, allocations: 0 / 485.5 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.1297, allocations: 3.938 kB / 485.6 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003795/0.1301, allocations: 395.2 kB / 485.9 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.1301, allocations: 0 / 485.9 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.161e-05/0.1302, allocations: 11.98 kB / 485.9 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.526e-06/0.1302, allocations: 3.938 kB / 486 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.684e-06/0.1302, allocations: 4.031 kB / 486 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.1302, allocations: 4.188 kB / 486 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.1302, allocations: 0 / 486 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002027/0.1304, allocations: 204.2 kB / 486.2 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.528e-05/0.1305, allocations: 89.3 kB / 486.2 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.309e-05/0.1305, allocations: 7.922 kB / 486.3 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.829e-05/0.1306, allocations: 12 kB / 486.3 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.19e-05/0.1306, allocations: 8 kB / 486.3 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.151e-05/0.1306, allocations: 3.984 kB / 486.3 MB, free: 14.45 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001152/0.1307, allocations: 152.8 kB / 486.4 MB, free: 14.3 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1307, allocations: 0 / 486.4 MB, free: 14.3 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002336/0.131, allocations: 23.98 kB / 486.5 MB, free: 14.28 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.001221/0.1322, allocations: 1.083 MB / 487.5 MB, free: 13.33 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001523/0.1324, allocations: 71.89 kB / 487.6 MB, free: 13.26 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.1324, allocations: 4 kB / 487.6 MB, free: 13.26 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.029e-05/0.1324, allocations: 23.98 kB / 487.6 MB, free: 13.23 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002943/0.1327, allocations: 30.23 kB / 487.7 MB, free: 13.21 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00145/0.1342, allocations: 1.663 MB / 489.3 MB, free: 11.45 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002253/0.1344, allocations: 0.7041 MB / 490 MB, free: 10.72 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.061e-05/0.1345, allocations: 16.88 kB / 490 MB, free: 10.71 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.628e-05/0.1346, allocations: 35.42 kB / 490.1 MB, free: 10.67 MB / 366.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1346, allocations: 3.938 kB / 490.1 MB, free: 10.67 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01782/0.1524, allocations: 3.283 MB / 493.4 MB, free: 7.496 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001851/0.1526, allocations: 234.2 kB / 493.6 MB, free: 7.242 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.906/2.059, allocations: 0 / 493.6 MB, free: 7.242 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test27_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test27.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test27/Test27.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches