Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.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.Test12,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test12,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test12",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.001314/0.001314, allocations: 110 kB / 16.41 MB, free: 6.496 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.001294/0.001294, allocations: 185.5 kB / 17.34 MB, free: 5.762 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.486/1.486, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.2307/0.2307, allocations: 43.53 MB / 314.1 MB, free: 456 kB / 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.002031/0.002031, allocations: 68.22 kB / 441.4 MB, free: 6.117 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1227/0.1247, allocations: 57.8 MB / 499.2 MB, free: 12.25 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.003614/0.1284, allocations: 1.901 MB / 0.4893 GB, free: 10.33 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001582/0.13, allocations: 0.8467 MB / 0.4901 GB, free: 9.477 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001017/0.1301, allocations: 4 kB / 0.4902 GB, free: 9.473 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003481/0.1305, allocations: 43.7 kB / 0.4902 GB, free: 9.43 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002296/0.1307, allocations: 63.62 kB / 0.4903 GB, free: 9.367 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003129/0.1311, allocations: 111.7 kB / 0.4904 GB, free: 9.258 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002328/0.1313, allocations: 135.6 kB / 0.4905 GB, free: 9.125 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001348/0.1314, allocations: 33.45 kB / 0.4905 GB, free: 9.086 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001184/0.1316, allocations: 55.72 kB / 0.4906 GB, free: 9.031 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000117/0.1317, allocations: 47.72 kB / 0.4906 GB, free: 8.984 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.266e-05/0.1317, allocations: 8 kB / 0.4906 GB, free: 8.977 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000111/0.1318, allocations: 51.97 kB / 0.4907 GB, free: 8.926 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.27e-05/0.1319, allocations: 23.86 kB / 0.4907 GB, free: 8.902 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.594e-05/0.132, allocations: 47.62 kB / 0.4907 GB, free: 8.855 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002866/0.1323, allocations: 151.3 kB / 0.4909 GB, free: 8.707 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.1323, allocations: 0 / 0.4909 GB, free: 8.707 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1323, allocations: 4 kB / 0.4909 GB, free: 8.703 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.172e-05/0.1323, allocations: 0 / 0.4909 GB, free: 8.703 MB / 382.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.0007525/0.1331, allocations: 495.5 kB / 0.4914 GB, free: 8.168 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.315e-05/0.1331, allocations: 15.89 kB / 0.4914 GB, free: 8.152 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.032e-05/0.1332, allocations: 42.73 kB / 0.4914 GB, free: 8.102 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.44e-05/0.1333, allocations: 12.84 kB / 0.4914 GB, free: 8.09 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003816/0.1337, allocations: 220.2 kB / 0.4916 GB, free: 7.836 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.845e-05/0.1337, allocations: 4.375 kB / 0.4916 GB, free: 7.832 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.267e-05/0.1337, allocations: 15.89 kB / 0.4917 GB, free: 7.816 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002878/0.134, allocations: 112.2 kB / 0.4918 GB, free: 7.691 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.134, allocations: 0 / 0.4918 GB, free: 7.691 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.653e-05/0.1341, allocations: 7.984 kB / 0.4918 GB, free: 7.684 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.012e-05/0.1341, allocations: 0 / 0.4918 GB, free: 7.684 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002022/0.1343, allocations: 51.91 kB / 0.4918 GB, free: 7.633 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006615/0.135, allocations: 0.501 MB / 0.4923 GB, free: 7.074 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003418/0.1353, allocations: 94.59 kB / 0.4924 GB, free: 6.973 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.696e-05/0.1354, allocations: 32.84 kB / 0.4924 GB, free: 6.938 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.731e-05/0.1355, allocations: 7.984 kB / 0.4924 GB, free: 6.93 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002085/0.1357, allocations: 79.38 kB / 0.4925 GB, free: 6.84 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.503e-06/0.1357, allocations: 0 / 0.4925 GB, free: 6.84 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004194/0.1361, allocations: 149.4 kB / 0.4927 GB, free: 6.688 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.363e-05/0.1362, allocations: 59.34 kB / 0.4927 GB, free: 6.617 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002064/0.1364, allocations: 191.5 kB / 0.4929 GB, free: 6.418 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.951e-05/0.1364, allocations: 25.7 kB / 0.4929 GB, free: 6.387 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.315e-05/0.1365, allocations: 116.1 kB / 0.493 GB, free: 6.27 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.295e-05/0.1366, allocations: 31.73 kB / 0.4931 GB, free: 6.238 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.706e-05/0.1366, allocations: 25.72 kB / 0.4931 GB, free: 6.207 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001711/0.1368, allocations: 326.8 kB / 0.4934 GB, free: 5.879 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.364e-05/0.1369, allocations: 27.97 kB / 0.4934 GB, free: 5.852 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001135/0.137, allocations: 64.28 kB / 0.4935 GB, free: 5.773 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002046/0.1372, allocations: 92.2 kB / 0.4936 GB, free: 5.668 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.1372, allocations: 0 / 0.4936 GB, free: 5.668 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003103/0.1376, allocations: 145.4 kB / 0.4937 GB, free: 5.52 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.014e-05/0.1376, allocations: 4 kB / 0.4937 GB, free: 5.516 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.1376, allocations: 3.938 kB / 0.4937 GB, free: 5.512 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.043e-05/0.1376, allocations: 7.938 kB / 0.4937 GB, free: 5.504 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001033/0.1377, allocations: 27.92 kB / 0.4938 GB, free: 5.477 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.204e-05/0.1377, allocations: 4 kB / 0.4938 GB, free: 5.473 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.011e-05/0.1378, allocations: 15.89 kB / 0.4938 GB, free: 5.457 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.467e-05/0.1378, allocations: 7.984 kB / 0.4938 GB, free: 5.449 MB / 382.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.0001415/0.138, allocations: 136.5 kB / 0.4939 GB, free: 5.309 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.974e-05/0.138, allocations: 15.91 kB / 0.4939 GB, free: 5.293 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.173e-05/0.1381, allocations: 17.86 kB / 0.494 GB, free: 5.27 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-06/0.1381, allocations: 3.938 kB / 0.494 GB, free: 5.266 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.1381, allocations: 0 / 0.494 GB, free: 5.266 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.1381, allocations: 4 kB / 0.494 GB, free: 5.262 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002288/0.1384, allocations: 209.6 kB / 0.4942 GB, free: 5.008 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.1384, allocations: 3.938 kB / 0.4942 GB, free: 5.004 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.55e-05/0.1385, allocations: 8 kB / 0.4942 GB, free: 4.996 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.1385, allocations: 4 kB / 0.4942 GB, free: 4.992 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.763e-05/0.1385, allocations: 7.984 kB / 0.4942 GB, free: 4.984 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.3e-06/0.1385, allocations: 3.938 kB / 0.4942 GB, free: 4.98 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.1385, allocations: 0 / 0.4942 GB, free: 4.98 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004169/0.1389, allocations: 180.9 kB / 0.4944 GB, free: 4.785 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.883e-05/0.139, allocations: 92.98 kB / 0.4944 GB, free: 4.676 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.705e-05/0.1391, allocations: 3.984 kB / 0.4945 GB, free: 4.672 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.071e-05/0.1391, allocations: 12 kB / 0.4945 GB, free: 4.66 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.077e-05/0.1392, allocations: 11.98 kB / 0.4945 GB, free: 4.648 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.734e-05/0.1392, allocations: 4 kB / 0.4945 GB, free: 4.645 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001449/0.1394, allocations: 137.2 kB / 0.4946 GB, free: 4.512 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1394, allocations: 0 / 0.4946 GB, free: 4.512 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002364/0.1396, allocations: 24 kB / 0.4946 GB, free: 4.488 MB / 382.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.002195/0.1418, allocations: 1.039 MB / 0.4956 GB, free: 3.465 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002972/0.1421, allocations: 75.91 kB / 0.4957 GB, free: 3.391 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.1421, allocations: 0 / 0.4957 GB, free: 3.391 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001139/0.1422, allocations: 44.14 kB / 0.4958 GB, free: 3.348 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003443/0.1426, allocations: 44.05 kB / 0.4958 GB, free: 3.305 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002468/0.1451, allocations: 1.736 MB / 0.4975 GB, free: 1.457 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004007/0.1455, allocations: 0.7123 MB / 0.4982 GB, free: 0.7188 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.363e-05/0.1456, allocations: 17.42 kB / 0.4982 GB, free: 0.7031 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.127e-05/0.1457, allocations: 39.42 kB / 0.4982 GB, free: 0.6641 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1457, allocations: 3.938 kB / 0.4983 GB, free: 0.6602 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0283/0.174, allocations: 3.767 MB / 0.5019 GB, free: 12.87 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.872/8.046, allocations: 0 / 0.5019 GB, free: 12.87 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12_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_Test12.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches