Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.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.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68") translateModel(ModelicaTest.Tables.CombiTimeTable.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001113/0.001113, allocations: 105.9 kB / 16.41 MB, free: 6.402 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.001091/0.001091, allocations: 187 kB / 17.34 MB, free: 5.699 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.381/1.381, 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.2135/0.2135, allocations: 43.53 MB / 314.1 MB, free: 444 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.001399/0.001399, allocations: 73.61 kB / 441.9 MB, free: 5.59 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1221/0.1235, allocations: 57.79 MB / 499.7 MB, free: 11.73 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.004238/0.1278, allocations: 1.79 MB / 0.4897 GB, free: 9.926 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001857/0.1297, allocations: 0.8741 MB / 0.4905 GB, free: 9.043 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001626/0.1299, allocations: 3.938 kB / 0.4905 GB, free: 9.039 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000667/0.1305, allocations: 299.3 kB / 0.4908 GB, free: 8.746 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005711/0.1312, allocations: 211.3 kB / 0.491 GB, free: 8.539 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000559/0.1317, allocations: 143.7 kB / 0.4912 GB, free: 8.398 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005262/0.1323, allocations: 247.3 kB / 0.4914 GB, free: 8.156 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.267e-05/0.1324, allocations: 17.53 kB / 0.4914 GB, free: 8.141 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002953/0.1327, allocations: 127.5 kB / 0.4915 GB, free: 8.016 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003306/0.133, allocations: 188 kB / 0.4917 GB, free: 7.832 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.799e-05/0.1331, allocations: 4 kB / 0.4917 GB, free: 7.828 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000159/0.1332, allocations: 43.98 kB / 0.4918 GB, free: 7.785 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001943/0.1334, allocations: 136.5 kB / 0.4919 GB, free: 7.652 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001747/0.1336, allocations: 142.8 kB / 0.492 GB, free: 7.512 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005811/0.1342, allocations: 358.7 kB / 0.4924 GB, free: 7.16 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.1342, allocations: 0 / 0.4924 GB, free: 7.16 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1342, allocations: 0 / 0.4924 GB, free: 7.16 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.25e-05/0.1342, allocations: 0 / 0.4924 GB, free: 7.16 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.001073/0.1353, allocations: 0.7229 MB / 0.4931 GB, free: 6.387 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/0.1354, allocations: 11.89 kB / 0.4931 GB, free: 6.375 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000121/0.1355, allocations: 48.38 kB / 0.4931 GB, free: 6.328 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007072/0.1362, allocations: 447.9 kB / 0.4936 GB, free: 5.848 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.696e-05/0.1362, allocations: 4.375 kB / 0.4936 GB, free: 5.844 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.6e-05/0.1363, allocations: 4.125 kB / 0.4936 GB, free: 5.84 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002179/0.1365, allocations: 87.36 kB / 0.4937 GB, free: 5.742 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.1365, allocations: 3.938 kB / 0.4937 GB, free: 5.738 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.543e-05/0.1365, allocations: 4 kB / 0.4937 GB, free: 5.734 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.1365, allocations: 0 / 0.4937 GB, free: 5.734 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001092/0.1366, allocations: 27.98 kB / 0.4937 GB, free: 5.707 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004522/0.1371, allocations: 374.3 kB / 0.4941 GB, free: 5.289 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002861/0.1374, allocations: 105.2 kB / 0.4942 GB, free: 5.168 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001009/0.1375, allocations: 49.62 kB / 0.4942 GB, free: 5.113 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.04e-05/0.1375, allocations: 0 / 0.4942 GB, free: 5.113 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002265/0.1378, allocations: 113 kB / 0.4943 GB, free: 4.984 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.633e-06/0.1378, allocations: 0 / 0.4943 GB, free: 4.984 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.000567/0.1384, allocations: 197 kB / 0.4945 GB, free: 4.785 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.654e-05/0.1385, allocations: 81.09 kB / 0.4946 GB, free: 4.688 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001264/0.1397, allocations: 1.007 MB / 0.4956 GB, free: 3.668 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.762e-05/0.1398, allocations: 29.7 kB / 0.4956 GB, free: 3.633 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001881/0.14, allocations: 228.1 kB / 0.4958 GB, free: 3.406 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.809e-05/0.14, allocations: 27.64 kB / 0.4958 GB, free: 3.379 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.443e-05/0.1401, allocations: 25.72 kB / 0.4959 GB, free: 3.348 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001717/0.1403, allocations: 370.7 kB / 0.4962 GB, free: 2.977 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.832e-05/0.1404, allocations: 35.97 kB / 0.4962 GB, free: 2.941 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001146/0.1405, allocations: 51.42 kB / 0.4963 GB, free: 2.879 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001735/0.1407, allocations: 87.84 kB / 0.4964 GB, free: 2.781 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.91e-06/0.1407, allocations: 8 kB / 0.4964 GB, free: 2.773 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003338/0.141, allocations: 168.9 kB / 0.4965 GB, free: 2.602 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/0.1411, allocations: 8 kB / 0.4966 GB, free: 2.594 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.295e-06/0.1411, allocations: 0 / 0.4966 GB, free: 2.594 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/0.1411, allocations: 3.938 kB / 0.4966 GB, free: 2.59 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001207/0.1412, allocations: 23.98 kB / 0.4966 GB, free: 2.566 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/0.1412, allocations: 0 / 0.4966 GB, free: 2.566 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001161/0.1414, allocations: 11.89 kB / 0.4966 GB, free: 2.555 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.534e-05/0.1414, allocations: 8 kB / 0.4966 GB, free: 2.547 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.0002407/0.1416, allocations: 233.6 kB / 0.4968 GB, free: 2.309 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.908e-05/0.1417, allocations: 47.34 kB / 0.4969 GB, free: 2.262 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.622e-05/0.1418, allocations: 59.84 kB / 0.4969 GB, free: 2.203 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.1418, allocations: 0 / 0.4969 GB, free: 2.203 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.084e-06/0.1418, allocations: 0 / 0.4969 GB, free: 2.203 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.643e-06/0.1418, allocations: 3.984 kB / 0.4969 GB, free: 2.199 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003345/0.1422, allocations: 345.3 kB / 0.4973 GB, free: 1.812 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.1422, allocations: 0 / 0.4973 GB, free: 1.812 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.606e-05/0.1422, allocations: 4 kB / 0.4973 GB, free: 1.809 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.1422, allocations: 8 kB / 0.4973 GB, free: 1.801 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.42e-05/0.1423, allocations: 3.984 kB / 0.4973 GB, free: 1.797 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.1423, allocations: 0 / 0.4973 GB, free: 1.797 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.1423, allocations: 4 kB / 0.4973 GB, free: 1.793 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000353/0.1426, allocations: 197.3 kB / 0.4975 GB, free: 1.578 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001625/0.1428, allocations: 140.4 kB / 0.4976 GB, free: 1.422 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.633e-05/0.1429, allocations: 0 / 0.4976 GB, free: 1.422 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.039e-05/0.1429, allocations: 12.11 kB / 0.4976 GB, free: 1.41 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.322e-05/0.143, allocations: 12 kB / 0.4976 GB, free: 1.398 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.15e-05/0.143, allocations: 7.984 kB / 0.4976 GB, free: 1.391 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008053/0.1438, allocations: 0.7487 MB / 0.4984 GB, free: 0.6445 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1439, allocations: 4 kB / 0.4984 GB, free: 0.6406 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002717/0.1441, allocations: 36 kB / 0.4984 GB, free: 0.6055 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.0009868/0.1451, allocations: 412.9 kB / 0.4988 GB, free: 236 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000273/0.1454, allocations: 83.89 kB / 0.4989 GB, free: 152 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.1454, allocations: 0 / 0.4989 GB, free: 152 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001263/0.1456, allocations: 43.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.0004084/0.146, allocations: 78.44 kB / 0.499 GB, free: 28 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001387/0.1474, allocations: 0.8394 MB / 0.4998 GB, free: 15.16 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004927/0.1479, allocations: 0.8427 MB / 0.5006 GB, free: 14.29 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001367/0.148, allocations: 54.94 kB / 0.5007 GB, free: 14.24 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.145e-05/0.1481, allocations: 27.44 kB / 0.5007 GB, free: 14.21 MB / 398.1 MB Notification: Performance of SimCode: time 5.61e-07/0.1481, allocations: 0 / 0.5007 GB, free: 14.21 MB / 398.1 MB Notification: Performance of Templates: time 0.00837/0.1565, allocations: 3.703 MB / 0.5043 GB, free: 10.52 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test68/Test68.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches