Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.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.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13") translateModel(ModelicaTest.Tables.CombiTimeTable.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001678/0.001678, allocations: 117.9 kB / 17.08 MB, free: 5.965 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.002213/0.002213, allocations: 198.4 kB / 18.02 MB, free: 5.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.414/2.414, 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.3783/0.3783, allocations: 43.52 MB / 314.8 MB, free: 460 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.002088/0.002088, allocations: 73.45 kB / 442.5 MB, free: 5.59 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1394/0.1415, allocations: 57.78 MB / 0.4886 GB, free: 11.73 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.004058/0.1456, allocations: 1.909 MB / 0.4905 GB, free: 9.809 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001763/0.1474, allocations: 0.8467 MB / 0.4913 GB, free: 8.953 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001782/0.1476, allocations: 3.938 kB / 0.4913 GB, free: 8.949 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003841/0.1481, allocations: 39.7 kB / 0.4913 GB, free: 8.91 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003493/0.1484, allocations: 59.7 kB / 0.4914 GB, free: 8.852 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004034/0.1489, allocations: 115.7 kB / 0.4915 GB, free: 8.738 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003154/0.1492, allocations: 131.6 kB / 0.4916 GB, free: 8.609 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001426/0.1493, allocations: 29.48 kB / 0.4917 GB, free: 8.574 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000136/0.1495, allocations: 59.7 kB / 0.4917 GB, free: 8.516 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001311/0.1496, allocations: 47.72 kB / 0.4918 GB, free: 8.469 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.031e-05/0.1497, allocations: 11.94 kB / 0.4918 GB, free: 8.457 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001461/0.1498, allocations: 43.98 kB / 0.4918 GB, free: 8.414 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.864e-05/0.1499, allocations: 31.89 kB / 0.4918 GB, free: 8.383 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.512e-05/0.15, allocations: 55.56 kB / 0.4919 GB, free: 8.328 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000325/0.1503, allocations: 139.6 kB / 0.492 GB, free: 8.191 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.244e-06/0.1503, allocations: 4 kB / 0.492 GB, free: 8.188 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.1503, allocations: 0 / 0.492 GB, free: 8.188 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.604e-06/0.1504, allocations: 0 / 0.492 GB, free: 8.188 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007674/0.1511, allocations: 488.3 kB / 0.4925 GB, free: 7.656 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/0.1512, allocations: 15.89 kB / 0.4925 GB, free: 7.641 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.628e-05/0.1513, allocations: 12.75 kB / 0.4925 GB, free: 7.629 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004236/0.1517, allocations: 228.1 kB / 0.4927 GB, free: 7.367 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.737e-05/0.1517, allocations: 384 / 0.4927 GB, free: 7.367 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.437e-05/0.1518, allocations: 16.12 kB / 0.4928 GB, free: 7.352 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002892/0.1521, allocations: 108.1 kB / 0.4929 GB, free: 7.23 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.1521, allocations: 3.984 kB / 0.4929 GB, free: 7.227 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.869e-05/0.1521, allocations: 8 kB / 0.4929 GB, free: 7.219 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.1521, allocations: 0 / 0.4929 GB, free: 7.219 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001669/0.1523, allocations: 51.95 kB / 0.4929 GB, free: 7.168 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007024/0.153, allocations: 0.5047 MB / 0.4934 GB, free: 6.605 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005529/0.1536, allocations: 90.61 kB / 0.4935 GB, free: 6.508 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001039/0.1537, allocations: 40.83 kB / 0.4935 GB, free: 6.465 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.993e-05/0.1537, allocations: 4 kB / 0.4935 GB, free: 6.461 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002095/0.1539, allocations: 79.38 kB / 0.4936 GB, free: 6.371 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.643e-06/0.1539, allocations: 0 / 0.4936 GB, free: 6.371 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.000542/0.1545, allocations: 145.5 kB / 0.4938 GB, free: 6.223 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.975e-05/0.1546, allocations: 55.34 kB / 0.4938 GB, free: 6.156 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002189/0.1548, allocations: 191.4 kB / 0.494 GB, free: 5.957 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.461e-05/0.1548, allocations: 30.08 kB / 0.494 GB, free: 5.922 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.399e-05/0.1549, allocations: 120 kB / 0.4941 GB, free: 5.801 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.202e-05/0.155, allocations: 23.66 kB / 0.4942 GB, free: 5.777 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.974e-05/0.155, allocations: 33.64 kB / 0.4942 GB, free: 5.738 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001318/0.1552, allocations: 330.8 kB / 0.4945 GB, free: 5.406 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.522e-05/0.1553, allocations: 27.98 kB / 0.4945 GB, free: 5.379 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001208/0.1554, allocations: 64.27 kB / 0.4946 GB, free: 5.301 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001989/0.1556, allocations: 92.22 kB / 0.4947 GB, free: 5.195 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.644e-06/0.1556, allocations: 0 / 0.4947 GB, free: 5.195 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000357/0.156, allocations: 141.3 kB / 0.4948 GB, free: 5.051 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.156, allocations: 4 kB / 0.4948 GB, free: 5.047 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.156, allocations: 128 / 0.4948 GB, free: 5.047 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.325e-05/0.156, allocations: 11.98 kB / 0.4948 GB, free: 5.035 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001072/0.1562, allocations: 27.81 kB / 0.4949 GB, free: 5.008 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.418e-06/0.1562, allocations: 4 kB / 0.4949 GB, free: 5.004 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.653e-05/0.1563, allocations: 11.89 kB / 0.4949 GB, free: 4.992 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.336e-05/0.1563, allocations: 8 kB / 0.4949 GB, free: 4.984 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * 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.0002056/0.1565, allocations: 121.8 kB / 0.495 GB, free: 4.855 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.58e-05/0.1565, allocations: 19.8 kB / 0.495 GB, free: 4.836 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.826e-05/0.1566, allocations: 17.41 kB / 0.495 GB, free: 4.812 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.037e-06/0.1566, allocations: 11.88 kB / 0.495 GB, free: 4.801 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.1566, allocations: 4 kB / 0.495 GB, free: 4.797 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.1566, allocations: 0 / 0.495 GB, free: 4.797 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002017/0.1568, allocations: 213.5 kB / 0.4952 GB, free: 4.539 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.1568, allocations: 0 / 0.4952 GB, free: 4.539 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.243e-05/0.1569, allocations: 11.98 kB / 0.4953 GB, free: 4.527 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.367e-06/0.1569, allocations: 0 / 0.4953 GB, free: 4.527 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.544e-05/0.157, allocations: 4 kB / 0.4953 GB, free: 4.523 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.157, allocations: 3.938 kB / 0.4953 GB, free: 4.52 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.157, allocations: 0 / 0.4953 GB, free: 4.52 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004273/0.1574, allocations: 188.8 kB / 0.4954 GB, free: 4.316 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.519e-05/0.1575, allocations: 85.05 kB / 0.4955 GB, free: 4.215 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.79e-05/0.1575, allocations: 4 kB / 0.4955 GB, free: 4.211 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.817e-05/0.1576, allocations: 11.92 kB / 0.4955 GB, free: 4.199 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.831e-05/0.1576, allocations: 4 kB / 0.4955 GB, free: 4.195 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.819e-05/0.1577, allocations: 4 kB / 0.4956 GB, free: 4.191 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001264/0.1578, allocations: 145.3 kB / 0.4957 GB, free: 4.051 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1578, allocations: 0 / 0.4957 GB, free: 4.051 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002538/0.1581, allocations: 28.12 kB / 0.4957 GB, free: 4.023 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001027/0.1591, allocations: 424.4 kB / 0.4961 GB, free: 3.645 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002721/0.1594, allocations: 75.91 kB / 0.4962 GB, free: 3.57 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.1594, allocations: 256 / 0.4962 GB, free: 3.57 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001729/0.1596, allocations: 43.92 kB / 0.4962 GB, free: 3.527 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003264/0.1599, allocations: 46.77 kB / 0.4963 GB, free: 3.488 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006408/0.1606, allocations: 293.6 kB / 0.4966 GB, free: 3.168 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003238/0.1609, allocations: 0.7162 MB / 0.4973 GB, free: 2.426 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.896e-05/0.161, allocations: 15.44 kB / 0.4973 GB, free: 2.41 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.161, allocations: 0 / 0.4973 GB, free: 2.41 MB / 382.1 MB Notification: Performance of Templates: time 0.005257/0.1662, allocations: 2.181 MB / 0.4994 GB, free: 232 kB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test13/Test13.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches