Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.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.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11") translateModel(ModelicaTest.Tables.CombiTimeTable.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001096/0.001096, allocations: 105.8 kB / 16.41 MB, free: 6.504 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.001142/0.001142, allocations: 189.5 kB / 17.34 MB, free: 5.742 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.387/1.387, allocations: 205.1 MB / 223.2 MB, free: 12.27 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.2039/0.2039, allocations: 43.51 MB / 314.1 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.001341/0.001341, allocations: 77.45 kB / 441.9 MB, free: 5.566 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1387/0.1401, allocations: 57.77 MB / 499.7 MB, free: 11.72 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test11): time 0.003375/0.1435, allocations: 1.92 MB / 0.4898 GB, free: 9.789 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001192/0.1447, allocations: 0.8389 MB / 0.4906 GB, free: 8.941 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.579e-05/0.1448, allocations: 0 / 0.4906 GB, free: 8.941 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003023/0.1451, allocations: 43.7 kB / 0.4907 GB, free: 8.898 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002054/0.1453, allocations: 67.62 kB / 0.4907 GB, free: 8.832 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002535/0.1456, allocations: 103.8 kB / 0.4908 GB, free: 8.73 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001833/0.1458, allocations: 139.6 kB / 0.491 GB, free: 8.594 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001077/0.1459, allocations: 29.47 kB / 0.491 GB, free: 8.559 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.717e-05/0.146, allocations: 55.72 kB / 0.4911 GB, free: 8.504 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.638e-05/0.1461, allocations: 59.64 kB / 0.4911 GB, free: 8.445 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.161e-05/0.1461, allocations: 8 kB / 0.4911 GB, free: 8.438 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.044e-05/0.1462, allocations: 47.98 kB / 0.4912 GB, free: 8.391 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.832e-05/0.1463, allocations: 23.91 kB / 0.4912 GB, free: 8.367 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.495e-05/0.1464, allocations: 51.61 kB / 0.4912 GB, free: 8.316 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002034/0.1466, allocations: 139.5 kB / 0.4914 GB, free: 8.18 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.1466, allocations: 4 kB / 0.4914 GB, free: 8.176 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.1466, allocations: 0 / 0.4914 GB, free: 8.176 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.421e-06/0.1466, allocations: 0 / 0.4914 GB, free: 8.176 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.0005886/0.1472, allocations: 488.4 kB / 0.4918 GB, free: 7.645 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/0.1473, allocations: 15.89 kB / 0.4919 GB, free: 7.629 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.048e-05/0.1473, allocations: 20.73 kB / 0.4919 GB, free: 7.609 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002561/0.1476, allocations: 224 kB / 0.4921 GB, free: 7.352 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.49e-05/0.1476, allocations: 8.359 kB / 0.4921 GB, free: 7.344 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.203e-05/0.1476, allocations: 12.12 kB / 0.4921 GB, free: 7.332 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002156/0.1478, allocations: 104.2 kB / 0.4922 GB, free: 7.215 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.764e-06/0.1479, allocations: 0 / 0.4922 GB, free: 7.215 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.701e-05/0.1479, allocations: 11.98 kB / 0.4922 GB, free: 7.203 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/0.1479, allocations: 0 / 0.4922 GB, free: 7.203 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001396/0.148, allocations: 47.91 kB / 0.4923 GB, free: 7.156 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005303/0.1486, allocations: 0.5047 MB / 0.4928 GB, free: 6.594 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002936/0.1489, allocations: 86.66 kB / 0.4928 GB, free: 6.5 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.136e-05/0.149, allocations: 40.83 kB / 0.4929 GB, free: 6.457 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.835e-05/0.149, allocations: 4 kB / 0.4929 GB, free: 6.453 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001674/0.1492, allocations: 83.31 kB / 0.493 GB, free: 6.359 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.362e-06/0.1492, allocations: 0 / 0.493 GB, free: 6.359 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003621/0.1496, allocations: 145.4 kB / 0.4931 GB, free: 6.211 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.681e-05/0.1496, allocations: 55.34 kB / 0.4932 GB, free: 6.145 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001682/0.1498, allocations: 195.4 kB / 0.4933 GB, free: 5.941 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.849e-05/0.1498, allocations: 29.7 kB / 0.4934 GB, free: 5.906 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.543e-05/0.1499, allocations: 120 kB / 0.4935 GB, free: 5.785 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.276e-05/0.1499, allocations: 23.66 kB / 0.4935 GB, free: 5.762 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.281e-05/0.15, allocations: 29.7 kB / 0.4935 GB, free: 5.727 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001056/0.1501, allocations: 322.8 kB / 0.4938 GB, free: 5.402 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.252e-05/0.1502, allocations: 27.98 kB / 0.4939 GB, free: 5.375 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.854e-05/0.1503, allocations: 68.27 kB / 0.4939 GB, free: 5.293 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001839/0.1505, allocations: 104.1 kB / 0.494 GB, free: 5.176 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.1505, allocations: 0 / 0.494 GB, free: 5.176 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002715/0.1508, allocations: 141.3 kB / 0.4942 GB, free: 5.031 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/0.1508, allocations: 4 kB / 0.4942 GB, free: 5.027 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.92e-06/0.1508, allocations: 0 / 0.4942 GB, free: 5.027 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.1508, allocations: 4 kB / 0.4942 GB, free: 5.023 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.529e-05/0.1509, allocations: 31.86 kB / 0.4942 GB, free: 4.992 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.1509, allocations: 0 / 0.4942 GB, free: 4.992 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.322e-05/0.151, allocations: 8.375 kB / 0.4942 GB, free: 4.984 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.043e-05/0.151, allocations: 8 kB / 0.4942 GB, free: 4.977 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 9.974e-05/0.1511, allocations: 140.5 kB / 0.4944 GB, free: 4.832 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.302e-05/0.1511, allocations: 11.81 kB / 0.4944 GB, free: 4.82 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.761e-05/0.1512, allocations: 17.41 kB / 0.4944 GB, free: 4.797 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/0.1512, allocations: 11.88 kB / 0.4944 GB, free: 4.785 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.1512, allocations: 0 / 0.4944 GB, free: 4.785 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.1512, allocations: 3.984 kB / 0.4944 GB, free: 4.781 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001712/0.1514, allocations: 213.5 kB / 0.4946 GB, free: 4.523 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.1514, allocations: 0 / 0.4946 GB, free: 4.523 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.964e-05/0.1515, allocations: 8 kB / 0.4946 GB, free: 4.516 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.1515, allocations: 4 kB / 0.4946 GB, free: 4.512 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.829e-06/0.1515, allocations: 4 kB / 0.4946 GB, free: 4.508 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.604e-06/0.1515, allocations: 3.938 kB / 0.4946 GB, free: 4.504 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.1515, allocations: 0 / 0.4946 GB, free: 4.504 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003515/0.1519, allocations: 184.8 kB / 0.4948 GB, free: 4.305 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.618e-05/0.1519, allocations: 85.05 kB / 0.4949 GB, free: 4.203 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.399e-05/0.152, allocations: 4 kB / 0.4949 GB, free: 4.199 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.292e-05/0.152, allocations: 19.97 kB / 0.4949 GB, free: 4.18 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.714e-05/0.1521, allocations: 4 kB / 0.4949 GB, free: 4.176 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.613e-05/0.1521, allocations: 7.984 kB / 0.4949 GB, free: 4.168 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001152/0.1522, allocations: 137.2 kB / 0.495 GB, free: 4.035 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1522, allocations: 4 kB / 0.495 GB, free: 4.031 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002195/0.1525, allocations: 28.11 kB / 0.4951 GB, free: 4.004 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.0009253/0.1534, allocations: 413.2 kB / 0.4955 GB, free: 3.637 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000242/0.1536, allocations: 79.84 kB / 0.4955 GB, free: 3.559 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.1537, allocations: 4 kB / 0.4955 GB, free: 3.555 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.466e-05/0.1538, allocations: 35.97 kB / 0.4956 GB, free: 3.52 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002859/0.1541, allocations: 43.52 kB / 0.4956 GB, free: 3.477 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004906/0.1546, allocations: 264.1 kB / 0.4959 GB, free: 3.191 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003628/0.1549, allocations: 0.7166 MB / 0.4966 GB, free: 2.449 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.225e-05/0.155, allocations: 17.41 kB / 0.4966 GB, free: 2.434 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.463e-05/0.155, allocations: 15.44 kB / 0.4966 GB, free: 2.418 MB / 382.1 MB Notification: Performance of SimCode: time 3.31e-07/0.155, allocations: 0 / 0.4966 GB, free: 2.418 MB / 382.1 MB Notification: Performance of Templates: time 0.004645/0.1597, allocations: 1.894 MB / 0.4985 GB, free: 0.5273 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test11/Test11.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches