Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.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.Test2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001698/0.001697, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001987/0.001987, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.39/1.39, allocations: 227.4 MB / 246.8 MB, free: 10.64 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2091/0.2091, allocations: 46.1 MB / 344.1 MB, free: 11.62 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001418/0.001419, allocations: 89.89 kB / 417.7 MB, free: 19.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.12/0.1214, allocations: 62.43 MB / 480.1 MB, free: 5.203 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test2): time 0.002907/0.1244, allocations: 1.732 MB / 481.9 MB, free: 3.457 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001508/0.1259, allocations: 1.02 MB / 482.9 MB, free: 2.434 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.705e-05/0.126, allocations: 4 kB / 482.9 MB, free: 2.43 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002356/0.1262, allocations: 39.78 kB / 482.9 MB, free: 2.391 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002692/0.1265, allocations: 95.53 kB / 483 MB, free: 2.297 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001744/0.1267, allocations: 83.66 kB / 483.1 MB, free: 2.215 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001539/0.1269, allocations: 95.7 kB / 483.2 MB, free: 2.121 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.565e-05/0.127, allocations: 12 kB / 483.2 MB, free: 2.109 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.857e-05/0.1271, allocations: 47.77 kB / 483.3 MB, free: 2.062 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.609e-05/0.1272, allocations: 31.8 kB / 483.3 MB, free: 2.031 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.504e-05/0.1272, allocations: 8 kB / 483.3 MB, free: 2.023 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.403e-05/0.1273, allocations: 43.98 kB / 483.3 MB, free: 1.98 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.788e-05/0.1273, allocations: 23.84 kB / 483.4 MB, free: 1.957 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.439e-05/0.1274, allocations: 27.81 kB / 483.4 MB, free: 1.93 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000175/0.1276, allocations: 115.9 kB / 483.5 MB, free: 1.816 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.1276, allocations: 0 / 483.5 MB, free: 1.816 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.1276, allocations: 0 / 483.5 MB, free: 1.816 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.639e-06/0.1276, allocations: 0 / 483.5 MB, free: 1.816 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.0004807/0.1281, allocations: 407 kB / 483.9 MB, free: 1.371 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.549e-05/0.1281, allocations: 8.031 kB / 483.9 MB, free: 1.363 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.603e-05/0.1282, allocations: 42.75 kB / 483.9 MB, free: 1.312 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.361e-05/0.1282, allocations: 8.844 kB / 484 MB, free: 1.305 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002179/0.1284, allocations: 207.3 kB / 484.2 MB, free: 1.066 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/0.1285, allocations: 4.375 kB / 484.2 MB, free: 1.062 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.778e-05/0.1285, allocations: 7.938 kB / 484.2 MB, free: 1.055 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001381/0.1286, allocations: 53.67 kB / 484.2 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.1286, allocations: 4 kB / 484.2 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.456e-06/0.1287, allocations: 0 / 484.2 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.647e-06/0.1287, allocations: 0 / 484.2 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.755e-05/0.1287, allocations: 19.98 kB / 484.2 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003209/0.1291, allocations: 296.7 kB / 484.5 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001586/0.1292, allocations: 54.67 kB / 484.6 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.93e-05/0.1293, allocations: 20.86 kB / 484.6 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.727e-05/0.1293, allocations: 7.984 kB / 484.6 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001709/0.1295, allocations: 63.39 kB / 484.7 MB, free: 476 kB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.362e-06/0.1295, allocations: 0 / 484.7 MB, free: 476 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005165/0.13, allocations: 165.5 kB / 484.8 MB, free: 304 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.668e-05/0.1301, allocations: 59.39 kB / 484.9 MB, free: 232 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001497/0.1302, allocations: 170.1 kB / 485.1 MB, free: 52 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.502e-05/0.1303, allocations: 37.58 kB / 485.1 MB, free: 8 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.227e-05/0.1303, allocations: 100.1 kB / 485.2 MB, free: 15.91 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.31e-05/0.1304, allocations: 31.62 kB / 485.2 MB, free: 15.88 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.587e-05/0.1304, allocations: 21.72 kB / 485.3 MB, free: 15.85 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001119/0.1305, allocations: 322.8 kB / 485.6 MB, free: 15.52 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.602e-05/0.1306, allocations: 19.98 kB / 485.6 MB, free: 15.5 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.167e-05/0.1307, allocations: 33.7 kB / 485.6 MB, free: 15.46 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001129/0.1308, allocations: 69.77 kB / 485.7 MB, free: 15.39 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.1308, allocations: 0 / 485.7 MB, free: 15.39 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.00018/0.131, allocations: 97.53 kB / 485.8 MB, free: 15.29 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/0.131, allocations: 4 kB / 485.8 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/0.131, allocations: 4 kB / 485.8 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.131, allocations: 0 / 485.8 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.82e-05/0.1311, allocations: 23.86 kB / 485.8 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.1312, allocations: 0 / 485.8 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.514e-05/0.1312, allocations: 7.938 kB / 485.8 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.177e-06/0.1312, allocations: 12.02 kB / 485.8 MB, free: 15.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.374e-05/0.1313, allocations: 121.8 kB / 486 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.349e-05/0.1313, allocations: 15.81 kB / 486 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.419e-05/0.1314, allocations: 12.72 kB / 486 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.1314, allocations: 0 / 486 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.1314, allocations: 0 / 486 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.634e-06/0.1314, allocations: 7.922 kB / 486 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004941/0.1319, allocations: 395.3 kB / 486.4 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.1319, allocations: 0 / 486.4 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.324e-05/0.132, allocations: 8 kB / 486.4 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.132, allocations: 3.938 kB / 486.4 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.286e-06/0.132, allocations: 0 / 486.4 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.198e-06/0.132, allocations: 4 kB / 486.4 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.132, allocations: 0 / 486.4 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002537/0.1323, allocations: 208.5 kB / 486.6 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.218e-05/0.1323, allocations: 81.02 kB / 486.7 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.697e-05/0.1324, allocations: 7.938 kB / 486.7 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.727e-05/0.1324, allocations: 0 / 486.7 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.769e-05/0.1325, allocations: 11.98 kB / 486.7 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.562e-05/0.1325, allocations: 4 kB / 486.7 MB, free: 14.27 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001002/0.1326, allocations: 123.4 kB / 486.8 MB, free: 14.14 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1326, allocations: 0 / 486.8 MB, free: 14.14 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002651/0.1329, allocations: 35.92 kB / 486.9 MB, free: 14.11 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.001492/0.1344, allocations: 1.097 MB / 487.9 MB, free: 13.14 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001857/0.1346, allocations: 59.91 kB / 488 MB, free: 13.09 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.1346, allocations: 3.938 kB / 488 MB, free: 13.08 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.273e-05/0.1347, allocations: 31.98 kB / 488 MB, free: 13.05 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003516/0.135, allocations: 31.48 kB / 488.1 MB, free: 13.02 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00178/0.1368, allocations: 1.594 MB / 489.7 MB, free: 11.34 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002833/0.1371, allocations: 0.7041 MB / 490.4 MB, free: 10.61 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.142e-05/0.1372, allocations: 17.17 kB / 490.4 MB, free: 10.59 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.25e-05/0.1373, allocations: 39.36 kB / 490.4 MB, free: 10.55 MB / 366.1 MB Notification: Performance of SimCode: time 3e-07/0.1373, allocations: 0 / 490.4 MB, free: 10.55 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0218/0.1591, allocations: 3.255 MB / 493.7 MB, free: 7.367 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.122/8.281, allocations: 8.062 kB / 493.7 MB, free: 7.359 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test2.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches