Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.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.Test25,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test25",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test25,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test25",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001136/0.001136, 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.001252/0.001252, 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.364/1.364, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2294/0.2294, allocations: 46.1 MB / 344.1 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001532/0.001533, allocations: 82.75 kB / 417.7 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.123/0.1245, allocations: 62.45 MB / 480.1 MB, free: 5.18 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test25): time 0.002964/0.1275, allocations: 1.732 MB / 481.9 MB, free: 3.434 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001553/0.1291, allocations: 1.021 MB / 482.9 MB, free: 2.406 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.881e-05/0.1292, allocations: 4 kB / 482.9 MB, free: 2.402 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002679/0.1295, allocations: 47.75 kB / 482.9 MB, free: 2.355 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003044/0.1298, allocations: 91.55 kB / 483 MB, free: 2.266 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000196/0.13, allocations: 75.73 kB / 483.1 MB, free: 2.191 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001563/0.1302, allocations: 107.6 kB / 483.2 MB, free: 2.086 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.369e-05/0.1303, allocations: 15.98 kB / 483.2 MB, free: 2.07 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.471e-05/0.1304, allocations: 39.8 kB / 483.3 MB, free: 2.031 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.772e-05/0.1305, allocations: 31.8 kB / 483.3 MB, free: 2 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.596e-05/0.1305, allocations: 4 kB / 483.3 MB, free: 1.996 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.869e-05/0.1306, allocations: 47.97 kB / 483.4 MB, free: 1.949 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.306e-05/0.1306, allocations: 19.92 kB / 483.4 MB, free: 1.93 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.97e-05/0.1307, allocations: 35.73 kB / 483.4 MB, free: 1.895 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001885/0.1309, allocations: 119.9 kB / 483.5 MB, free: 1.777 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.1309, allocations: 0 / 483.5 MB, free: 1.777 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1309, allocations: 3.938 kB / 483.5 MB, free: 1.773 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.899e-06/0.1309, allocations: 0 / 483.5 MB, free: 1.773 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.0004792/0.1314, allocations: 426.9 kB / 483.9 MB, free: 1.309 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.1314, allocations: 8.031 kB / 484 MB, free: 1.301 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.526e-05/0.1315, allocations: 30.75 kB / 484 MB, free: 1.262 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.027e-05/0.1315, allocations: 20.73 kB / 484 MB, free: 1.242 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000208/0.1317, allocations: 212.1 kB / 484.2 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.218e-05/0.1318, allocations: 4.359 kB / 484.2 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.928e-05/0.1318, allocations: 7.938 kB / 484.2 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001296/0.1319, allocations: 57.61 kB / 484.3 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.1319, allocations: 4 kB / 484.3 MB, free: 0.918 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.446e-06/0.132, allocations: 0 / 484.3 MB, free: 0.918 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.627e-06/0.132, allocations: 0 / 484.3 MB, free: 0.918 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.812e-05/0.132, allocations: 19.98 kB / 484.3 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003279/0.1324, allocations: 288.9 kB / 484.6 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001539/0.1325, allocations: 58.61 kB / 484.6 MB, free: 0.5 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.06e-05/0.1326, allocations: 24.86 kB / 484.7 MB, free: 484 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.566e-05/0.1326, allocations: 0 / 484.7 MB, free: 484 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001603/0.1328, allocations: 59.39 kB / 484.7 MB, free: 412 kB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.643e-06/0.1328, allocations: 0 / 484.7 MB, free: 412 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004937/0.1333, allocations: 189.3 kB / 484.9 MB, free: 216 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.901e-05/0.1333, allocations: 55.41 kB / 485 MB, free: 148 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001864/0.1335, allocations: 210.3 kB / 485.2 MB, free: 15.93 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.394e-05/0.1336, allocations: 25.7 kB / 485.2 MB, free: 15.9 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.287e-05/0.1336, allocations: 104.1 kB / 485.3 MB, free: 15.79 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.618e-05/0.1336, allocations: 23.66 kB / 485.3 MB, free: 15.77 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.804e-05/0.1337, allocations: 29.64 kB / 485.3 MB, free: 15.73 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001008/0.1338, allocations: 326.8 kB / 485.7 MB, free: 15.41 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.379e-05/0.1339, allocations: 16 kB / 485.7 MB, free: 15.39 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.076e-05/0.1339, allocations: 41.77 kB / 485.7 MB, free: 15.34 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001074/0.134, allocations: 61.7 kB / 485.8 MB, free: 15.28 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.134, allocations: 0 / 485.8 MB, free: 15.28 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001743/0.1342, allocations: 109.4 kB / 485.9 MB, free: 15.16 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/0.1342, allocations: 7.984 kB / 485.9 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.389e-06/0.1343, allocations: 0 / 485.9 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.1343, allocations: 4 kB / 485.9 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.932e-05/0.1344, allocations: 16.03 kB / 485.9 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.569e-06/0.1344, allocations: 0 / 485.9 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.655e-05/0.1344, allocations: 11.88 kB / 485.9 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.434e-06/0.1344, allocations: 3.984 kB / 485.9 MB, free: 15.12 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.032e-05/0.1345, allocations: 129.8 kB / 486.1 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.373e-05/0.1346, allocations: 15.89 kB / 486.1 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.041e-05/0.1346, allocations: 17.39 kB / 486.1 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.1346, allocations: 0 / 486.1 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.1346, allocations: 4 kB / 486.1 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.1346, allocations: 3.938 kB / 486.1 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003992/0.135, allocations: 395.2 kB / 486.5 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.1351, allocations: 4 kB / 486.5 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.077e-05/0.1351, allocations: 8 kB / 486.5 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.1351, allocations: 3.938 kB / 486.5 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.072e-05/0.1351, allocations: 4 kB / 486.5 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.1351, allocations: 0 / 486.5 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1351, allocations: 8.031 kB / 486.5 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002054/0.1353, allocations: 196.5 kB / 486.7 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.502e-05/0.1354, allocations: 96.84 kB / 486.8 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.514e-05/0.1354, allocations: 7.938 kB / 486.8 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.781e-05/0.1355, allocations: 4 kB / 486.8 MB, free: 14.13 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.812e-05/0.1355, allocations: 3.984 kB / 486.8 MB, free: 14.13 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.332e-05/0.1355, allocations: 8 kB / 486.8 MB, free: 14.12 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001198/0.1357, allocations: 164.8 kB / 487 MB, free: 13.96 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.243e-06/0.1357, allocations: 0 / 487 MB, free: 13.96 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002459/0.1359, allocations: 23.94 kB / 487 MB, free: 13.94 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.001333/0.1373, allocations: 1.098 MB / 488.1 MB, free: 12.98 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001658/0.1374, allocations: 59.97 kB / 488.2 MB, free: 12.92 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.1375, allocations: 0 / 488.2 MB, free: 12.92 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.916e-05/0.1375, allocations: 31.98 kB / 488.2 MB, free: 12.89 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003142/0.1379, allocations: 35.91 kB / 488.2 MB, free: 12.85 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001572/0.1394, allocations: 1.683 MB / 489.9 MB, free: 11.08 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002349/0.1397, allocations: 0.7041 MB / 490.6 MB, free: 10.35 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.509e-05/0.1397, allocations: 16.84 kB / 490.6 MB, free: 10.34 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.948e-05/0.1398, allocations: 43.42 kB / 490.7 MB, free: 10.29 MB / 366.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1398, allocations: 0 / 490.7 MB, free: 10.29 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04316/0.183, allocations: 3.416 MB / 494.1 MB, free: 6.949 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.142/8.325, allocations: 11.19 kB / 494.1 MB, free: 6.941 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25_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_Test25.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test25/Test25.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches