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: translateModel(ModelicaTest.Tables.CombiTimeTable.Test83,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|booleanTable.y|booleanTable.combiTimeTable.y.1.|booleanTable.realToBoolean.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83") translateModel(ModelicaTest.Tables.CombiTimeTable.Test83,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|booleanTable.y|booleanTable.combiTimeTable.y.1.|booleanTable.realToBoolean.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001303/0.001303, allocations: 117.9 kB / 17.08 MB, free: 6.008 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.001373/0.001373, allocations: 194.4 kB / 18.01 MB, free: 5.094 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.377/1.377, allocations: 205.1 MB / 223.9 MB, free: 12.25 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.205/0.205, allocations: 43.52 MB / 314.8 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.001443/0.001443, allocations: 67.89 kB / 442.5 MB, free: 5.617 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1148/0.1163, allocations: 57.79 MB / 0.4886 GB, free: 11.76 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test83): time 0.003933/0.1203, allocations: 1.925 MB / 0.4905 GB, free: 9.82 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00199/0.1223, allocations: 0.9831 MB / 0.4914 GB, free: 8.828 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001724/0.1225, allocations: 0 / 0.4914 GB, free: 8.828 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008829/0.1234, allocations: 207.4 kB / 0.4916 GB, free: 8.625 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004437/0.1238, allocations: 143.5 kB / 0.4918 GB, free: 8.484 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005959/0.1244, allocations: 199.5 kB / 0.492 GB, free: 8.289 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004049/0.1249, allocations: 259.3 kB / 0.4922 GB, free: 8.035 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001321/0.125, allocations: 21.67 kB / 0.4922 GB, free: 8.012 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002183/0.1252, allocations: 111.6 kB / 0.4923 GB, free: 7.902 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001745/0.1254, allocations: 107.5 kB / 0.4924 GB, free: 7.797 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.679e-05/0.1255, allocations: 11.98 kB / 0.4924 GB, free: 7.785 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001769/0.1256, allocations: 51.97 kB / 0.4925 GB, free: 7.734 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.262e-05/0.1258, allocations: 55.78 kB / 0.4925 GB, free: 7.68 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001115/0.1259, allocations: 83.45 kB / 0.4926 GB, free: 7.598 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004202/0.1263, allocations: 239.2 kB / 0.4929 GB, free: 7.363 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.1263, allocations: 0 / 0.4929 GB, free: 7.363 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1263, allocations: 0 / 0.4929 GB, free: 7.363 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.518e-06/0.1263, allocations: 0 / 0.4929 GB, free: 7.363 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.000998/0.1273, allocations: 0.5427 MB / 0.4934 GB, free: 6.766 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/0.1274, allocations: 11.89 kB / 0.4934 GB, free: 6.754 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.013e-05/0.1275, allocations: 24.66 kB / 0.4934 GB, free: 6.73 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004377/0.1279, allocations: 287.6 kB / 0.4937 GB, free: 6.41 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.876e-05/0.1279, allocations: 4.375 kB / 0.4937 GB, free: 6.406 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.357e-05/0.128, allocations: 12.12 kB / 0.4937 GB, free: 6.395 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002647/0.1282, allocations: 108.2 kB / 0.4938 GB, free: 6.273 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.914e-06/0.1283, allocations: 0 / 0.4938 GB, free: 6.273 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.582e-05/0.1283, allocations: 0 / 0.4938 GB, free: 6.273 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.215e-06/0.1283, allocations: 4 kB / 0.4938 GB, free: 6.27 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001293/0.1284, allocations: 39.97 kB / 0.4939 GB, free: 6.23 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005349/0.129, allocations: 377.5 kB / 0.4942 GB, free: 5.809 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003219/0.1293, allocations: 121.3 kB / 0.4943 GB, free: 5.672 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001038/0.1294, allocations: 41.64 kB / 0.4944 GB, free: 5.625 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.244e-05/0.1295, allocations: 11.94 kB / 0.4944 GB, free: 5.613 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002435/0.1297, allocations: 113 kB / 0.4945 GB, free: 5.484 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 1.553e-06/0.1297, allocations: 0 / 0.4945 GB, free: 5.484 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005779/0.1303, allocations: 181.3 kB / 0.4947 GB, free: 5.301 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.522e-05/0.1304, allocations: 102.8 kB / 0.4948 GB, free: 5.176 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003648/0.1308, allocations: 339 kB / 0.4951 GB, free: 4.828 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.983e-05/0.1308, allocations: 25.7 kB / 0.4951 GB, free: 4.797 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001043/0.1309, allocations: 144 kB / 0.4952 GB, free: 4.652 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.823e-05/0.131, allocations: 27.72 kB / 0.4953 GB, free: 4.625 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.746e-05/0.131, allocations: 37.64 kB / 0.4953 GB, free: 4.582 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001446/0.1312, allocations: 342.8 kB / 0.4956 GB, free: 4.238 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.19e-05/0.1313, allocations: 27.98 kB / 0.4957 GB, free: 4.211 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001191/0.1314, allocations: 88.86 kB / 0.4957 GB, free: 4.109 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001962/0.1316, allocations: 87.36 kB / 0.4958 GB, free: 4.012 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.1316, allocations: 4.5 kB / 0.4958 GB, free: 4.008 MB / 382.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003039/0.1319, allocations: 157.2 kB / 0.496 GB, free: 3.848 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/0.132, allocations: 8 kB / 0.496 GB, free: 3.84 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.104e-06/0.132, allocations: 0 / 0.496 GB, free: 3.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.132, allocations: 0 / 0.496 GB, free: 3.84 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001322/0.1321, allocations: 27.92 kB / 0.496 GB, free: 3.812 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.488e-06/0.1321, allocations: 3.984 kB / 0.496 GB, free: 3.809 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001137/0.1323, allocations: 8 kB / 0.496 GB, free: 3.801 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.794e-05/0.1323, allocations: 11.94 kB / 0.496 GB, free: 3.789 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.0001642/0.1325, allocations: 161.7 kB / 0.4962 GB, free: 3.621 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.356e-05/0.1325, allocations: 23.72 kB / 0.4962 GB, free: 3.598 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.576e-05/0.1326, allocations: 25.73 kB / 0.4962 GB, free: 3.574 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.1326, allocations: 4 kB / 0.4962 GB, free: 3.57 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.1326, allocations: 0 / 0.4962 GB, free: 3.57 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.1326, allocations: 0 / 0.4962 GB, free: 3.57 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002408/0.1329, allocations: 253.3 kB / 0.4965 GB, free: 3.273 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.1329, allocations: 4 kB / 0.4965 GB, free: 3.27 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.913e-05/0.1329, allocations: 11.92 kB / 0.4965 GB, free: 3.258 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.599e-06/0.1329, allocations: 4 kB / 0.4965 GB, free: 3.254 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.046e-05/0.1329, allocations: 4 kB / 0.4965 GB, free: 3.25 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.133, allocations: 0 / 0.4965 GB, free: 3.25 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.969e-06/0.133, allocations: 7.984 kB / 0.4965 GB, free: 3.242 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003476/0.1333, allocations: 173.6 kB / 0.4967 GB, free: 3.051 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.373e-05/0.1334, allocations: 96.91 kB / 0.4968 GB, free: 2.938 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.848e-05/0.1334, allocations: 4 kB / 0.4968 GB, free: 2.934 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.706e-05/0.1335, allocations: 15.98 kB / 0.4968 GB, free: 2.918 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.284e-05/0.1336, allocations: 4 kB / 0.4968 GB, free: 2.914 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.101e-05/0.1336, allocations: 16.05 kB / 0.4968 GB, free: 2.898 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002949/0.1339, allocations: 249.9 kB / 0.4971 GB, free: 2.656 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.1339, allocations: 0 / 0.4971 GB, free: 2.656 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002719/0.1342, allocations: 43.91 kB / 0.4971 GB, free: 2.613 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.000957/0.1352, allocations: 420.7 kB / 0.4975 GB, free: 2.23 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003858/0.1356, allocations: 95.89 kB / 0.4976 GB, free: 2.137 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.1356, allocations: 0 / 0.4976 GB, free: 2.137 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001199/0.1357, allocations: 48.3 kB / 0.4976 GB, free: 2.09 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000412/0.1361, allocations: 71.69 kB / 0.4977 GB, free: 2.023 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006928/0.1368, allocations: 401.9 kB / 0.4981 GB, free: 1.598 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003378/0.1372, allocations: 0.7439 MB / 0.4988 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.971e-05/0.1373, allocations: 23.44 kB / 0.4988 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1373, allocations: 0 / 0.4988 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of Templates: time 0.005732/0.143, allocations: 3.236 MB / 0.502 GB, free: 13.57 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.makefile (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 & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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