Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.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.Test83,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test83",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test83,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test83",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.001334/0.001334, allocations: 106.4 kB / 16.41 MB, free: 6.344 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.00134/0.00134, allocations: 190.7 kB / 17.34 MB, free: 5.68 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.454/1.454, allocations: 205.1 MB / 223.2 MB, free: 12.21 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.22/0.22, allocations: 43.52 MB / 314.1 MB, free: 452 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.001509/0.001509, allocations: 77.62 kB / 441.4 MB, free: 6.09 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1164/0.1179, allocations: 57.79 MB / 499.2 MB, free: 12.23 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test83): time 0.004217/0.1221, allocations: 1.928 MB / 0.4893 GB, free: 10.29 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001721/0.1239, allocations: 0.9637 MB / 0.4903 GB, free: 9.316 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001573/0.1241, allocations: 11.88 kB / 0.4903 GB, free: 9.305 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007093/0.1248, allocations: 199.5 kB / 0.4905 GB, free: 9.109 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004222/0.1252, allocations: 159.4 kB / 0.4906 GB, free: 8.953 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005612/0.1258, allocations: 191.5 kB / 0.4908 GB, free: 8.766 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003694/0.1262, allocations: 263.3 kB / 0.4911 GB, free: 8.508 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001268/0.1263, allocations: 25.59 kB / 0.4911 GB, free: 8.48 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002043/0.1265, allocations: 111.5 kB / 0.4912 GB, free: 8.371 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001656/0.1267, allocations: 103.6 kB / 0.4913 GB, free: 8.27 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.141e-05/0.1268, allocations: 8 kB / 0.4913 GB, free: 8.262 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001637/0.1269, allocations: 59.91 kB / 0.4914 GB, free: 8.203 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.585e-05/0.127, allocations: 51.83 kB / 0.4914 GB, free: 8.152 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.331e-05/0.1271, allocations: 79.47 kB / 0.4915 GB, free: 8.074 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003605/0.1275, allocations: 243.2 kB / 0.4917 GB, free: 7.836 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.1275, allocations: 0 / 0.4917 GB, free: 7.836 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.1275, allocations: 0 / 0.4917 GB, free: 7.836 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.347e-06/0.1275, allocations: 0 / 0.4917 GB, free: 7.836 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0008431/0.1284, allocations: 0.5427 MB / 0.4923 GB, free: 7.238 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/0.1284, allocations: 11.89 kB / 0.4923 GB, free: 7.227 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.184e-05/0.1285, allocations: 34.75 kB / 0.4923 GB, free: 7.184 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.639e-05/0.1285, allocations: 24.66 kB / 0.4923 GB, free: 7.16 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003737/0.1289, allocations: 287.5 kB / 0.4926 GB, free: 6.84 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.886e-05/0.1289, allocations: 8.375 kB / 0.4926 GB, free: 6.832 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.021e-05/0.129, allocations: 7.938 kB / 0.4926 GB, free: 6.824 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000222/0.1292, allocations: 96.22 kB / 0.4927 GB, free: 6.715 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.968e-06/0.1292, allocations: 4 kB / 0.4927 GB, free: 6.711 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.475e-05/0.1292, allocations: 0 / 0.4927 GB, free: 6.711 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.698e-06/0.1293, allocations: 0 / 0.4927 GB, free: 6.711 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001252/0.1294, allocations: 51.91 kB / 0.4928 GB, free: 6.66 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004933/0.1299, allocations: 377.5 kB / 0.4931 GB, free: 6.238 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002783/0.1302, allocations: 125.2 kB / 0.4932 GB, free: 6.098 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001034/0.1303, allocations: 45.69 kB / 0.4933 GB, free: 6.047 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.705e-05/0.1303, allocations: 7.984 kB / 0.4933 GB, free: 6.039 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002233/0.1306, allocations: 109 kB / 0.4934 GB, free: 5.914 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 1.382e-06/0.1306, allocations: 4 kB / 0.4934 GB, free: 5.91 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004656/0.131, allocations: 181.3 kB / 0.4936 GB, free: 5.727 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.166e-05/0.1311, allocations: 106.8 kB / 0.4937 GB, free: 5.598 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003696/0.1315, allocations: 331 kB / 0.494 GB, free: 5.258 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.507e-05/0.1315, allocations: 29.7 kB / 0.494 GB, free: 5.223 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001003/0.1316, allocations: 140 kB / 0.4941 GB, free: 5.082 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.55e-05/0.1317, allocations: 31.56 kB / 0.4942 GB, free: 5.051 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.132e-05/0.1317, allocations: 33.7 kB / 0.4942 GB, free: 5.012 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001221/0.1319, allocations: 342.8 kB / 0.4945 GB, free: 4.668 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.337e-05/0.132, allocations: 31.92 kB / 0.4946 GB, free: 4.637 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001121/0.1321, allocations: 77.12 kB / 0.4946 GB, free: 4.543 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001752/0.1323, allocations: 95.39 kB / 0.4947 GB, free: 4.438 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.1323, allocations: 0 / 0.4947 GB, free: 4.438 MB / 382.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002839/0.1326, allocations: 153.9 kB / 0.4949 GB, free: 4.281 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.1326, allocations: 4 kB / 0.4949 GB, free: 4.277 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.1326, allocations: 4 kB / 0.4949 GB, free: 4.273 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.1326, allocations: 4 kB / 0.4949 GB, free: 4.27 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001147/0.1327, allocations: 24.05 kB / 0.4949 GB, free: 4.246 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.1328, allocations: 4 kB / 0.4949 GB, free: 4.242 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.352e-05/0.1329, allocations: 7.938 kB / 0.4949 GB, free: 4.234 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.398e-05/0.1329, allocations: 8 kB / 0.4949 GB, free: 4.227 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.booleanTable.combiTimeTable.nextTimeEvent,$whenCondition1,booleanTable.combiTimeTable.nextTimeEventScaled,$PRE.booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.0001544/0.133, allocations: 165.6 kB / 0.4951 GB, free: 4.055 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.859e-05/0.1331, allocations: 23.72 kB / 0.4951 GB, free: 4.031 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.66e-05/0.1331, allocations: 29.73 kB / 0.4951 GB, free: 4.004 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.1332, allocations: 0 / 0.4951 GB, free: 4.004 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.1332, allocations: 3.938 kB / 0.4951 GB, free: 4 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.263e-06/0.1332, allocations: 11.94 kB / 0.4952 GB, free: 3.988 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000223/0.1334, allocations: 249.5 kB / 0.4954 GB, free: 3.695 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.1334, allocations: 0 / 0.4954 GB, free: 3.695 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.446e-05/0.1335, allocations: 8 kB / 0.4954 GB, free: 3.688 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.1335, allocations: 0 / 0.4954 GB, free: 3.688 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.251e-05/0.1335, allocations: 3.984 kB / 0.4954 GB, free: 3.684 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.1335, allocations: 4 kB / 0.4954 GB, free: 3.68 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1335, allocations: 0 / 0.4954 GB, free: 3.68 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003098/0.1338, allocations: 181.5 kB / 0.4956 GB, free: 3.48 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.377e-05/0.1339, allocations: 100.9 kB / 0.4957 GB, free: 3.363 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.537e-05/0.1339, allocations: 0 / 0.4957 GB, free: 3.363 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.295e-05/0.134, allocations: 8 kB / 0.4957 GB, free: 3.355 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.235e-05/0.1341, allocations: 11.92 kB / 0.4957 GB, free: 3.344 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.867e-05/0.1341, allocations: 11.98 kB / 0.4957 GB, free: 3.332 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002328/0.1343, allocations: 245.9 kB / 0.4959 GB, free: 3.094 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.274e-06/0.1343, allocations: 4 kB / 0.4959 GB, free: 3.09 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000266/0.1346, allocations: 43.84 kB / 0.496 GB, free: 3.047 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: 7 ($whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled,$whenCondition1,booleanTable.y,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 4 (booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001409/0.136, allocations: 1.024 MB / 0.497 GB, free: 2.031 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002619/0.1363, allocations: 95.89 kB / 0.4971 GB, free: 1.938 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.1363, allocations: 0 / 0.4971 GB, free: 1.938 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001085/0.1364, allocations: 48.3 kB / 0.4971 GB, free: 1.891 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004002/0.1368, allocations: 80.16 kB / 0.4972 GB, free: 1.812 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00264/0.1395, allocations: 2.278 MB / 0.4994 GB, free: 15.44 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002988/0.1398, allocations: 0.7436 MB / 0.5002 GB, free: 14.67 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000113/0.1399, allocations: 33.92 kB / 0.5002 GB, free: 14.63 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001096/0.14, allocations: 71.41 kB / 0.5003 GB, free: 14.56 MB / 398.1 MB Notification: Performance of SimCode: time 3.2e-07/0.14, allocations: 3.938 kB / 0.5003 GB, free: 14.56 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02606/0.1661, allocations: 5.696 MB / 0.5058 GB, free: 8.844 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.5/7.667, allocations: 11.92 kB / 0.5058 GB, free: 8.832 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test83_fmu --startTime=1 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test83.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test83/Test83.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches