Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test6,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test6,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test6",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001661/0.001661, allocations: 104 kB / 16.27 MB, free: 6.043 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001625/0.001625, allocations: 190.8 kB / 17.19 MB, free: 5.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.668/1.668, allocations: 205.1 MB / 223.1 MB, free: 12.29 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2439/0.2439, allocations: 43.53 MB / 313.9 MB, free: 0.5312 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00153/0.00153, allocations: 72.69 kB / 382.8 MB, free: 56.67 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1308/0.1323, allocations: 57.79 MB / 440.6 MB, free: 6.816 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test6): time 0.003179/0.1356, allocations: 1.693 MB / 442.3 MB, free: 5.105 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001176/0.1368, allocations: 0.8039 MB / 443.1 MB, free: 4.293 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.15e-05/0.1369, allocations: 0 / 443.1 MB, free: 4.293 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002014/0.1371, allocations: 55.75 kB / 443.2 MB, free: 4.238 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001817/0.1373, allocations: 55.75 kB / 443.2 MB, free: 4.184 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002476/0.1376, allocations: 87.77 kB / 443.3 MB, free: 4.098 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001243/0.1377, allocations: 95.69 kB / 443.4 MB, free: 4.004 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.203e-05/0.1378, allocations: 16.17 kB / 443.4 MB, free: 3.988 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.679e-05/0.1378, allocations: 43.78 kB / 443.5 MB, free: 3.945 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.233e-05/0.1379, allocations: 31.78 kB / 443.5 MB, free: 3.914 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.656e-05/0.1379, allocations: 4 kB / 443.5 MB, free: 3.91 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.417e-05/0.138, allocations: 39.98 kB / 443.5 MB, free: 3.871 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.188e-05/0.1381, allocations: 23.92 kB / 443.6 MB, free: 3.848 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.254e-05/0.1381, allocations: 51.61 kB / 443.6 MB, free: 3.797 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001786/0.1383, allocations: 127.6 kB / 443.7 MB, free: 3.672 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.1383, allocations: 0 / 443.7 MB, free: 3.672 MB / 318.1 MB Notification: Performance of FrontEnd: time 7.82e-07/0.1383, allocations: 0 / 443.7 MB, free: 3.672 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.477e-06/0.1383, allocations: 0 / 443.7 MB, free: 3.672 MB / 318.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.0003444/0.1387, allocations: 442.6 kB / 444.2 MB, free: 3.191 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.731e-05/0.1387, allocations: 15.89 kB / 444.2 MB, free: 3.176 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.183e-05/0.1387, allocations: 34.73 kB / 444.2 MB, free: 3.133 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.413e-05/0.1388, allocations: 16.75 kB / 444.2 MB, free: 3.117 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001577/0.1389, allocations: 228.8 kB / 444.5 MB, free: 2.855 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.622e-06/0.139, allocations: 384 / 444.5 MB, free: 2.855 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.454e-05/0.139, allocations: 7.938 kB / 444.5 MB, free: 2.848 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001026/0.1391, allocations: 53.67 kB / 444.5 MB, free: 2.789 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.542e-06/0.1391, allocations: 0 / 444.5 MB, free: 2.789 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.083e-06/0.1391, allocations: 0 / 444.5 MB, free: 2.789 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.786e-06/0.1391, allocations: 7.938 kB / 444.5 MB, free: 2.781 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.615e-05/0.1392, allocations: 19.92 kB / 444.6 MB, free: 2.762 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002258/0.1394, allocations: 308.8 kB / 444.9 MB, free: 2.41 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00013/0.1396, allocations: 54.69 kB / 444.9 MB, free: 2.348 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.303e-05/0.1396, allocations: 20.84 kB / 444.9 MB, free: 2.324 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.016e-05/0.1396, allocations: 3.938 kB / 444.9 MB, free: 2.32 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001547/0.1398, allocations: 75.33 kB / 445 MB, free: 2.234 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.333e-06/0.1398, allocations: 0 / 445 MB, free: 2.234 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0003882/0.1402, allocations: 177.1 kB / 445.2 MB, free: 2.055 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.678e-05/0.1402, allocations: 55.41 kB / 445.2 MB, free: 1.988 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001749/0.1404, allocations: 275.7 kB / 445.5 MB, free: 1.707 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.467e-06/0.1404, allocations: 29.7 kB / 445.5 MB, free: 1.672 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.529e-05/0.1405, allocations: 112.1 kB / 445.6 MB, free: 1.559 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.041e-05/0.1405, allocations: 31.62 kB / 445.7 MB, free: 1.527 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.191e-05/0.1405, allocations: 25.72 kB / 445.7 MB, free: 1.496 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.655e-05/0.1406, allocations: 330.8 kB / 446 MB, free: 1.164 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.726e-05/0.1406, allocations: 20 kB / 446 MB, free: 1.145 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.823e-05/0.1407, allocations: 33.7 kB / 446.1 MB, free: 1.105 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.144e-05/0.1408, allocations: 57.64 kB / 446.1 MB, free: 1.043 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.1408, allocations: 4 kB / 446.1 MB, free: 1.039 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001486/0.141, allocations: 101.5 kB / 446.2 MB, free: 0.9336 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.121e-05/0.141, allocations: 15.92 kB / 446.3 MB, free: 0.918 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.594e-06/0.141, allocations: 0 / 446.3 MB, free: 0.918 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.892e-06/0.141, allocations: 0 / 446.3 MB, free: 0.918 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.442e-05/0.1411, allocations: 12 kB / 446.3 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.406e-06/0.1411, allocations: 4 kB / 446.3 MB, free: 0.9023 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.105e-05/0.1411, allocations: 3.938 kB / 446.3 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.653e-06/0.1411, allocations: 7.984 kB / 446.3 MB, free: 0.8906 MB / 318.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 6.986e-05/0.1412, allocations: 137.9 kB / 446.4 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.279e-05/0.1412, allocations: 19.81 kB / 446.4 MB, free: 0.7266 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.48e-05/0.1413, allocations: 17.41 kB / 446.4 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.1413, allocations: 0 / 446.4 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.706e-06/0.1413, allocations: 0 / 446.4 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.1413, allocations: 7.922 kB / 446.5 MB, free: 0.7031 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003238/0.1416, allocations: 403.2 kB / 446.9 MB, free: 256 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.524e-06/0.1417, allocations: 0 / 446.9 MB, free: 256 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.18e-05/0.1417, allocations: 28.27 kB / 446.9 MB, free: 228 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.1417, allocations: 3.938 kB / 446.9 MB, free: 224 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.987e-06/0.1417, allocations: 0 / 446.9 MB, free: 224 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.556e-06/0.1417, allocations: 8 kB / 446.9 MB, free: 216 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1417, allocations: 0 / 446.9 MB, free: 216 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001949/0.1419, allocations: 204.5 kB / 447.1 MB, free: 15.99 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.209e-05/0.142, allocations: 85.02 kB / 447.2 MB, free: 15.89 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.842e-05/0.142, allocations: 19.86 kB / 447.2 MB, free: 15.87 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.712e-05/0.1421, allocations: 0 / 447.2 MB, free: 15.87 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.607e-05/0.1421, allocations: 4 kB / 447.2 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.627e-05/0.1422, allocations: 11.98 kB / 447.2 MB, free: 15.85 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001636/0.1423, allocations: 204 kB / 447.4 MB, free: 15.66 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1423, allocations: 0 / 447.4 MB, free: 15.66 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000258/0.1426, allocations: 27.98 kB / 447.4 MB, free: 15.63 MB / 334.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.001431/0.144, allocations: 1.098 MB / 448.5 MB, free: 14.59 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001856/0.1442, allocations: 75.84 kB / 448.6 MB, free: 14.52 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.1442, allocations: 0 / 448.6 MB, free: 14.52 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.814e-05/0.1443, allocations: 27.94 kB / 448.6 MB, free: 14.49 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003629/0.1447, allocations: 29.94 kB / 448.7 MB, free: 14.46 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001987/0.1467, allocations: 1.847 MB / 450.5 MB, free: 12.52 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004262/0.1471, allocations: 0.7119 MB / 451.2 MB, free: 11.79 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.636e-05/0.1472, allocations: 24.78 kB / 451.2 MB, free: 11.76 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.053e-05/0.1473, allocations: 43.42 kB / 451.3 MB, free: 11.72 MB / 334.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1473, allocations: 0 / 451.3 MB, free: 11.72 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02142/0.1687, allocations: 3.688 MB / 455 MB, free: 8.008 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.563/7.732, allocations: 4.062 kB / 455 MB, free: 8.004 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6_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_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test6.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches