Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.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.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69") translateModel(ModelicaTest.Tables.CombiTimeTable.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00129/0.001291, allocations: 108.3 kB / 16.41 MB, free: 6.457 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.001188/0.001188, allocations: 189.5 kB / 17.34 MB, free: 5.719 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.406/1.406, 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.2189/0.2189, 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.001493/0.001493, allocations: 69.47 kB / 441.9 MB, free: 5.594 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1311/0.1326, allocations: 57.79 MB / 499.7 MB, free: 11.73 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.003926/0.1366, allocations: 1.778 MB / 0.4897 GB, free: 9.934 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001879/0.1385, allocations: 0.8779 MB / 0.4905 GB, free: 9.047 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001559/0.1387, allocations: 7.938 kB / 0.4905 GB, free: 9.039 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005883/0.1393, allocations: 295.4 kB / 0.4908 GB, free: 8.75 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004191/0.1397, allocations: 215.3 kB / 0.491 GB, free: 8.539 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004533/0.1402, allocations: 139.7 kB / 0.4912 GB, free: 8.402 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004303/0.1406, allocations: 239.4 kB / 0.4914 GB, free: 8.168 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.254e-05/0.1407, allocations: 21.48 kB / 0.4914 GB, free: 8.148 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000239/0.141, allocations: 135.5 kB / 0.4915 GB, free: 8.016 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002589/0.1412, allocations: 180 kB / 0.4917 GB, free: 7.84 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.807e-05/0.1413, allocations: 8 kB / 0.4917 GB, free: 7.832 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001488/0.1414, allocations: 47.97 kB / 0.4918 GB, free: 7.785 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001822/0.1416, allocations: 136.5 kB / 0.4919 GB, free: 7.652 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001525/0.1418, allocations: 138.8 kB / 0.492 GB, free: 7.516 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005192/0.1423, allocations: 358.7 kB / 0.4924 GB, free: 7.164 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.1423, allocations: 0 / 0.4924 GB, free: 7.164 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.1423, allocations: 0 / 0.4924 GB, free: 7.164 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.779e-05/0.1424, allocations: 0 / 0.4924 GB, free: 7.164 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001188/0.1436, allocations: 0.7229 MB / 0.4931 GB, free: 6.391 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/0.1436, allocations: 11.89 kB / 0.4931 GB, free: 6.379 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001168/0.1437, allocations: 48.38 kB / 0.4931 GB, free: 6.332 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007106/0.1444, allocations: 439.9 kB / 0.4936 GB, free: 5.859 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.63e-05/0.1445, allocations: 8.375 kB / 0.4936 GB, free: 5.852 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.046e-05/0.1445, allocations: 12.11 kB / 0.4936 GB, free: 5.84 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002227/0.1447, allocations: 91.3 kB / 0.4937 GB, free: 5.738 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.759e-06/0.1447, allocations: 0 / 0.4937 GB, free: 5.738 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.353e-05/0.1448, allocations: 0 / 0.4937 GB, free: 5.738 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.1448, allocations: 0 / 0.4937 GB, free: 5.738 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001181/0.1449, allocations: 39.95 kB / 0.4937 GB, free: 5.699 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004588/0.1454, allocations: 374.3 kB / 0.4941 GB, free: 5.281 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002697/0.1456, allocations: 105.2 kB / 0.4942 GB, free: 5.16 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.251e-05/0.1457, allocations: 45.64 kB / 0.4942 GB, free: 5.109 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.931e-05/0.1458, allocations: 4 kB / 0.4942 GB, free: 5.105 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002108/0.146, allocations: 101 kB / 0.4943 GB, free: 4.988 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.543e-06/0.146, allocations: 0 / 0.4943 GB, free: 4.988 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004975/0.1465, allocations: 205.2 kB / 0.4945 GB, free: 4.781 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.771e-05/0.1466, allocations: 81.11 kB / 0.4946 GB, free: 4.684 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00106/0.1476, allocations: 1.011 MB / 0.4956 GB, free: 3.66 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.828e-05/0.1477, allocations: 25.7 kB / 0.4956 GB, free: 3.629 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000181/0.1479, allocations: 228.1 kB / 0.4958 GB, free: 3.402 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.093e-05/0.1479, allocations: 27.66 kB / 0.4958 GB, free: 3.375 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.346e-05/0.148, allocations: 29.7 kB / 0.4959 GB, free: 3.34 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001772/0.1482, allocations: 370.8 kB / 0.4962 GB, free: 2.969 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.369e-05/0.1483, allocations: 31.92 kB / 0.4962 GB, free: 2.938 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.778e-05/0.1483, allocations: 55.41 kB / 0.4963 GB, free: 2.871 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001701/0.1485, allocations: 83.36 kB / 0.4964 GB, free: 2.777 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.1485, allocations: 8 kB / 0.4964 GB, free: 2.77 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002928/0.1488, allocations: 172.9 kB / 0.4965 GB, free: 2.594 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.1489, allocations: 4 kB / 0.4965 GB, free: 2.59 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/0.1489, allocations: 0 / 0.4965 GB, free: 2.59 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.1489, allocations: 7.938 kB / 0.4966 GB, free: 2.582 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001172/0.149, allocations: 19.98 kB / 0.4966 GB, free: 2.562 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/0.149, allocations: 4 kB / 0.4966 GB, free: 2.559 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.046e-05/0.1491, allocations: 7.906 kB / 0.4966 GB, free: 2.551 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.143e-05/0.1492, allocations: 8.062 kB / 0.4966 GB, free: 2.543 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: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * 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.0002063/0.1494, allocations: 230 kB / 0.4968 GB, free: 2.309 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.008e-05/0.1494, allocations: 51.34 kB / 0.4969 GB, free: 2.258 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.696e-05/0.1495, allocations: 55.84 kB / 0.4969 GB, free: 2.203 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.1495, allocations: 0 / 0.4969 GB, free: 2.203 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.367e-06/0.1495, allocations: 8 kB / 0.4969 GB, free: 2.195 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.1495, allocations: 0 / 0.4969 GB, free: 2.195 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002952/0.1498, allocations: 341.3 kB / 0.4972 GB, free: 1.812 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.1499, allocations: 0 / 0.4972 GB, free: 1.812 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.63e-05/0.1499, allocations: 15.98 kB / 0.4973 GB, free: 1.797 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.235e-06/0.1499, allocations: 0 / 0.4973 GB, free: 1.797 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.395e-05/0.1499, allocations: 4 kB / 0.4973 GB, free: 1.793 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.1499, allocations: 0 / 0.4973 GB, free: 1.793 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.1499, allocations: 0 / 0.4973 GB, free: 1.793 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003102/0.1503, allocations: 205.2 kB / 0.4975 GB, free: 1.57 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001153/0.1504, allocations: 136.4 kB / 0.4976 GB, free: 1.418 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.614e-05/0.1504, allocations: 4 kB / 0.4976 GB, free: 1.414 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.852e-05/0.1505, allocations: 4 kB / 0.4976 GB, free: 1.41 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.626e-05/0.1506, allocations: 11.98 kB / 0.4976 GB, free: 1.398 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.732e-05/0.1506, allocations: 4 kB / 0.4976 GB, free: 1.395 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008041/0.1514, allocations: 0.7526 MB / 0.4984 GB, free: 0.6445 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1514, allocations: 3.938 kB / 0.4984 GB, free: 0.6406 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002588/0.1517, allocations: 43.98 kB / 0.4984 GB, free: 0.5977 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * 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.0009558/0.1526, allocations: 416.6 kB / 0.4988 GB, free: 228 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002483/0.1529, allocations: 79.91 kB / 0.4989 GB, free: 148 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1529, allocations: 0 / 0.4989 GB, free: 148 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001049/0.153, allocations: 39.92 kB / 0.4989 GB, free: 108 kB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00038/0.1534, allocations: 74.06 kB / 0.499 GB, free: 32 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001231/0.1546, allocations: 0.8432 MB / 0.4998 GB, free: 15.16 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004701/0.1551, allocations: 0.8427 MB / 0.5006 GB, free: 14.29 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001212/0.1552, allocations: 50.95 kB / 0.5007 GB, free: 14.25 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.807e-05/0.1553, allocations: 31.42 kB / 0.5007 GB, free: 14.21 MB / 398.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1553, allocations: 4 kB / 0.5007 GB, free: 14.21 MB / 398.1 MB Notification: Performance of Templates: time 0.009431/0.1648, allocations: 3.707 MB / 0.5043 GB, free: 10.51 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test69/Test69.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches