Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.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.Test61,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test61",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test61,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test61",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001155/0.001155, allocations: 103.4 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001259/0.001259, allocations: 216.5 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.442/1.442, allocations: 227.4 MB / 246.8 MB, free: 10.57 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2069/0.2069, allocations: 46.1 MB / 344.1 MB, free: 11.62 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001446/0.001446, allocations: 77.47 kB / 417.7 MB, free: 19.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1173/0.1188, allocations: 62.45 MB / 480.1 MB, free: 5.195 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test61): time 0.003987/0.1228, allocations: 1.689 MB / 481.8 MB, free: 3.492 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001943/0.1248, allocations: 1.005 MB / 482.8 MB, free: 2.48 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001256/0.125, allocations: 0 / 482.8 MB, free: 2.48 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000332/0.1253, allocations: 55.75 kB / 482.9 MB, free: 2.426 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004054/0.1258, allocations: 107.5 kB / 483 MB, free: 2.32 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002669/0.126, allocations: 71.72 kB / 483.1 MB, free: 2.25 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001962/0.1262, allocations: 95.7 kB / 483.2 MB, free: 2.156 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.173e-05/0.1263, allocations: 4.234 kB / 483.2 MB, free: 2.152 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00011/0.1264, allocations: 39.8 kB / 483.2 MB, free: 2.113 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.688e-05/0.1265, allocations: 35.78 kB / 483.2 MB, free: 2.078 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.097e-05/0.1265, allocations: 4 kB / 483.2 MB, free: 2.074 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000108/0.1267, allocations: 27.98 kB / 483.3 MB, free: 2.047 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.488e-05/0.1267, allocations: 27.86 kB / 483.3 MB, free: 2.02 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.184e-05/0.1268, allocations: 51.66 kB / 483.3 MB, free: 1.969 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002283/0.127, allocations: 119.8 kB / 483.5 MB, free: 1.852 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/0.1271, allocations: 4 kB / 483.5 MB, free: 1.848 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1271, allocations: 0 / 483.5 MB, free: 1.848 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.1e-05/0.1271, allocations: 0 / 483.5 MB, free: 1.848 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000713/0.1278, allocations: 434.6 kB / 483.9 MB, free: 1.375 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/0.1278, allocations: 8.031 kB / 483.9 MB, free: 1.367 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.073e-05/0.1279, allocations: 34.75 kB / 483.9 MB, free: 1.324 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.115e-05/0.128, allocations: 12.84 kB / 483.9 MB, free: 1.312 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003194/0.1283, allocations: 216.9 kB / 484.2 MB, free: 1.062 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.739e-05/0.1283, allocations: 4.375 kB / 484.2 MB, free: 1.059 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.712e-05/0.1283, allocations: 7.922 kB / 484.2 MB, free: 1.051 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001538/0.1285, allocations: 49.67 kB / 484.2 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.1285, allocations: 0 / 484.2 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.1285, allocations: 4 kB / 484.2 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.1285, allocations: 0 / 484.2 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.973e-05/0.1286, allocations: 19.92 kB / 484.2 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003052/0.1289, allocations: 193.7 kB / 484.4 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001799/0.1291, allocations: 62.55 kB / 484.5 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.243e-05/0.1292, allocations: 16.86 kB / 484.5 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.647e-05/0.1292, allocations: 0 / 484.5 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002137/0.1294, allocations: 63.33 kB / 484.6 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.533e-06/0.1294, allocations: 7.938 kB / 484.6 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.000295/0.1297, allocations: 97.48 kB / 484.7 MB, free: 472 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.965e-05/0.1298, allocations: 59.39 kB / 484.7 MB, free: 400 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002523/0.1301, allocations: 263 kB / 485 MB, free: 124 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.727e-05/0.1301, allocations: 33.7 kB / 485 MB, free: 84 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.743e-05/0.1302, allocations: 108.2 kB / 485.1 MB, free: 15.97 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.088e-05/0.1302, allocations: 7.906 kB / 485.1 MB, free: 15.96 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.66e-05/0.1303, allocations: 21.66 kB / 485.2 MB, free: 15.93 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001198/0.1304, allocations: 334.8 kB / 485.5 MB, free: 15.6 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.761e-05/0.1304, allocations: 12 kB / 485.5 MB, free: 15.59 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.527e-05/0.1305, allocations: 33.64 kB / 485.5 MB, free: 15.55 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.705e-05/0.1306, allocations: 45.95 kB / 485.6 MB, free: 15.5 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.1306, allocations: 3.938 kB / 485.6 MB, free: 15.49 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001692/0.1308, allocations: 93.44 kB / 485.7 MB, free: 15.39 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/0.1308, allocations: 8 kB / 485.7 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.1308, allocations: 0 / 485.7 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.1309, allocations: 0 / 485.7 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.563e-05/0.1309, allocations: 11.98 kB / 485.7 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.942e-06/0.131, allocations: 0 / 485.7 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.956e-05/0.131, allocations: 11.84 kB / 485.7 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.496e-06/0.131, allocations: 4.156 kB / 485.7 MB, free: 15.36 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 (7): * Single equations (assignments): 7 * 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.0001339/0.1312, allocations: 133.8 kB / 485.8 MB, free: 15.22 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.376e-05/0.1312, allocations: 15.94 kB / 485.8 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.357e-05/0.1312, allocations: 20.98 kB / 485.9 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.1312, allocations: 0 / 485.9 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.1313, allocations: 0 / 485.9 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.1313, allocations: 0 / 485.9 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000163/0.1314, allocations: 209.4 kB / 486.1 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.1314, allocations: 0 / 486.1 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.124e-05/0.1315, allocations: 4 kB / 486.1 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.1315, allocations: 0 / 486.1 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.524e-06/0.1315, allocations: 0 / 486.1 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.14e-06/0.1315, allocations: 7.969 kB / 486.1 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.1315, allocations: 4 kB / 486.1 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002074/0.1317, allocations: 108.9 kB / 486.2 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.777e-05/0.1318, allocations: 89 kB / 486.3 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.882e-05/0.1318, allocations: 7.938 kB / 486.3 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.595e-05/0.1319, allocations: 128 / 486.3 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.553e-05/0.1319, allocations: 4 kB / 486.3 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.486e-05/0.1319, allocations: 7.984 kB / 486.3 MB, free: 14.67 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001997/0.1321, allocations: 208.4 kB / 486.5 MB, free: 14.46 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1321, allocations: 0 / 486.5 MB, free: 14.46 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002179/0.1324, allocations: 20 kB / 486.5 MB, free: 14.45 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.001312/0.1337, allocations: 0.9488 MB / 487.5 MB, free: 13.61 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001578/0.1339, allocations: 51.91 kB / 487.5 MB, free: 13.56 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.1339, allocations: 4 kB / 487.5 MB, free: 13.55 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.019e-05/0.1339, allocations: 20.12 kB / 487.5 MB, free: 13.54 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002689/0.1342, allocations: 31.59 kB / 487.6 MB, free: 13.51 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001957/0.1362, allocations: 1.661 MB / 489.2 MB, free: 11.75 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003291/0.1365, allocations: 0.7166 MB / 490 MB, free: 11.01 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.246e-05/0.1366, allocations: 16.55 kB / 490 MB, free: 11 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.851e-05/0.1367, allocations: 47.36 kB / 490 MB, free: 10.95 MB / 366.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1367, allocations: 0 / 490 MB, free: 10.95 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02437/0.161, allocations: 3.401 MB / 493.4 MB, free: 7.617 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.935/8.096, allocations: 8.047 kB / 493.4 MB, free: 7.609 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61_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_Test61.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test61/Test61.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches