Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.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.Test42,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test42",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test42,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test42",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001515/0.001515, allocations: 115.1 kB / 17.33 MB, free: 5.984 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001582/0.001582, allocations: 205.8 kB / 18.27 MB, free: 5.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.524/1.524, allocations: 227.4 MB / 246.4 MB, free: 10.83 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.241/0.241, allocations: 46.1 MB / 343.8 MB, free: 11.79 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001397/0.001397, allocations: 88.16 kB / 417.2 MB, free: 20 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1174/0.1189, allocations: 62.44 MB / 479.6 MB, free: 5.535 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test42): time 0.003711/0.1226, allocations: 1.797 MB / 481.4 MB, free: 3.723 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001954/0.1246, allocations: 0.9979 MB / 482.4 MB, free: 2.719 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001068/0.1247, allocations: 0 / 482.4 MB, free: 2.719 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003017/0.125, allocations: 47.83 kB / 482.4 MB, free: 2.672 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003694/0.1254, allocations: 83.67 kB / 482.5 MB, free: 2.59 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002515/0.1257, allocations: 59.89 kB / 482.6 MB, free: 2.531 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002067/0.1259, allocations: 111.6 kB / 482.7 MB, free: 2.422 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000106/0.126, allocations: 12 kB / 482.7 MB, free: 2.41 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.518e-05/0.1261, allocations: 35.8 kB / 482.7 MB, free: 2.375 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.729e-05/0.1262, allocations: 43.77 kB / 482.8 MB, free: 2.332 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.568e-05/0.1263, allocations: 8 kB / 482.8 MB, free: 2.324 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001286/0.1264, allocations: 43.98 kB / 482.8 MB, free: 2.281 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.27e-05/0.1264, allocations: 23.86 kB / 482.9 MB, free: 2.258 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.67e-05/0.1265, allocations: 35.73 kB / 482.9 MB, free: 2.223 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002424/0.1268, allocations: 123.9 kB / 483 MB, free: 2.102 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.1268, allocations: 0 / 483 MB, free: 2.102 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.02e-07/0.1268, allocations: 0 / 483 MB, free: 2.102 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.985e-06/0.1268, allocations: 0 / 483 MB, free: 2.102 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.0006065/0.1274, allocations: 422.9 kB / 483.4 MB, free: 1.641 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.1274, allocations: 12.03 kB / 483.4 MB, free: 1.629 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.086e-05/0.1275, allocations: 34.75 kB / 483.5 MB, free: 1.586 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.887e-05/0.1275, allocations: 12.75 kB / 483.5 MB, free: 1.574 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002398/0.1278, allocations: 212 kB / 483.7 MB, free: 1.328 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.726e-06/0.1278, allocations: 384 / 483.7 MB, free: 1.328 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.146e-05/0.1278, allocations: 7.938 kB / 483.7 MB, free: 1.32 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001461/0.128, allocations: 53.67 kB / 483.8 MB, free: 1.262 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.128, allocations: 0 / 483.8 MB, free: 1.262 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.147e-06/0.128, allocations: 0 / 483.8 MB, free: 1.262 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.128, allocations: 4 kB / 483.8 MB, free: 1.258 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.778e-05/0.1281, allocations: 19.98 kB / 483.8 MB, free: 1.238 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003753/0.1285, allocations: 296.8 kB / 484.1 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001823/0.1287, allocations: 58.66 kB / 484.1 MB, free: 0.832 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.447e-05/0.1287, allocations: 24.84 kB / 484.1 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.848e-05/0.1288, allocations: 4 kB / 484.2 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002112/0.129, allocations: 63.39 kB / 484.2 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.473e-06/0.129, allocations: 0 / 484.2 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005612/0.1296, allocations: 181 kB / 484.4 MB, free: 0.543 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.54e-05/0.1296, allocations: 51.41 kB / 484.4 MB, free: 492 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002091/0.1298, allocations: 210.8 kB / 484.6 MB, free: 272 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.806e-05/0.1298, allocations: 33.64 kB / 484.7 MB, free: 232 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.801e-05/0.1299, allocations: 104.1 kB / 484.8 MB, free: 124 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.289e-05/0.13, allocations: 23.7 kB / 484.8 MB, free: 100 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.106e-05/0.13, allocations: 25.66 kB / 484.8 MB, free: 68 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001799/0.1302, allocations: 326.8 kB / 485.1 MB, free: 15.74 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.917e-05/0.1303, allocations: 19.98 kB / 485.2 MB, free: 15.72 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.669e-05/0.1303, allocations: 41.64 kB / 485.2 MB, free: 15.67 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001754/0.1305, allocations: 62.08 kB / 485.3 MB, free: 15.61 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.1305, allocations: 0 / 485.3 MB, free: 15.61 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000183/0.1307, allocations: 105.4 kB / 485.4 MB, free: 15.5 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.1307, allocations: 8 kB / 485.4 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.1308, allocations: 4.156 kB / 485.4 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.1308, allocations: 0 / 485.4 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.123e-05/0.1309, allocations: 19.92 kB / 485.4 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.255e-06/0.1309, allocations: 7.984 kB / 485.4 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.92e-05/0.1309, allocations: 11.91 kB / 485.4 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.615e-06/0.1309, allocations: 4 kB / 485.4 MB, free: 15.44 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.0001692/0.1311, allocations: 125.8 kB / 485.6 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.606e-05/0.1312, allocations: 11.91 kB / 485.6 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.116e-05/0.1312, allocations: 13.41 kB / 485.6 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.1312, allocations: 4 kB / 485.6 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.1312, allocations: 0 / 485.6 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.774e-06/0.1312, allocations: 7.922 kB / 485.6 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004744/0.1317, allocations: 399.2 kB / 486 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.1317, allocations: 0 / 486 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.273e-05/0.1318, allocations: 8 kB / 486 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.987e-06/0.1318, allocations: 3.938 kB / 486 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.218e-05/0.1318, allocations: 11.98 kB / 486 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.1318, allocations: 0 / 486 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1318, allocations: 0 / 486 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002281/0.132, allocations: 200.3 kB / 486.2 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.962e-05/0.1321, allocations: 88.92 kB / 486.3 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.585e-05/0.1321, allocations: 7.938 kB / 486.3 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.968e-05/0.1322, allocations: 4 kB / 486.3 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.413e-05/0.1322, allocations: 7.984 kB / 486.3 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.979e-05/0.1323, allocations: 4 kB / 486.3 MB, free: 14.45 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001329/0.1324, allocations: 156.3 kB / 486.5 MB, free: 14.3 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1324, allocations: 0 / 486.5 MB, free: 14.3 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003207/0.1327, allocations: 27.98 kB / 486.5 MB, free: 14.27 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.001636/0.1344, allocations: 1.093 MB / 487.6 MB, free: 13.32 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002569/0.1346, allocations: 59.91 kB / 487.6 MB, free: 13.26 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.1347, allocations: 0 / 487.6 MB, free: 13.26 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.234e-05/0.1347, allocations: 27.98 kB / 487.7 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.0003208/0.1351, allocations: 39.72 kB / 487.7 MB, free: 13.2 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002139/0.1372, allocations: 1.714 MB / 489.4 MB, free: 11.39 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003421/0.1376, allocations: 0.7041 MB / 490.1 MB, free: 10.66 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.611e-05/0.1376, allocations: 12.55 kB / 490.1 MB, free: 10.65 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.585e-05/0.1377, allocations: 39.42 kB / 490.2 MB, free: 10.61 MB / 366.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1377, allocations: 0 / 490.2 MB, free: 10.61 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0444/0.1821, allocations: 3.343 MB / 493.5 MB, free: 7.379 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002146/0.1824, allocations: 238.2 kB / 493.7 MB, free: 7.121 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.014/2.196, allocations: 0 / 493.7 MB, free: 7.121 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test42_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test42.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test42/Test42.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches