Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.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.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61") translateModel(ModelicaTest.Tables.CombiTimeTable.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001398/0.001399, allocations: 101.9 kB / 17.08 MB, free: 5.82 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.001417/0.001417, allocations: 195.3 kB / 18.02 MB, free: 4.965 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.42/1.42, allocations: 205.1 MB / 223.9 MB, free: 12.24 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.1997/0.1997, allocations: 43.53 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.0017/0.0017, allocations: 68.23 kB / 442.5 MB, free: 5.633 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1218/0.1235, allocations: 57.8 MB / 0.4886 GB, free: 11.75 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test61): time 0.003394/0.1269, allocations: 1.644 MB / 0.4902 GB, free: 10.09 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001453/0.1284, allocations: 0.7936 MB / 0.491 GB, free: 9.285 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001084/0.1285, allocations: 3.938 kB / 0.491 GB, free: 9.281 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003743/0.129, allocations: 47.81 kB / 0.4911 GB, free: 9.234 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002951/0.1293, allocations: 67.69 kB / 0.4911 GB, free: 9.168 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003043/0.1296, allocations: 75.78 kB / 0.4912 GB, free: 9.094 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002308/0.1298, allocations: 91.69 kB / 0.4913 GB, free: 9.004 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.333e-05/0.1299, allocations: 11.97 kB / 0.4913 GB, free: 8.992 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001099/0.13, allocations: 39.8 kB / 0.4913 GB, free: 8.953 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.854e-05/0.1301, allocations: 23.86 kB / 0.4913 GB, free: 8.93 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.812e-05/0.1302, allocations: 4 kB / 0.4914 GB, free: 8.926 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001141/0.1303, allocations: 39.97 kB / 0.4914 GB, free: 8.887 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.529e-05/0.1304, allocations: 19.92 kB / 0.4914 GB, free: 8.867 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.886e-05/0.1304, allocations: 39.62 kB / 0.4914 GB, free: 8.828 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002407/0.1307, allocations: 119.6 kB / 0.4916 GB, free: 8.711 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.1307, allocations: 0 / 0.4916 GB, free: 8.711 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.1307, allocations: 0 / 0.4916 GB, free: 8.711 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.685e-06/0.1307, allocations: 0 / 0.4916 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.0005783/0.1313, allocations: 434.7 kB / 0.492 GB, free: 8.238 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.604e-05/0.1314, allocations: 15.88 kB / 0.492 GB, free: 8.223 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.953e-05/0.1314, allocations: 16.84 kB / 0.492 GB, free: 8.207 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002985/0.1317, allocations: 211.8 kB / 0.4922 GB, free: 7.961 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.708e-05/0.1318, allocations: 8.359 kB / 0.4922 GB, free: 7.953 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.515e-05/0.1318, allocations: 8.125 kB / 0.4922 GB, free: 7.945 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001439/0.1319, allocations: 45.62 kB / 0.4923 GB, free: 7.895 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.146e-06/0.132, allocations: 0 / 0.4923 GB, free: 7.895 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.388e-05/0.132, allocations: 3.984 kB / 0.4923 GB, free: 7.891 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.132, allocations: 0 / 0.4923 GB, free: 7.891 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.111e-05/0.1321, allocations: 12 kB / 0.4923 GB, free: 7.879 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002197/0.1323, allocations: 197.7 kB / 0.4925 GB, free: 7.637 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001506/0.1324, allocations: 50.61 kB / 0.4925 GB, free: 7.578 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.36e-05/0.1325, allocations: 24.78 kB / 0.4925 GB, free: 7.551 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.994e-05/0.1325, allocations: 0 / 0.4925 GB, free: 7.551 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001563/0.1327, allocations: 79.23 kB / 0.4926 GB, free: 7.461 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.582e-06/0.1327, allocations: 0 / 0.4926 GB, free: 7.461 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002858/0.133, allocations: 93.58 kB / 0.4927 GB, free: 7.363 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.99e-05/0.133, allocations: 59.34 kB / 0.4928 GB, free: 7.293 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002358/0.1333, allocations: 258.5 kB / 0.493 GB, free: 7.023 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.433e-05/0.1333, allocations: 25.7 kB / 0.493 GB, free: 6.992 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.647e-05/0.1334, allocations: 112.1 kB / 0.4931 GB, free: 6.879 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.614e-05/0.1334, allocations: 19.73 kB / 0.4932 GB, free: 6.859 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.819e-05/0.1335, allocations: 25.66 kB / 0.4932 GB, free: 6.828 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001188/0.1336, allocations: 330.8 kB / 0.4935 GB, free: 6.496 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.445e-05/0.1336, allocations: 15.98 kB / 0.4935 GB, free: 6.48 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.839e-05/0.1337, allocations: 21.72 kB / 0.4935 GB, free: 6.453 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.281e-05/0.1338, allocations: 41.7 kB / 0.4936 GB, free: 6.406 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.1338, allocations: 0 / 0.4936 GB, free: 6.406 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001627/0.134, allocations: 97.38 kB / 0.4937 GB, free: 6.305 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/0.134, allocations: 11.98 kB / 0.4937 GB, free: 6.293 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.134, allocations: 0 / 0.4937 GB, free: 6.293 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.134, allocations: 0 / 0.4937 GB, free: 6.293 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.726e-05/0.1341, allocations: 8 kB / 0.4937 GB, free: 6.285 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.746e-06/0.1341, allocations: 0 / 0.4937 GB, free: 6.285 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.576e-05/0.1342, allocations: 4 kB / 0.4937 GB, free: 6.281 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.556e-06/0.1342, allocations: 4 kB / 0.4937 GB, free: 6.277 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 0.0001179/0.1343, allocations: 141.7 kB / 0.4938 GB, free: 6.129 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.64e-05/0.1344, allocations: 23.73 kB / 0.4939 GB, free: 6.105 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.354e-05/0.1344, allocations: 17 kB / 0.4939 GB, free: 6.086 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.1344, allocations: 0 / 0.4939 GB, free: 6.086 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.1344, allocations: 0 / 0.4939 GB, free: 6.086 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.88e-05/0.1345, allocations: 89 kB / 0.494 GB, free: 5.98 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.192e-05/0.1345, allocations: 0 / 0.494 GB, free: 5.98 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.989e-05/0.1346, allocations: 0 / 0.494 GB, free: 5.98 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.237e-05/0.1346, allocations: 4 kB / 0.494 GB, free: 5.977 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000187/0.1348, allocations: 164.9 kB / 0.4941 GB, free: 5.809 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002845/0.1351, allocations: 267 kB / 0.4944 GB, free: 5.531 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.728e-05/0.1352, allocations: 19.98 kB / 0.4944 GB, free: 5.512 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00016/0.1353, allocations: 192.5 kB / 0.4946 GB, free: 5.324 MB / 382.1 MB Notification: Performance of Backend: time 4.51e-07/0.1353, allocations: 4 kB / 0.4946 GB, free: 5.32 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00122/0.1366, allocations: 441.5 kB / 0.495 GB, free: 4.926 MB / 382.1 MB Notification: Performance of SimCode: time 0.0007093/0.1373, allocations: 0.7023 MB / 0.4957 GB, free: 4.176 MB / 382.1 MB Notification: Performance of Templates: time 0.004751/0.1421, allocations: 1.553 MB / 0.4972 GB, free: 2.621 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test61/Test61.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches