Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.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.Test13,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test13",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test13,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test13",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.00114/0.00114, allocations: 107.8 kB / 16.41 MB, free: 6.484 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.001265/0.001265, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.469/1.469, 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.2251/0.2251, allocations: 43.52 MB / 314.1 MB, free: 468 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.001564/0.001564, allocations: 68.47 kB / 441.4 MB, free: 6.113 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1283/0.1299, allocations: 57.8 MB / 499.2 MB, free: 12.24 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.003735/0.1337, allocations: 1.909 MB / 0.4893 GB, free: 10.32 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001786/0.1355, allocations: 0.839 MB / 0.4901 GB, free: 9.473 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001893/0.1357, allocations: 4 kB / 0.4901 GB, free: 9.469 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004332/0.1362, allocations: 39.72 kB / 0.4902 GB, free: 9.43 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000382/0.1366, allocations: 63.61 kB / 0.4902 GB, free: 9.367 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000469/0.1371, allocations: 107.8 kB / 0.4903 GB, free: 9.262 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003164/0.1374, allocations: 139.6 kB / 0.4905 GB, free: 9.125 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001713/0.1376, allocations: 37.28 kB / 0.4905 GB, free: 9.082 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001538/0.1378, allocations: 51.78 kB / 0.4906 GB, free: 9.031 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00013/0.1379, allocations: 55.7 kB / 0.4906 GB, free: 8.977 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.071e-05/0.1379, allocations: 8 kB / 0.4906 GB, free: 8.969 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001411/0.1381, allocations: 47.98 kB / 0.4907 GB, free: 8.922 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.277e-05/0.1382, allocations: 19.92 kB / 0.4907 GB, free: 8.902 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001094/0.1383, allocations: 55.59 kB / 0.4907 GB, free: 8.848 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003273/0.1386, allocations: 143.5 kB / 0.4909 GB, free: 8.707 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.1386, allocations: 0 / 0.4909 GB, free: 8.707 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.1386, allocations: 0 / 0.4909 GB, free: 8.707 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.156e-06/0.1386, allocations: 4 kB / 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.0007789/0.1394, allocations: 491.8 kB / 0.4914 GB, free: 8.172 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.274e-05/0.1395, allocations: 11.89 kB / 0.4914 GB, free: 8.16 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.284e-05/0.1395, allocations: 38.73 kB / 0.4914 GB, free: 8.113 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.617e-05/0.1396, allocations: 16.75 kB / 0.4914 GB, free: 8.098 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003683/0.14, allocations: 228 kB / 0.4916 GB, free: 7.836 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.49e-05/0.14, allocations: 384 / 0.4916 GB, free: 7.836 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.02e-05/0.14, allocations: 15.94 kB / 0.4917 GB, free: 7.82 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002543/0.1403, allocations: 108.2 kB / 0.4918 GB, free: 7.699 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.956e-05/0.1403, allocations: 0 / 0.4918 GB, free: 7.699 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.597e-05/0.1404, allocations: 7.938 kB / 0.4918 GB, free: 7.691 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.179e-06/0.1404, allocations: 4 kB / 0.4918 GB, free: 7.688 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001517/0.1405, allocations: 43.97 kB / 0.4918 GB, free: 7.645 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006632/0.1412, allocations: 0.5047 MB / 0.4923 GB, free: 7.082 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003505/0.1416, allocations: 82.66 kB / 0.4924 GB, free: 6.992 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001027/0.1417, allocations: 44.83 kB / 0.4924 GB, free: 6.945 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.443e-05/0.1417, allocations: 8 kB / 0.4924 GB, free: 6.938 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002101/0.1419, allocations: 83.3 kB / 0.4925 GB, free: 6.844 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 4.057e-06/0.1419, allocations: 3.984 kB / 0.4925 GB, free: 6.84 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004387/0.1424, allocations: 141.7 kB / 0.4926 GB, free: 6.695 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.312e-05/0.1424, allocations: 55.41 kB / 0.4927 GB, free: 6.629 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002055/0.1427, allocations: 191.5 kB / 0.4929 GB, free: 6.43 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.254e-05/0.1427, allocations: 37.64 kB / 0.4929 GB, free: 6.387 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.696e-05/0.1428, allocations: 116 kB / 0.493 GB, free: 6.27 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.092e-05/0.1428, allocations: 27.64 kB / 0.4931 GB, free: 6.242 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.841e-05/0.1429, allocations: 25.72 kB / 0.4931 GB, free: 6.211 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001189/0.143, allocations: 326.8 kB / 0.4934 GB, free: 5.883 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.849e-05/0.1431, allocations: 27.98 kB / 0.4934 GB, free: 5.855 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001046/0.1432, allocations: 68.22 kB / 0.4935 GB, free: 5.773 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001821/0.1434, allocations: 92.2 kB / 0.4936 GB, free: 5.668 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.1434, allocations: 0 / 0.4936 GB, free: 5.668 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002789/0.1437, allocations: 141.3 kB / 0.4937 GB, free: 5.523 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.1437, allocations: 11.94 kB / 0.4937 GB, free: 5.512 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.1437, allocations: 0 / 0.4937 GB, free: 5.512 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.901e-05/0.1438, allocations: 7.938 kB / 0.4937 GB, free: 5.504 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001002/0.1439, allocations: 27.92 kB / 0.4938 GB, free: 5.477 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.106e-05/0.1439, allocations: 7.984 kB / 0.4938 GB, free: 5.469 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.614e-05/0.144, allocations: 11.89 kB / 0.4938 GB, free: 5.457 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.146e-05/0.144, allocations: 12.12 kB / 0.4938 GB, free: 5.445 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.0001111/0.1441, allocations: 128.4 kB / 0.4939 GB, free: 5.312 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.991e-05/0.1441, allocations: 15.81 kB / 0.4939 GB, free: 5.297 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.175e-05/0.1442, allocations: 21.39 kB / 0.4939 GB, free: 5.27 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.1442, allocations: 3.938 kB / 0.4939 GB, free: 5.266 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.1442, allocations: 0 / 0.4939 GB, free: 5.266 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.1442, allocations: 4 kB / 0.4939 GB, free: 5.262 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001784/0.1444, allocations: 205.6 kB / 0.4941 GB, free: 5.012 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.1444, allocations: 0 / 0.4941 GB, free: 5.012 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.963e-05/0.1445, allocations: 19.92 kB / 0.4942 GB, free: 4.992 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.1445, allocations: 96 / 0.4942 GB, free: 4.992 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.384e-05/0.1445, allocations: 7.938 kB / 0.4942 GB, free: 4.984 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.1446, allocations: 3.938 kB / 0.4942 GB, free: 4.98 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1446, allocations: 0 / 0.4942 GB, free: 4.98 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003573/0.1449, allocations: 176.8 kB / 0.4943 GB, free: 4.789 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.334e-05/0.145, allocations: 85.05 kB / 0.4944 GB, free: 4.688 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.733e-05/0.145, allocations: 12.05 kB / 0.4944 GB, free: 4.676 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.275e-05/0.1451, allocations: 7.938 kB / 0.4944 GB, free: 4.668 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.455e-05/0.1451, allocations: 7.984 kB / 0.4945 GB, free: 4.66 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.531e-05/0.1452, allocations: 4 kB / 0.4945 GB, free: 4.656 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001194/0.1453, allocations: 141.2 kB / 0.4946 GB, free: 4.52 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1453, allocations: 0 / 0.4946 GB, free: 4.52 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002416/0.1455, allocations: 32.03 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.001472/0.147, allocations: 1.017 MB / 0.4956 GB, free: 3.484 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002653/0.1473, allocations: 83.84 kB / 0.4957 GB, free: 3.402 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.1473, allocations: 256 / 0.4957 GB, free: 3.402 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001008/0.1474, allocations: 39.97 kB / 0.4957 GB, free: 3.363 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003162/0.1477, allocations: 51.14 kB / 0.4958 GB, free: 3.316 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002087/0.1498, allocations: 1.725 MB / 0.4975 GB, free: 1.48 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003061/0.1502, allocations: 0.7084 MB / 0.4982 GB, free: 0.7461 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.279e-05/0.1503, allocations: 25.41 kB / 0.4982 GB, free: 0.7227 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.531e-05/0.1503, allocations: 43.42 kB / 0.4982 GB, free: 0.6797 MB / 382.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1503, allocations: 0 / 0.4982 GB, free: 0.6797 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02346/0.1738, allocations: 3.813 MB / 0.5019 GB, free: 12.84 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.379/7.552, allocations: 4 kB / 0.502 GB, free: 12.84 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test13_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test13.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test13/Test13.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches