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.001488/0.001488, allocations: 109.6 kB / 16.41 MB, free: 6.445 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.001539/0.001539, allocations: 185.4 kB / 17.34 MB, free: 5.738 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.757/1.757, allocations: 205.1 MB / 223.2 MB, free: 12.26 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.2229/0.2229, allocations: 43.52 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.001376/0.001376, allocations: 63.91 kB / 441.9 MB, free: 5.625 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1299/0.1313, allocations: 57.8 MB / 499.7 MB, free: 11.75 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test83): time 0.002951/0.1343, allocations: 1.92 MB / 0.4898 GB, free: 9.82 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001423/0.1357, allocations: 0.9753 MB / 0.4908 GB, free: 8.836 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.387e-05/0.1358, allocations: 0 / 0.4908 GB, free: 8.836 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000609/0.1365, allocations: 203.4 kB / 0.491 GB, free: 8.637 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003153/0.1368, allocations: 155.4 kB / 0.4911 GB, free: 8.484 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004493/0.1372, allocations: 195.5 kB / 0.4913 GB, free: 8.293 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002681/0.1375, allocations: 255.3 kB / 0.4915 GB, free: 8.043 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.92e-05/0.1376, allocations: 29.67 kB / 0.4916 GB, free: 8.012 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001261/0.1378, allocations: 103.5 kB / 0.4917 GB, free: 7.91 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001388/0.1379, allocations: 107.6 kB / 0.4918 GB, free: 7.805 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.965e-05/0.1379, allocations: 8 kB / 0.4918 GB, free: 7.797 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001346/0.1381, allocations: 59.95 kB / 0.4918 GB, free: 7.738 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.049e-05/0.1382, allocations: 55.77 kB / 0.4919 GB, free: 7.684 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.045e-05/0.1383, allocations: 79.47 kB / 0.492 GB, free: 7.605 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003104/0.1386, allocations: 235 kB / 0.4922 GB, free: 7.375 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.1386, allocations: 3.938 kB / 0.4922 GB, free: 7.371 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1386, allocations: 0 / 0.4922 GB, free: 7.371 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.35e-06/0.1386, allocations: 4 kB / 0.4922 GB, free: 7.367 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.0006973/0.1393, allocations: 0.5465 MB / 0.4927 GB, free: 6.766 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/0.1394, allocations: 11.89 kB / 0.4927 GB, free: 6.754 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.452e-05/0.1394, allocations: 24.8 kB / 0.4928 GB, free: 6.73 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003529/0.1398, allocations: 287.8 kB / 0.493 GB, free: 6.41 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.497e-05/0.1398, allocations: 384 / 0.493 GB, free: 6.41 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.753e-05/0.1398, allocations: 16.06 kB / 0.4931 GB, free: 6.395 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002094/0.1401, allocations: 104.2 kB / 0.4932 GB, free: 6.277 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.854e-06/0.1401, allocations: 0 / 0.4932 GB, free: 6.277 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.262e-05/0.1401, allocations: 0 / 0.4932 GB, free: 6.277 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.1401, allocations: 4 kB / 0.4932 GB, free: 6.273 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001275/0.1402, allocations: 43.91 kB / 0.4932 GB, free: 6.23 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004425/0.1407, allocations: 381.6 kB / 0.4936 GB, free: 5.805 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002731/0.141, allocations: 121.2 kB / 0.4937 GB, free: 5.668 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.794e-05/0.1411, allocations: 41.7 kB / 0.4937 GB, free: 5.621 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.375e-05/0.1411, allocations: 4 kB / 0.4937 GB, free: 5.617 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002157/0.1413, allocations: 113 kB / 0.4938 GB, free: 5.488 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 2.535e-06/0.1413, allocations: 0 / 0.4938 GB, free: 5.488 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004274/0.1418, allocations: 185.4 kB / 0.494 GB, free: 5.301 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.095e-05/0.1418, allocations: 110.8 kB / 0.4941 GB, free: 5.168 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003392/0.1422, allocations: 334.9 kB / 0.4944 GB, free: 4.824 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.016e-05/0.1422, allocations: 29.7 kB / 0.4945 GB, free: 4.789 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.024e-05/0.1423, allocations: 140 kB / 0.4946 GB, free: 4.648 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.71e-05/0.1424, allocations: 27.81 kB / 0.4946 GB, free: 4.621 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.117e-05/0.1424, allocations: 41.58 kB / 0.4947 GB, free: 4.574 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001173/0.1425, allocations: 338.8 kB / 0.495 GB, free: 4.234 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.424e-05/0.1426, allocations: 31.98 kB / 0.495 GB, free: 4.203 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001131/0.1427, allocations: 77.12 kB / 0.4951 GB, free: 4.109 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001766/0.1429, allocations: 91.36 kB / 0.4952 GB, free: 4.008 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.1429, allocations: 0 / 0.4952 GB, free: 4.008 MB / 382.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002584/0.1432, allocations: 150.1 kB / 0.4953 GB, free: 3.855 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.1432, allocations: 8 kB / 0.4953 GB, free: 3.848 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.1432, allocations: 7.984 kB / 0.4953 GB, free: 3.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.1433, allocations: 0 / 0.4953 GB, free: 3.84 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001105/0.1434, allocations: 31.92 kB / 0.4954 GB, free: 3.809 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.471e-06/0.1434, allocations: 0 / 0.4954 GB, free: 3.809 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.522e-05/0.1435, allocations: 11.95 kB / 0.4954 GB, free: 3.797 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.147e-05/0.1435, allocations: 7.938 kB / 0.4954 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.0001922/0.1437, allocations: 161.8 kB / 0.4955 GB, free: 3.621 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.732e-05/0.1437, allocations: 23.86 kB / 0.4956 GB, free: 3.598 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.37e-05/0.1438, allocations: 29.67 kB / 0.4956 GB, free: 3.57 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.1438, allocations: 7.938 kB / 0.4956 GB, free: 3.562 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.1438, allocations: 0 / 0.4956 GB, free: 3.562 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.1438, allocations: 0 / 0.4956 GB, free: 3.562 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001948/0.144, allocations: 253.5 kB / 0.4958 GB, free: 3.266 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.144, allocations: 4 kB / 0.4958 GB, free: 3.262 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.235e-05/0.1441, allocations: 7.984 kB / 0.4959 GB, free: 3.254 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.1441, allocations: 4 kB / 0.4959 GB, free: 3.25 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.289e-05/0.1441, allocations: 8 kB / 0.4959 GB, free: 3.242 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.1441, allocations: 0 / 0.4959 GB, free: 3.242 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1441, allocations: 0 / 0.4959 GB, free: 3.242 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002825/0.1444, allocations: 181.7 kB / 0.496 GB, free: 3.043 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.094e-05/0.1445, allocations: 96.95 kB / 0.4961 GB, free: 2.93 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.327e-05/0.1445, allocations: 8 kB / 0.4961 GB, free: 2.922 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.959e-05/0.1446, allocations: 11.98 kB / 0.4962 GB, free: 2.91 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.578e-05/0.1446, allocations: 8 kB / 0.4962 GB, free: 2.902 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.757e-05/0.1447, allocations: 11.92 kB / 0.4962 GB, free: 2.891 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003329/0.145, allocations: 241.9 kB / 0.4964 GB, free: 2.656 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.145, allocations: 3.938 kB / 0.4964 GB, free: 2.652 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000249/0.1453, allocations: 39.94 kB / 0.4964 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.0009531/0.1462, allocations: 430.9 kB / 0.4969 GB, free: 2.227 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002766/0.1465, allocations: 99.89 kB / 0.4969 GB, free: 2.129 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1465, allocations: 0 / 0.4969 GB, free: 2.129 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001116/0.1466, allocations: 47.92 kB / 0.497 GB, free: 2.082 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003673/0.147, allocations: 60.78 kB / 0.4971 GB, free: 2.023 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000587/0.1476, allocations: 375.7 kB / 0.4974 GB, free: 1.629 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003195/0.1479, allocations: 0.7477 MB / 0.4981 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.443e-05/0.148, allocations: 29.94 kB / 0.4982 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.254e-05/0.1481, allocations: 27.42 kB / 0.4982 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of SimCode: time 1.883e-06/0.1481, allocations: 3.938 kB / 0.4982 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of Templates: time 0.006375/0.1545, allocations: 2.98 MB / 0.5011 GB, free: 13.82 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test83/Test83.csv","/var/lib/jenkins/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