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.001048/0.001048, allocations: 113.5 kB / 17.08 MB, free: 5.785 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.001041/0.001041, allocations: 200.2 kB / 18.01 MB, free: 4.918 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.498/1.498, allocations: 205.1 MB / 223.9 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.2108/0.2108, allocations: 43.53 MB / 314.8 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.00162/0.00162, allocations: 73.45 kB / 442.5 MB, free: 5.582 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1246/0.1263, allocations: 57.79 MB / 0.4886 GB, free: 11.73 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.003895/0.1302, allocations: 1.904 MB / 0.4905 GB, free: 9.812 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001544/0.1318, allocations: 0.8506 MB / 0.4913 GB, free: 8.953 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001483/0.132, allocations: 0 / 0.4913 GB, free: 8.953 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003572/0.1323, allocations: 43.7 kB / 0.4913 GB, free: 8.91 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002754/0.1327, allocations: 63.69 kB / 0.4914 GB, free: 8.848 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003271/0.133, allocations: 107.7 kB / 0.4915 GB, free: 8.742 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002368/0.1332, allocations: 131.6 kB / 0.4916 GB, free: 8.613 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001293/0.1334, allocations: 33.47 kB / 0.4917 GB, free: 8.574 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001263/0.1335, allocations: 63.7 kB / 0.4917 GB, free: 8.512 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000111/0.1336, allocations: 43.72 kB / 0.4918 GB, free: 8.469 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.731e-05/0.1337, allocations: 8 kB / 0.4918 GB, free: 8.461 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001185/0.1338, allocations: 43.98 kB / 0.4918 GB, free: 8.418 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.531e-05/0.1339, allocations: 31.84 kB / 0.4918 GB, free: 8.387 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.603e-05/0.134, allocations: 59.61 kB / 0.4919 GB, free: 8.328 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000271/0.1342, allocations: 139.5 kB / 0.492 GB, free: 8.191 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.1342, allocations: 0 / 0.492 GB, free: 8.191 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.1343, allocations: 0 / 0.492 GB, free: 8.191 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.991e-06/0.1343, allocations: 0 / 0.492 GB, free: 8.191 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.0007319/0.135, allocations: 488.3 kB / 0.4925 GB, free: 7.66 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.777e-05/0.1351, allocations: 15.88 kB / 0.4925 GB, free: 7.645 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.942e-05/0.1351, allocations: 16.75 kB / 0.4925 GB, free: 7.629 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004316/0.1356, allocations: 224.1 kB / 0.4927 GB, free: 7.371 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.732e-05/0.1356, allocations: 8.375 kB / 0.4927 GB, free: 7.363 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.814e-05/0.1356, allocations: 8.125 kB / 0.4928 GB, free: 7.355 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000276/0.1359, allocations: 116.1 kB / 0.4929 GB, free: 7.227 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.1359, allocations: 0 / 0.4929 GB, free: 7.227 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.729e-05/0.136, allocations: 3.984 kB / 0.4929 GB, free: 7.223 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.136, allocations: 4 kB / 0.4929 GB, free: 7.219 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001591/0.1361, allocations: 51.91 kB / 0.4929 GB, free: 7.168 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007027/0.1369, allocations: 0.5009 MB / 0.4934 GB, free: 6.609 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003519/0.1372, allocations: 94.59 kB / 0.4935 GB, free: 6.508 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001021/0.1373, allocations: 36.84 kB / 0.4935 GB, free: 6.469 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.603e-05/0.1374, allocations: 0 / 0.4935 GB, free: 6.469 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002215/0.1376, allocations: 83.38 kB / 0.4936 GB, free: 6.375 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.513e-06/0.1376, allocations: 0 / 0.4936 GB, free: 6.375 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004176/0.138, allocations: 141.5 kB / 0.4937 GB, free: 6.23 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.576e-05/0.1381, allocations: 63.33 kB / 0.4938 GB, free: 6.156 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001755/0.1383, allocations: 195.3 kB / 0.494 GB, free: 5.953 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.884e-05/0.1383, allocations: 25.7 kB / 0.494 GB, free: 5.922 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.747e-05/0.1384, allocations: 112 kB / 0.4941 GB, free: 5.809 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.084e-05/0.1384, allocations: 31.64 kB / 0.4942 GB, free: 5.777 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.163e-05/0.1385, allocations: 25.72 kB / 0.4942 GB, free: 5.746 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001293/0.1386, allocations: 331.2 kB / 0.4945 GB, free: 5.414 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.367e-05/0.1387, allocations: 27.98 kB / 0.4945 GB, free: 5.387 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001028/0.1388, allocations: 60.27 kB / 0.4946 GB, free: 5.312 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002034/0.1391, allocations: 104.1 kB / 0.4947 GB, free: 5.195 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.1391, allocations: 0 / 0.4947 GB, free: 5.195 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000283/0.1394, allocations: 133.3 kB / 0.4948 GB, free: 5.059 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.1394, allocations: 8 kB / 0.4948 GB, free: 5.051 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.1394, allocations: 128 / 0.4948 GB, free: 5.051 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.91e-05/0.1394, allocations: 8 kB / 0.4948 GB, free: 5.043 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001005/0.1395, allocations: 35.8 kB / 0.4949 GB, free: 5.008 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.876e-06/0.1395, allocations: 4 kB / 0.4949 GB, free: 5.004 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.509e-05/0.1396, allocations: 11.91 kB / 0.4949 GB, free: 4.992 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.548e-06/0.1396, allocations: 4 kB / 0.4949 GB, free: 4.988 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.0001102/0.1398, allocations: 133.7 kB / 0.495 GB, free: 4.848 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.995e-05/0.1398, allocations: 15.81 kB / 0.495 GB, free: 4.832 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.568e-05/0.1398, allocations: 13.41 kB / 0.495 GB, free: 4.812 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.1399, allocations: 7.938 kB / 0.495 GB, free: 4.805 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/0.1399, allocations: 3.984 kB / 0.495 GB, free: 4.801 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.1399, allocations: 0 / 0.495 GB, free: 4.801 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001777/0.1401, allocations: 213.5 kB / 0.4952 GB, free: 4.543 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.1401, allocations: 0 / 0.4952 GB, free: 4.543 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.298e-05/0.1402, allocations: 12 kB / 0.4953 GB, free: 4.531 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.025e-06/0.1402, allocations: 0 / 0.4953 GB, free: 4.531 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.316e-05/0.1402, allocations: 4 kB / 0.4953 GB, free: 4.527 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.785e-06/0.1402, allocations: 15.91 kB / 0.4953 GB, free: 4.512 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.1402, allocations: 0 / 0.4953 GB, free: 4.512 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000361/0.1406, allocations: 184.9 kB / 0.4955 GB, free: 4.312 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.309e-05/0.1406, allocations: 85.05 kB / 0.4955 GB, free: 4.211 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.522e-05/0.1407, allocations: 0 / 0.4955 GB, free: 4.211 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.279e-05/0.1407, allocations: 11.92 kB / 0.4955 GB, free: 4.199 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.75e-05/0.1408, allocations: 11.98 kB / 0.4956 GB, free: 4.188 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.515e-05/0.1408, allocations: 0 / 0.4956 GB, free: 4.188 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001099/0.1409, allocations: 141.3 kB / 0.4957 GB, free: 4.051 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1409, allocations: 0 / 0.4957 GB, free: 4.051 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002507/0.1412, allocations: 32.11 kB / 0.4957 GB, free: 4.02 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.0009553/0.1422, allocations: 426.5 kB / 0.4961 GB, free: 3.637 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002597/0.1424, allocations: 79.89 kB / 0.4962 GB, free: 3.559 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.1424, allocations: 256 / 0.4962 GB, free: 3.559 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001103/0.1426, allocations: 39.92 kB / 0.4962 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.0003138/0.1429, allocations: 46.86 kB / 0.4963 GB, free: 3.477 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006022/0.1435, allocations: 277.6 kB / 0.4966 GB, free: 3.172 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003054/0.1438, allocations: 0.7201 MB / 0.4973 GB, free: 2.426 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.719e-05/0.1439, allocations: 19.44 kB / 0.4973 GB, free: 2.406 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1439, allocations: 0 / 0.4973 GB, free: 2.406 MB / 382.1 MB Notification: Performance of Templates: time 0.004297/0.1482, allocations: 2.166 MB / 0.4994 GB, free: 244 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