Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.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.Test18,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test18",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test18,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test18",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.00113/0.00113, allocations: 100.1 kB / 16.26 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.001148/0.001148, 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.494/1.494, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.2612/0.2612, 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.001542/0.001543, allocations: 67.72 kB / 382.8 MB, free: 56.71 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.134/0.1355, allocations: 57.8 MB / 440.6 MB, free: 6.797 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test18): time 0.003093/0.1387, allocations: 1.689 MB / 442.3 MB, free: 5.09 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001172/0.1399, allocations: 0.7961 MB / 443.1 MB, free: 4.285 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.066e-05/0.14, allocations: 4 kB / 443.1 MB, free: 4.281 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003264/0.1403, allocations: 39.83 kB / 443.2 MB, free: 4.242 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000196/0.1406, allocations: 51.7 kB / 443.2 MB, free: 4.191 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002294/0.1408, allocations: 95.62 kB / 443.3 MB, free: 4.102 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001422/0.1409, allocations: 87.7 kB / 443.4 MB, free: 4.016 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001049/0.1411, allocations: 16.17 kB / 443.4 MB, free: 4 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.569e-05/0.1411, allocations: 43.78 kB / 443.4 MB, free: 3.957 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.113e-05/0.1412, allocations: 31.84 kB / 443.5 MB, free: 3.926 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.793e-05/0.1412, allocations: 4 kB / 443.5 MB, free: 3.922 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.503e-05/0.1413, allocations: 43.92 kB / 443.5 MB, free: 3.879 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.199e-05/0.1414, allocations: 15.92 kB / 443.5 MB, free: 3.863 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.798e-05/0.1414, allocations: 31.8 kB / 443.6 MB, free: 3.832 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001729/0.1416, allocations: 111.7 kB / 443.7 MB, free: 3.723 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.1416, allocations: 0 / 443.7 MB, free: 3.723 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.1416, allocations: 0 / 443.7 MB, free: 3.723 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.382e-06/0.1417, allocations: 0 / 443.7 MB, free: 3.723 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.0004812/0.1421, allocations: 410.9 kB / 444.1 MB, free: 3.273 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/0.1422, allocations: 11.89 kB / 444.1 MB, free: 3.262 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.212e-05/0.1422, allocations: 38.73 kB / 444.1 MB, free: 3.215 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.624e-05/0.1423, allocations: 8.844 kB / 444.1 MB, free: 3.207 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001905/0.1425, allocations: 206.1 kB / 444.3 MB, free: 2.969 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.641e-05/0.1425, allocations: 4.375 kB / 444.3 MB, free: 2.965 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.312e-05/0.1425, allocations: 7.922 kB / 444.4 MB, free: 2.957 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001499/0.1427, allocations: 53.67 kB / 444.4 MB, free: 2.898 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.1427, allocations: 0 / 444.4 MB, free: 2.898 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.758e-06/0.1427, allocations: 4 kB / 444.4 MB, free: 2.895 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.1427, allocations: 4 kB / 444.4 MB, free: 2.891 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.629e-05/0.1428, allocations: 15.98 kB / 444.4 MB, free: 2.875 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003276/0.1431, allocations: 292.8 kB / 444.7 MB, free: 2.539 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001537/0.1433, allocations: 50.69 kB / 444.8 MB, free: 2.48 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.83e-05/0.1433, allocations: 28.84 kB / 444.8 MB, free: 2.449 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.192e-05/0.1434, allocations: 3.938 kB / 444.8 MB, free: 2.445 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001517/0.1435, allocations: 71.31 kB / 444.9 MB, free: 2.363 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.343e-06/0.1435, allocations: 0 / 444.9 MB, free: 2.363 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005548/0.1441, allocations: 165.3 kB / 445 MB, free: 2.195 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.797e-05/0.1441, allocations: 59.34 kB / 445.1 MB, free: 2.125 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001181/0.1443, allocations: 174 kB / 445.3 MB, free: 1.945 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.08e-05/0.1443, allocations: 33.7 kB / 445.3 MB, free: 1.906 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.896e-05/0.1443, allocations: 104.1 kB / 445.4 MB, free: 1.801 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.475e-05/0.1444, allocations: 15.72 kB / 445.4 MB, free: 1.785 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.363e-05/0.1444, allocations: 29.7 kB / 445.4 MB, free: 1.75 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.021e-05/0.1445, allocations: 322.8 kB / 445.8 MB, free: 1.426 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.221e-05/0.1445, allocations: 23.98 kB / 445.8 MB, free: 1.402 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.056e-05/0.1446, allocations: 29.72 kB / 445.8 MB, free: 1.367 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.333e-05/0.1447, allocations: 65.7 kB / 445.9 MB, free: 1.297 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.1447, allocations: 0 / 445.9 MB, free: 1.297 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001488/0.1448, allocations: 105.6 kB / 446 MB, free: 1.188 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.1449, allocations: 5.25 kB / 446 MB, free: 1.184 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.1449, allocations: 0 / 446 MB, free: 1.184 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/0.1449, allocations: 11.92 kB / 446 MB, free: 1.172 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.273e-05/0.145, allocations: 15.94 kB / 446 MB, free: 1.156 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.145, allocations: 4.031 kB / 446 MB, free: 1.152 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.43e-05/0.145, allocations: 11.92 kB / 446 MB, free: 1.141 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.352e-06/0.145, allocations: 0 / 446 MB, free: 1.141 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 7.841e-05/0.1451, allocations: 125.8 kB / 446.1 MB, free: 1.008 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.115e-05/0.1452, allocations: 15.81 kB / 446.2 MB, free: 0.9922 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.381e-05/0.1452, allocations: 16.7 kB / 446.2 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.1452, allocations: 0 / 446.2 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.1452, allocations: 0 / 446.2 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.1452, allocations: 3.938 kB / 446.2 MB, free: 0.9648 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003275/0.1456, allocations: 391.3 kB / 446.6 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.1456, allocations: 4 kB / 446.6 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.792e-05/0.1456, allocations: 8.375 kB / 446.6 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.1456, allocations: 3.938 kB / 446.6 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.886e-06/0.1456, allocations: 3.984 kB / 446.6 MB, free: 0.5039 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.1456, allocations: 4 kB / 446.6 MB, free: 0.5 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1456, allocations: 7.938 kB / 446.6 MB, free: 0.4922 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001687/0.1458, allocations: 200.5 kB / 446.8 MB, free: 284 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.023e-05/0.1459, allocations: 81.02 kB / 446.9 MB, free: 184 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.505e-05/0.1459, allocations: 11.88 kB / 446.9 MB, free: 172 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.529e-05/0.146, allocations: 3.984 kB / 446.9 MB, free: 168 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.823e-05/0.146, allocations: 8 kB / 446.9 MB, free: 160 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.383e-05/0.146, allocations: 4 kB / 446.9 MB, free: 156 kB / 318.1 MB Notification: Performance of sorting global known variables: time 7.653e-05/0.1461, allocations: 135.2 kB / 447 MB, free: 20 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1461, allocations: 0 / 447 MB, free: 20 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002746/0.1464, allocations: 24.05 kB / 447 MB, free: 15.99 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.001549/0.1479, allocations: 1.107 MB / 448.2 MB, free: 14.95 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002138/0.1482, allocations: 63.91 kB / 448.2 MB, free: 14.89 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.1482, allocations: 0 / 448.2 MB, free: 14.89 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.397e-05/0.1483, allocations: 31.92 kB / 448.3 MB, free: 14.86 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000349/0.1486, allocations: 28.11 kB / 448.3 MB, free: 14.83 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001785/0.1504, allocations: 1.597 MB / 449.9 MB, free: 13.14 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003273/0.1508, allocations: 0.7039 MB / 450.6 MB, free: 12.41 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.502e-05/0.1508, allocations: 13.19 kB / 450.6 MB, free: 12.4 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.437e-05/0.1509, allocations: 35.36 kB / 450.6 MB, free: 12.36 MB / 334.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1509, allocations: 0 / 450.6 MB, free: 12.36 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02188/0.1728, allocations: 3.254 MB / 453.9 MB, free: 9.09 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.575/7.748, allocations: 7.938 kB / 453.9 MB, free: 9.082 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18_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_Test18.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test18/Test18.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches