Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.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.Test15,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test15",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test15,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test15",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.001113/0.001114, allocations: 110.3 kB / 16.41 MB, free: 6.488 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.001177/0.001177, allocations: 190.1 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.396/1.396, 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.2224/0.2224, allocations: 43.51 MB / 314.1 MB, free: 476 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.001476/0.001476, allocations: 67.91 kB / 441.4 MB, free: 6.117 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1224/0.1239, allocations: 57.8 MB / 499.2 MB, free: 12.24 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test15): time 0.003634/0.1276, allocations: 1.693 MB / 0.4891 GB, free: 10.54 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001435/0.1291, allocations: 0.7961 MB / 0.4899 GB, free: 9.734 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001029/0.1292, allocations: 3.938 kB / 0.4899 GB, free: 9.73 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003794/0.1296, allocations: 39.83 kB / 0.4899 GB, free: 9.691 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002961/0.1299, allocations: 55.7 kB / 0.49 GB, free: 9.637 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003149/0.1303, allocations: 91.75 kB / 0.4901 GB, free: 9.547 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001988/0.1305, allocations: 95.7 kB / 0.4902 GB, free: 9.453 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001075/0.1306, allocations: 12.2 kB / 0.4902 GB, free: 9.441 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001133/0.1307, allocations: 43.78 kB / 0.4902 GB, free: 9.398 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.229e-05/0.1308, allocations: 31.86 kB / 0.4903 GB, free: 9.367 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.197e-05/0.1308, allocations: 4 kB / 0.4903 GB, free: 9.363 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001273/0.131, allocations: 35.97 kB / 0.4903 GB, free: 9.328 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.811e-05/0.131, allocations: 31.92 kB / 0.4903 GB, free: 9.297 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.449e-05/0.1311, allocations: 39.67 kB / 0.4904 GB, free: 9.258 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002662/0.1314, allocations: 107.6 kB / 0.4905 GB, free: 9.152 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.7e-06/0.1314, allocations: 3.938 kB / 0.4905 GB, free: 9.148 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.1314, allocations: 0 / 0.4905 GB, free: 9.148 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.673e-06/0.1314, allocations: 0 / 0.4905 GB, free: 9.148 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006813/0.1321, allocations: 402.8 kB / 0.4909 GB, free: 8.707 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.328e-05/0.1322, allocations: 11.89 kB / 0.4909 GB, free: 8.695 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.242e-05/0.1322, allocations: 38.75 kB / 0.4909 GB, free: 8.648 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.948e-05/0.1323, allocations: 12.89 kB / 0.4909 GB, free: 8.637 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003432/0.1326, allocations: 208.1 kB / 0.4911 GB, free: 8.395 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.794e-05/0.1327, allocations: 8.375 kB / 0.4911 GB, free: 8.387 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.362e-05/0.1327, allocations: 3.938 kB / 0.4911 GB, free: 8.383 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001747/0.1329, allocations: 53.67 kB / 0.4912 GB, free: 8.324 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.594e-05/0.1329, allocations: 3.953 kB / 0.4912 GB, free: 8.32 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.316e-05/0.1329, allocations: 4 kB / 0.4912 GB, free: 8.316 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.1329, allocations: 0 / 0.4912 GB, free: 8.316 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.911e-05/0.133, allocations: 15.98 kB / 0.4912 GB, free: 8.301 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004342/0.1334, allocations: 284.9 kB / 0.4915 GB, free: 7.973 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001838/0.1336, allocations: 62.61 kB / 0.4915 GB, free: 7.902 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.054e-05/0.1337, allocations: 24.83 kB / 0.4916 GB, free: 7.875 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.482e-05/0.1338, allocations: 4 kB / 0.4916 GB, free: 7.871 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001961/0.134, allocations: 67.39 kB / 0.4916 GB, free: 7.793 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 3.096e-06/0.134, allocations: 0 / 0.4916 GB, free: 7.793 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007251/0.1347, allocations: 181.2 kB / 0.4918 GB, free: 7.609 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.054e-05/0.1348, allocations: 55.41 kB / 0.4919 GB, free: 7.543 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002084/0.135, allocations: 170.2 kB / 0.492 GB, free: 7.367 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.471e-05/0.135, allocations: 29.64 kB / 0.492 GB, free: 7.332 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.975e-05/0.1351, allocations: 100.1 kB / 0.4921 GB, free: 7.23 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.948e-05/0.1352, allocations: 35.72 kB / 0.4922 GB, free: 7.195 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.669e-05/0.1353, allocations: 25.7 kB / 0.4922 GB, free: 7.164 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001896/0.1355, allocations: 326.8 kB / 0.4925 GB, free: 6.836 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.73e-05/0.1355, allocations: 16.38 kB / 0.4925 GB, free: 6.82 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.726e-05/0.1356, allocations: 33.7 kB / 0.4926 GB, free: 6.781 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000128/0.1358, allocations: 57.7 kB / 0.4926 GB, free: 6.719 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.047e-06/0.1358, allocations: 8 kB / 0.4926 GB, free: 6.711 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002675/0.136, allocations: 101.5 kB / 0.4927 GB, free: 6.605 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.515e-05/0.1361, allocations: 4 kB / 0.4927 GB, free: 6.602 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.1361, allocations: 0 / 0.4927 GB, free: 6.602 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.698e-05/0.1361, allocations: 7.984 kB / 0.4927 GB, free: 6.594 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001103/0.1362, allocations: 16 kB / 0.4927 GB, free: 6.578 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.233e-06/0.1363, allocations: 3.938 kB / 0.4927 GB, free: 6.574 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.727e-05/0.1363, allocations: 7.938 kB / 0.4928 GB, free: 6.566 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.965e-06/0.1363, allocations: 0 / 0.4928 GB, free: 6.566 MB / 382.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 0.0001226/0.1365, allocations: 133.8 kB / 0.4929 GB, free: 6.426 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.157e-05/0.1365, allocations: 11.95 kB / 0.4929 GB, free: 6.414 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.324e-05/0.1366, allocations: 16.7 kB / 0.4929 GB, free: 6.395 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.1366, allocations: 0 / 0.4929 GB, free: 6.395 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.184e-06/0.1366, allocations: 0 / 0.4929 GB, free: 6.395 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/0.1366, allocations: 3.938 kB / 0.4929 GB, free: 6.391 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005015/0.1371, allocations: 387.3 kB / 0.4933 GB, free: 5.953 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.1371, allocations: 8.031 kB / 0.4933 GB, free: 5.945 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.413e-05/0.1372, allocations: 8 kB / 0.4933 GB, free: 5.938 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.57e-06/0.1372, allocations: 3.938 kB / 0.4933 GB, free: 5.934 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.368e-05/0.1372, allocations: 4 kB / 0.4933 GB, free: 5.93 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.1372, allocations: 0 / 0.4933 GB, free: 5.93 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.542e-05/0.1372, allocations: 4 kB / 0.4933 GB, free: 5.926 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000256/0.1375, allocations: 204.2 kB / 0.4935 GB, free: 5.707 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.625e-05/0.1376, allocations: 85.06 kB / 0.4936 GB, free: 5.605 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.105e-05/0.1376, allocations: 11.94 kB / 0.4936 GB, free: 5.594 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.264e-05/0.1377, allocations: 0 / 0.4936 GB, free: 5.594 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.407e-05/0.1377, allocations: 7.984 kB / 0.4936 GB, free: 5.586 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.593e-05/0.1377, allocations: 4 kB / 0.4936 GB, free: 5.582 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001294/0.1379, allocations: 136.1 kB / 0.4937 GB, free: 5.449 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1379, allocations: 0 / 0.4937 GB, free: 5.449 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002912/0.1382, allocations: 27.92 kB / 0.4938 GB, free: 5.422 MB / 382.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.001634/0.1398, allocations: 1.1 MB / 0.4948 GB, free: 4.34 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002126/0.1401, allocations: 59.91 kB / 0.4949 GB, free: 4.281 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.1401, allocations: 4 kB / 0.4949 GB, free: 4.277 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.43e-05/0.1402, allocations: 27.98 kB / 0.4949 GB, free: 4.25 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003588/0.1405, allocations: 35.27 kB / 0.495 GB, free: 4.219 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002039/0.1426, allocations: 1.612 MB / 0.4965 GB, free: 2.512 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004851/0.1431, allocations: 0.7002 MB / 0.4972 GB, free: 1.785 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.87e-05/0.1431, allocations: 17.17 kB / 0.4972 GB, free: 1.77 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.142e-05/0.1432, allocations: 31.42 kB / 0.4973 GB, free: 1.738 MB / 382.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1432, allocations: 4 kB / 0.4973 GB, free: 1.734 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02175/0.165, allocations: 3.299 MB / 0.5005 GB, free: 14.41 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.036/8.201, allocations: 7.844 kB / 0.5005 GB, free: 14.4 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15_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_Test15.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test15/Test15.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches