Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.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.Test44,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test44",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test44,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test44",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001334/0.001334, allocations: 103.9 kB / 17.63 MB, free: 5.516 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001085/0.001085, allocations: 202.4 kB / 18.57 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.47/1.47, 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.2172/0.2172, allocations: 46.11 MB / 344.1 MB, free: 11.58 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002448/0.002448, allocations: 77.38 kB / 417.7 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1211/0.1236, allocations: 62.43 MB / 480.1 MB, free: 5.172 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test44): time 0.00264/0.1263, allocations: 1.738 MB / 481.9 MB, free: 3.422 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001384/0.1277, allocations: 1.017 MB / 482.9 MB, free: 2.398 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.022e-05/0.1278, allocations: 0 / 482.9 MB, free: 2.398 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002399/0.128, allocations: 47.77 kB / 482.9 MB, free: 2.352 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002765/0.1283, allocations: 95.55 kB / 483 MB, free: 2.258 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00018/0.1285, allocations: 79.66 kB / 483.1 MB, free: 2.18 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001444/0.1287, allocations: 103.7 kB / 483.2 MB, free: 2.078 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.135e-05/0.1288, allocations: 15.97 kB / 483.2 MB, free: 2.062 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.99e-05/0.1288, allocations: 39.8 kB / 483.3 MB, free: 2.023 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.222e-05/0.1289, allocations: 31.8 kB / 483.3 MB, free: 1.992 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.482e-05/0.1289, allocations: 4 kB / 483.3 MB, free: 1.988 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.793e-05/0.129, allocations: 47.97 kB / 483.3 MB, free: 1.941 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.018e-05/0.1291, allocations: 19.92 kB / 483.4 MB, free: 1.922 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.542e-05/0.1291, allocations: 39.73 kB / 483.4 MB, free: 1.883 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001672/0.1293, allocations: 119.8 kB / 483.5 MB, free: 1.766 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.125e-06/0.1293, allocations: 0 / 483.5 MB, free: 1.766 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.1293, allocations: 0 / 483.5 MB, free: 1.766 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.849e-06/0.1293, allocations: 0 / 483.5 MB, free: 1.766 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.0004351/0.1298, allocations: 422.9 kB / 483.9 MB, free: 1.305 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.221e-05/0.1298, allocations: 12.03 kB / 483.9 MB, free: 1.293 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.061e-05/0.1298, allocations: 38.75 kB / 484 MB, free: 1.246 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.526e-05/0.1299, allocations: 16.69 kB / 484 MB, free: 1.23 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001804/0.1301, allocations: 209.3 kB / 484.2 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.477e-06/0.1301, allocations: 384 / 484.2 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.497e-05/0.1301, allocations: 15.92 kB / 484.2 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001227/0.1302, allocations: 53.61 kB / 484.3 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.824e-06/0.1302, allocations: 0 / 484.3 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.116e-05/0.1303, allocations: 7.984 kB / 484.3 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.1303, allocations: 4 kB / 484.3 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.423e-05/0.1303, allocations: 16 kB / 484.3 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002894/0.1306, allocations: 288.9 kB / 484.6 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001531/0.1308, allocations: 58.62 kB / 484.6 MB, free: 500 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.927e-05/0.1309, allocations: 20.84 kB / 484.7 MB, free: 476 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.549e-05/0.1309, allocations: 4 kB / 484.7 MB, free: 472 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001471/0.131, allocations: 67.39 kB / 484.7 MB, free: 392 kB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.232e-06/0.131, allocations: 0 / 484.7 MB, free: 392 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004718/0.1315, allocations: 181.3 kB / 484.9 MB, free: 204 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.91e-05/0.1316, allocations: 51.41 kB / 485 MB, free: 140 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001749/0.1317, allocations: 210.3 kB / 485.2 MB, free: 15.92 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.52e-05/0.1318, allocations: 33.69 kB / 485.2 MB, free: 15.88 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.924e-05/0.1318, allocations: 104.1 kB / 485.3 MB, free: 15.78 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.386e-05/0.1319, allocations: 19.7 kB / 485.3 MB, free: 15.76 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.636e-05/0.1319, allocations: 25.72 kB / 485.3 MB, free: 15.73 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.681e-05/0.132, allocations: 322.8 kB / 485.7 MB, free: 15.4 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.559e-05/0.132, allocations: 23.98 kB / 485.7 MB, free: 15.38 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.159e-05/0.1321, allocations: 37.77 kB / 485.7 MB, free: 15.34 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001129/0.1322, allocations: 61.7 kB / 485.8 MB, free: 15.27 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.1322, allocations: 4 kB / 485.8 MB, free: 15.27 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001679/0.1324, allocations: 105.4 kB / 485.9 MB, free: 15.16 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.1324, allocations: 6.5 kB / 485.9 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.1324, allocations: 4 kB / 485.9 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.999e-06/0.1325, allocations: 0 / 485.9 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.912e-05/0.1325, allocations: 15.98 kB / 485.9 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.359e-06/0.1326, allocations: 0 / 485.9 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.789e-05/0.1326, allocations: 15.91 kB / 485.9 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.235e-06/0.1326, allocations: 8 kB / 485.9 MB, free: 15.11 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 8.1e-05/0.1327, allocations: 125.8 kB / 486.1 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.38e-05/0.1327, allocations: 12.09 kB / 486.1 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.817e-05/0.1328, allocations: 17.39 kB / 486.1 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.1328, allocations: 3.938 kB / 486.1 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.1328, allocations: 0 / 486.1 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.1328, allocations: 7.938 kB / 486.1 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003737/0.1332, allocations: 403.4 kB / 486.5 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.1332, allocations: 0 / 486.5 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.271e-05/0.1332, allocations: 11.98 kB / 486.5 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.1332, allocations: 3.938 kB / 486.5 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.193e-06/0.1333, allocations: 0 / 486.5 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.1333, allocations: 4 kB / 486.5 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.1333, allocations: 0 / 486.5 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001961/0.1335, allocations: 208.2 kB / 486.7 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.84e-05/0.1335, allocations: 88.92 kB / 486.8 MB, free: 14.13 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.399e-05/0.1335, allocations: 7.922 kB / 486.8 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.813e-05/0.1336, allocations: 4 kB / 486.8 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.968e-05/0.1337, allocations: 8 kB / 486.8 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.2e-05/0.1337, allocations: 3.984 kB / 486.8 MB, free: 14.11 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001103/0.1338, allocations: 160.3 kB / 487 MB, free: 13.95 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1338, allocations: 7.938 kB / 487 MB, free: 13.95 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002401/0.134, allocations: 20 kB / 487 MB, free: 13.93 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.001235/0.1353, allocations: 1.095 MB / 488.1 MB, free: 12.96 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000159/0.1355, allocations: 63.91 kB / 488.2 MB, free: 12.9 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.482e-06/0.1355, allocations: 0 / 488.2 MB, free: 12.9 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.719e-05/0.1355, allocations: 27.98 kB / 488.2 MB, free: 12.88 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003025/0.1358, allocations: 34.61 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.001514/0.1374, allocations: 1.687 MB / 489.9 MB, free: 11.07 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002645/0.1376, allocations: 0.7119 MB / 490.6 MB, free: 10.34 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.63e-05/0.1377, allocations: 12.55 kB / 490.6 MB, free: 10.32 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.38e-05/0.1378, allocations: 35.42 kB / 490.7 MB, free: 10.29 MB / 366.1 MB Notification: Performance of SimCode: time 2e-07/0.1378, allocations: 0 / 490.7 MB, free: 10.29 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1685/0.3063, allocations: 3.436 MB / 494.1 MB, free: 6.926 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.426/8.733, allocations: 7.609 kB / 494.1 MB, free: 6.922 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44_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_Test44.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test44/Test44.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches