Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.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.Test11,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test11",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test11,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test11",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.001099/0.001099, allocations: 103 kB / 16.27 MB, free: 5.93 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.0009994/0.0009994, allocations: 190.1 kB / 17.2 MB, free: 5.574 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.364/1.364, 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.2129/0.2129, allocations: 43.52 MB / 313.9 MB, free: 0.5234 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.001475/0.001475, allocations: 78.88 kB / 382.8 MB, free: 56.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1225/0.124, allocations: 57.79 MB / 440.6 MB, free: 6.777 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test11): time 0.003183/0.1273, allocations: 1.905 MB / 442.5 MB, free: 4.855 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001131/0.1284, allocations: 0.8311 MB / 443.4 MB, free: 4.016 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001124/0.1285, allocations: 7.938 kB / 443.4 MB, free: 4.008 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003234/0.1289, allocations: 43.7 kB / 443.4 MB, free: 3.965 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002225/0.1291, allocations: 63.69 kB / 443.5 MB, free: 3.902 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002779/0.1294, allocations: 103.7 kB / 443.6 MB, free: 3.801 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001974/0.1296, allocations: 131.6 kB / 443.7 MB, free: 3.672 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001411/0.1298, allocations: 37.41 kB / 443.7 MB, free: 3.629 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.389e-05/0.1299, allocations: 55.72 kB / 443.8 MB, free: 3.574 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.214e-05/0.13, allocations: 43.72 kB / 443.8 MB, free: 3.531 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.363e-05/0.13, allocations: 8 kB / 443.9 MB, free: 3.523 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001259/0.1301, allocations: 51.97 kB / 443.9 MB, free: 3.473 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.972e-05/0.1302, allocations: 23.92 kB / 443.9 MB, free: 3.449 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.508e-05/0.1303, allocations: 51.62 kB / 444 MB, free: 3.398 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002347/0.1305, allocations: 143.5 kB / 444.1 MB, free: 3.258 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.1306, allocations: 4 kB / 444.1 MB, free: 3.254 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1306, allocations: 0 / 444.1 MB, free: 3.254 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.423e-06/0.1306, allocations: 0 / 444.1 MB, free: 3.254 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006747/0.1313, allocations: 480.5 kB / 444.6 MB, free: 2.73 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.837e-05/0.1313, allocations: 11.89 kB / 444.6 MB, free: 2.719 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.183e-05/0.1314, allocations: 42.73 kB / 444.6 MB, free: 2.668 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.955e-05/0.1314, allocations: 16.75 kB / 444.7 MB, free: 2.652 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002337/0.1316, allocations: 216 kB / 444.9 MB, free: 2.402 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.291e-05/0.1317, allocations: 12.38 kB / 444.9 MB, free: 2.391 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.656e-05/0.1317, allocations: 15.83 kB / 444.9 MB, free: 2.375 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002417/0.132, allocations: 107.4 kB / 445 MB, free: 2.258 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.132, allocations: 0 / 445 MB, free: 2.258 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.759e-05/0.132, allocations: 7.984 kB / 445 MB, free: 2.25 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.132, allocations: 0 / 445 MB, free: 2.25 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001437/0.1322, allocations: 55.28 kB / 445.1 MB, free: 2.199 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005492/0.1327, allocations: 0.5048 MB / 445.6 MB, free: 1.637 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003064/0.133, allocations: 94.66 kB / 445.7 MB, free: 1.535 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.329e-05/0.1331, allocations: 36.84 kB / 445.7 MB, free: 1.496 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.27e-05/0.1332, allocations: 0 / 445.7 MB, free: 1.496 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002364/0.1334, allocations: 91.19 kB / 445.8 MB, free: 1.395 MB / 318.1 MB Notification: Performance of pre-optimization done (n=9): time 1.303e-06/0.1334, allocations: 0 / 445.8 MB, free: 1.395 MB / 318.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003593/0.1338, allocations: 149.4 kB / 445.9 MB, free: 1.242 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.474e-05/0.1338, allocations: 51.41 kB / 446 MB, free: 1.18 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001358/0.134, allocations: 195.4 kB / 446.2 MB, free: 0.9805 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.338e-05/0.134, allocations: 25.7 kB / 446.2 MB, free: 0.9492 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.014e-05/0.134, allocations: 116 kB / 446.3 MB, free: 0.832 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.97e-05/0.1341, allocations: 23.66 kB / 446.3 MB, free: 0.8086 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.508e-05/0.1341, allocations: 33.61 kB / 446.4 MB, free: 0.7695 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.492e-05/0.1342, allocations: 330.8 kB / 446.7 MB, free: 448 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.059e-05/0.1343, allocations: 27.98 kB / 446.7 MB, free: 420 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.187e-05/0.1344, allocations: 68.2 kB / 446.8 MB, free: 336 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001503/0.1345, allocations: 104.2 kB / 446.9 MB, free: 216 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.1345, allocations: 0 / 446.9 MB, free: 216 kB / 318.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002189/0.1348, allocations: 129.8 kB / 447 MB, free: 80 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/0.1348, allocations: 4 kB / 447 MB, free: 76 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.1348, allocations: 4.125 kB / 447 MB, free: 72 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.1348, allocations: 8.031 kB / 447 MB, free: 64 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.952e-05/0.1349, allocations: 31.91 kB / 447.1 MB, free: 32 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.673e-06/0.1349, allocations: 3.938 kB / 447.1 MB, free: 28 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.187e-05/0.135, allocations: 11.91 kB / 447.1 MB, free: 16 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.765e-06/0.135, allocations: 4 kB / 447.1 MB, free: 12 kB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.000126/0.1351, allocations: 134.4 kB / 447.2 MB, free: 15.87 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.506e-05/0.1352, allocations: 11.81 kB / 447.2 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.586e-05/0.1352, allocations: 13.41 kB / 447.2 MB, free: 15.84 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.1352, allocations: 11.94 kB / 447.2 MB, free: 15.83 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.1352, allocations: 0 / 447.2 MB, free: 15.83 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/0.1353, allocations: 3.984 kB / 447.3 MB, free: 15.83 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001867/0.1355, allocations: 213.5 kB / 447.5 MB, free: 15.57 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.1355, allocations: 0 / 447.5 MB, free: 15.57 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.419e-05/0.1355, allocations: 11.94 kB / 447.5 MB, free: 15.56 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.1356, allocations: 4 kB / 447.5 MB, free: 15.55 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.256e-05/0.1356, allocations: 4 kB / 447.5 MB, free: 15.55 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.968e-06/0.1356, allocations: 3.938 kB / 447.5 MB, free: 15.55 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.1356, allocations: 0 / 447.5 MB, free: 15.55 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003724/0.136, allocations: 184.8 kB / 447.7 MB, free: 15.35 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.36e-05/0.136, allocations: 88.98 kB / 447.8 MB, free: 15.24 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.483e-05/0.1361, allocations: 0 / 447.8 MB, free: 15.24 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.596e-05/0.1361, allocations: 15.92 kB / 447.8 MB, free: 15.23 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.098e-05/0.1362, allocations: 8 kB / 447.8 MB, free: 15.22 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.869e-05/0.1362, allocations: 7.984 kB / 447.8 MB, free: 15.21 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001231/0.1363, allocations: 141.3 kB / 447.9 MB, free: 15.07 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1364, allocations: 0 / 447.9 MB, free: 15.07 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002409/0.1366, allocations: 32.02 kB / 448 MB, free: 15.04 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (9): * Single equations (assignments): 7 * 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.001561/0.1382, allocations: 1 MB / 449 MB, free: 14.1 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002754/0.1385, allocations: 91.77 kB / 449 MB, free: 14.01 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.1385, allocations: 0 / 449 MB, free: 14.01 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001049/0.1386, allocations: 43.91 kB / 449.1 MB, free: 13.96 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003216/0.1389, allocations: 45.88 kB / 449.1 MB, free: 13.92 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001969/0.1409, allocations: 1.727 MB / 450.9 MB, free: 12.09 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002827/0.1412, allocations: 0.72 MB / 451.6 MB, free: 11.35 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.034e-05/0.1413, allocations: 13.42 kB / 451.6 MB, free: 11.34 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.275e-05/0.1413, allocations: 39.42 kB / 451.6 MB, free: 11.3 MB / 334.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1413, allocations: 0 / 451.6 MB, free: 11.3 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02271/0.1641, allocations: 3.698 MB / 455.3 MB, free: 7.574 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.907/8.071, allocations: 8 kB / 455.3 MB, free: 7.566 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test11.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test11/Test11.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches