Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.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.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85") translateModel(ModelicaTest.Tables.CombiTimeTable.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001543/0.001543, allocations: 100.9 kB / 17.08 MB, free: 5.988 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.001355/0.001355, allocations: 198.2 kB / 18.02 MB, free: 5.07 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.373/1.373, 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.2014/0.2014, allocations: 43.52 MB / 314.8 MB, free: 468 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.00146/0.00146, allocations: 72.45 kB / 442.6 MB, free: 5.598 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1221/0.1236, allocations: 57.79 MB / 0.4886 GB, free: 11.73 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test85): time 0.003151/0.1268, allocations: 1.644 MB / 0.4902 GB, free: 10.07 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00135/0.1282, allocations: 0.7858 MB / 0.491 GB, free: 9.281 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.446e-05/0.1283, allocations: 0 / 0.491 GB, free: 9.281 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003349/0.1286, allocations: 59.73 kB / 0.491 GB, free: 9.223 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002501/0.1289, allocations: 55.75 kB / 0.4911 GB, free: 9.168 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002665/0.1292, allocations: 83.77 kB / 0.4912 GB, free: 9.086 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000198/0.1294, allocations: 99.69 kB / 0.4913 GB, free: 8.988 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.559e-05/0.1295, allocations: 11.98 kB / 0.4913 GB, free: 8.977 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001205/0.1296, allocations: 43.77 kB / 0.4913 GB, free: 8.934 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001108/0.1297, allocations: 43.78 kB / 0.4914 GB, free: 8.891 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.923e-05/0.1297, allocations: 0 / 0.4914 GB, free: 8.891 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001164/0.1299, allocations: 31.98 kB / 0.4914 GB, free: 8.859 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.468e-05/0.1299, allocations: 19.92 kB / 0.4914 GB, free: 8.84 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.456e-05/0.13, allocations: 23.81 kB / 0.4914 GB, free: 8.816 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002084/0.1302, allocations: 95.7 kB / 0.4915 GB, free: 8.723 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.1302, allocations: 3.984 kB / 0.4915 GB, free: 8.719 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.935e-06/0.1302, allocations: 0 / 0.4915 GB, free: 8.719 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.642e-06/0.1303, allocations: 7.938 kB / 0.4915 GB, free: 8.711 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005739/0.1308, allocations: 399 kB / 0.4919 GB, free: 8.273 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.966e-05/0.1309, allocations: 11.89 kB / 0.4919 GB, free: 8.262 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.159e-05/0.1309, allocations: 12.84 kB / 0.4919 GB, free: 8.25 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002984/0.1313, allocations: 208 kB / 0.4921 GB, free: 8.008 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.999e-06/0.1313, allocations: 384 / 0.4921 GB, free: 8.008 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.651e-05/0.1313, allocations: 4.125 kB / 0.4922 GB, free: 8.004 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000147/0.1314, allocations: 53.67 kB / 0.4922 GB, free: 7.945 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.1315, allocations: 0 / 0.4922 GB, free: 7.945 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.459e-05/0.1315, allocations: 4 kB / 0.4922 GB, free: 7.941 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.1315, allocations: 0 / 0.4922 GB, free: 7.941 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.887e-05/0.1316, allocations: 15.92 kB / 0.4922 GB, free: 7.926 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000193/0.1318, allocations: 185.6 kB / 0.4924 GB, free: 7.695 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001708/0.1319, allocations: 50.62 kB / 0.4924 GB, free: 7.637 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.65e-05/0.132, allocations: 28.78 kB / 0.4925 GB, free: 7.605 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.117e-05/0.132, allocations: 0 / 0.4925 GB, free: 7.605 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001424/0.1322, allocations: 71.31 kB / 0.4925 GB, free: 7.523 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.733e-06/0.1322, allocations: 0 / 0.4925 GB, free: 7.523 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002817/0.1325, allocations: 89.58 kB / 0.4926 GB, free: 7.43 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.265e-05/0.1325, allocations: 51.41 kB / 0.4927 GB, free: 7.367 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001569/0.1327, allocations: 174.2 kB / 0.4928 GB, free: 7.188 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.681e-05/0.1327, allocations: 29.64 kB / 0.4929 GB, free: 7.152 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.246e-05/0.1328, allocations: 104.1 kB / 0.493 GB, free: 7.047 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.328e-05/0.1328, allocations: 11.91 kB / 0.493 GB, free: 7.035 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.738e-05/0.1329, allocations: 21.7 kB / 0.493 GB, free: 7.008 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001106/0.133, allocations: 322.8 kB / 0.4933 GB, free: 6.684 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.75e-05/0.133, allocations: 8 kB / 0.4933 GB, free: 6.676 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.522e-05/0.1331, allocations: 33.7 kB / 0.4934 GB, free: 6.637 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.398e-05/0.1332, allocations: 45.64 kB / 0.4934 GB, free: 6.586 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.1332, allocations: 256 / 0.4934 GB, free: 6.586 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001609/0.1334, allocations: 93.38 kB / 0.4935 GB, free: 6.488 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.1334, allocations: 4 kB / 0.4935 GB, free: 6.484 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.1334, allocations: 0 / 0.4935 GB, free: 6.484 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.1334, allocations: 4 kB / 0.4935 GB, free: 6.48 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.632e-05/0.1335, allocations: 8 kB / 0.4935 GB, free: 6.473 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.1335, allocations: 8.016 kB / 0.4935 GB, free: 6.465 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.702e-05/0.1336, allocations: 8 kB / 0.4935 GB, free: 6.457 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.731e-06/0.1336, allocations: 0 / 0.4935 GB, free: 6.457 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.127e-05/0.1337, allocations: 125.6 kB / 0.4936 GB, free: 6.328 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.35e-05/0.1337, allocations: 11.84 kB / 0.4936 GB, free: 6.316 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.825e-05/0.1338, allocations: 16.3 kB / 0.4937 GB, free: 6.297 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.1338, allocations: 0 / 0.4937 GB, free: 6.297 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.1338, allocations: 0 / 0.4937 GB, free: 6.297 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.752e-05/0.1338, allocations: 88.95 kB / 0.4937 GB, free: 6.191 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.236e-05/0.1339, allocations: 4 kB / 0.4937 GB, free: 6.188 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.127e-05/0.1339, allocations: 7.984 kB / 0.4938 GB, free: 6.18 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.228e-05/0.1339, allocations: 3.938 kB / 0.4938 GB, free: 6.176 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001844/0.1341, allocations: 156.9 kB / 0.4939 GB, free: 6.016 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002653/0.1344, allocations: 254.8 kB / 0.4942 GB, free: 5.75 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.532e-05/0.1345, allocations: 23.92 kB / 0.4942 GB, free: 5.727 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.538e-05/0.1346, allocations: 132.1 kB / 0.4943 GB, free: 5.598 MB / 382.1 MB Notification: Performance of Backend: time 4.01e-07/0.1346, allocations: 0 / 0.4943 GB, free: 5.598 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001237/0.1358, allocations: 427.1 kB / 0.4947 GB, free: 5.219 MB / 382.1 MB Notification: Performance of SimCode: time 0.0006662/0.1365, allocations: 0.6556 MB / 0.4953 GB, free: 4.516 MB / 382.1 MB Notification: Performance of Templates: time 0.004562/0.1411, allocations: 1.518 MB / 0.4968 GB, free: 2.996 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test85/Test85.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches