Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.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.Test52,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test52",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test52,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test52",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007786/0.0007786, allocations: 96.58 kB / 17.35 MB, free: 6.027 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001027/0.001027, allocations: 203.3 kB / 18.29 MB, free: 5.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.528/1.528, allocations: 227.7 MB / 246.8 MB, free: 11.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.212/0.212, allocations: 46.19 MB / 345.2 MB, free: 11.37 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003676/0.0003681, allocations: 12.38 kB / 419.6 MB, free: 19.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.123/0.1234, allocations: 63.56 MB / 483.2 MB, free: 4.035 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test52): time 0.002478/0.1259, allocations: 1.454 MB / 484.6 MB, free: 2.57 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00159/0.1275, allocations: 0.9863 MB / 485.6 MB, free: 1.578 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.322e-05/0.1276, allocations: 0 / 485.6 MB, free: 1.578 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002953/0.1279, allocations: 55.8 kB / 485.7 MB, free: 1.523 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002353/0.1282, allocations: 71.75 kB / 485.8 MB, free: 1.453 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001732/0.1283, allocations: 67.81 kB / 485.8 MB, free: 1.387 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001847/0.1285, allocations: 99.69 kB / 485.9 MB, free: 1.289 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001202/0.1287, allocations: 19.98 kB / 485.9 MB, free: 1.27 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001011/0.1288, allocations: 39.78 kB / 486 MB, free: 1.23 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.222e-05/0.1289, allocations: 31.8 kB / 486 MB, free: 1.199 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.507e-05/0.1289, allocations: 4 kB / 486 MB, free: 1.195 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001038/0.129, allocations: 47.91 kB / 486.1 MB, free: 1.148 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.109e-05/0.1291, allocations: 19.92 kB / 486.1 MB, free: 1.129 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.003e-05/0.1292, allocations: 65.38 kB / 486.1 MB, free: 1.059 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001958/0.1294, allocations: 119.9 kB / 486.3 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.1294, allocations: 4 kB / 486.3 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1294, allocations: 4 kB / 486.3 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.921e-06/0.1294, allocations: 0 / 486.3 MB, free: 0.9336 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.0005674/0.13, allocations: 418.9 kB / 486.7 MB, free: 488 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.656e-05/0.13, allocations: 8.875 kB / 486.7 MB, free: 480 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.599e-05/0.1301, allocations: 34.69 kB / 486.7 MB, free: 436 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.859e-05/0.1301, allocations: 16.75 kB / 486.7 MB, free: 420 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002145/0.1303, allocations: 216.8 kB / 486.9 MB, free: 160 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.15e-05/0.1304, allocations: 384 / 486.9 MB, free: 160 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.722e-05/0.1304, allocations: 11.94 kB / 487 MB, free: 148 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001317/0.1305, allocations: 57.66 kB / 487 MB, free: 84 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.1305, allocations: 0 / 487 MB, free: 84 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.608e-06/0.1306, allocations: 0 / 487 MB, free: 84 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.1306, allocations: 4 kB / 487 MB, free: 80 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.888e-05/0.1306, allocations: 15.98 kB / 487 MB, free: 64 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003674/0.131, allocations: 300.8 kB / 487.3 MB, free: 15.72 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001587/0.1312, allocations: 62.67 kB / 487.4 MB, free: 15.65 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.996e-05/0.1312, allocations: 16.86 kB / 487.4 MB, free: 15.63 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.148e-05/0.1313, allocations: 7.984 kB / 487.4 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001609/0.1314, allocations: 71.31 kB / 487.5 MB, free: 15.54 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.322e-06/0.1314, allocations: 0 / 487.5 MB, free: 15.54 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005173/0.132, allocations: 181.1 kB / 487.7 MB, free: 15.36 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.371e-05/0.132, allocations: 51.41 kB / 487.7 MB, free: 15.29 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002033/0.1322, allocations: 242.1 kB / 487.9 MB, free: 15.05 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.521e-05/0.1322, allocations: 29.7 kB / 488 MB, free: 15.01 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.631e-05/0.1323, allocations: 104.1 kB / 488.1 MB, free: 14.91 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.427e-05/0.1324, allocations: 27.64 kB / 488.1 MB, free: 14.88 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.361e-05/0.1324, allocations: 13.72 kB / 488.1 MB, free: 14.86 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001017/0.1325, allocations: 330.8 kB / 488.4 MB, free: 14.53 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.437e-05/0.1325, allocations: 24 kB / 488.5 MB, free: 14.5 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.405e-05/0.1326, allocations: 33.7 kB / 488.5 MB, free: 14.46 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001103/0.1327, allocations: 65.64 kB / 488.6 MB, free: 14.39 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.1328, allocations: 0 / 488.6 MB, free: 14.39 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001697/0.1329, allocations: 105.5 kB / 488.7 MB, free: 14.29 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.133, allocations: 4 kB / 488.7 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.133, allocations: 8.031 kB / 488.7 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.035e-05/0.133, allocations: 0 / 488.7 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.504e-05/0.1331, allocations: 19.92 kB / 488.7 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.1331, allocations: 0 / 488.7 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.723e-05/0.1331, allocations: 8.125 kB / 488.7 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.825e-06/0.1331, allocations: 4 kB / 488.7 MB, free: 14.24 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.346e-05/0.1332, allocations: 133.8 kB / 488.8 MB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.9e-05/0.1333, allocations: 11.81 kB / 488.8 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.211e-05/0.1333, allocations: 21.39 kB / 488.9 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.1333, allocations: 4 kB / 488.9 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.1333, allocations: 0 / 488.9 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.1333, allocations: 7.938 kB / 488.9 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003959/0.1337, allocations: 399.3 kB / 489.3 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.1338, allocations: 0 / 489.3 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.124e-05/0.1338, allocations: 8 kB / 489.3 MB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.407e-06/0.1338, allocations: 3.938 kB / 489.3 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.167e-06/0.1338, allocations: 4 kB / 489.3 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.1338, allocations: 7.969 kB / 489.3 MB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.1338, allocations: 4.359 kB / 489.3 MB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002024/0.134, allocations: 204.2 kB / 489.5 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.641e-05/0.1341, allocations: 88.92 kB / 489.6 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.843e-05/0.1341, allocations: 11.94 kB / 489.6 MB, free: 13.24 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.073e-05/0.1342, allocations: 7.984 kB / 489.6 MB, free: 13.23 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.277e-05/0.1343, allocations: 8 kB / 489.6 MB, free: 13.23 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.293e-05/0.1343, allocations: 0 / 489.6 MB, free: 13.23 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001328/0.1344, allocations: 180.4 kB / 489.8 MB, free: 13.05 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1344, allocations: 0 / 489.8 MB, free: 13.05 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002489/0.1347, allocations: 20 kB / 489.8 MB, free: 13.03 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.001342/0.136, allocations: 1.083 MB / 490.9 MB, free: 12.08 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001646/0.1362, allocations: 67.89 kB / 491 MB, free: 12.02 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.1362, allocations: 4.062 kB / 491 MB, free: 12.01 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.519e-05/0.1363, allocations: 23.98 kB / 491 MB, free: 11.99 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003388/0.1366, allocations: 35.91 kB / 491 MB, free: 11.95 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001689/0.1383, allocations: 1.755 MB / 492.8 MB, free: 10.11 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002407/0.1386, allocations: 0.7082 MB / 493.5 MB, free: 9.375 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.985e-05/0.1386, allocations: 20.88 kB / 493.5 MB, free: 9.355 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.485e-05/0.1387, allocations: 39.42 kB / 493.5 MB, free: 9.316 MB / 366.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1387, allocations: 0 / 493.5 MB, free: 9.316 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01267/0.1514, allocations: 3.168 MB / 496.7 MB, free: 6.277 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001992/0.1516, allocations: 239.3 kB / 496.9 MB, free: 6.023 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.757/1.908, allocations: 0 / 496.9 MB, free: 6.023 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test52_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test52.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test52/Test52.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches