Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.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.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64") translateModel(ModelicaTest.Tables.CombiTimeTable.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001351/0.001351, allocations: 111.2 kB / 16.41 MB, free: 6.027 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.001453/0.001453, allocations: 185.8 kB / 17.34 MB, free: 5.633 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.554/1.554, allocations: 205.1 MB / 223.2 MB, free: 12.26 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.2203/0.2203, allocations: 43.53 MB / 314.1 MB, free: 456 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.001485/0.001485, allocations: 79.89 kB / 441.9 MB, free: 5.594 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1163/0.1178, allocations: 57.79 MB / 499.7 MB, free: 11.73 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test64): time 0.003582/0.1214, allocations: 1.646 MB / 0.4896 GB, free: 10.07 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001607/0.123, allocations: 0.7883 MB / 0.4903 GB, free: 9.273 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.976e-05/0.1231, allocations: 0 / 0.4903 GB, free: 9.273 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003392/0.1235, allocations: 55.73 kB / 0.4904 GB, free: 9.219 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002618/0.1238, allocations: 63.77 kB / 0.4904 GB, free: 9.156 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002755/0.1241, allocations: 87.75 kB / 0.4905 GB, free: 9.07 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001664/0.1243, allocations: 87.7 kB / 0.4906 GB, free: 8.984 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.454e-05/0.1243, allocations: 7.984 kB / 0.4906 GB, free: 8.977 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001059/0.1244, allocations: 47.77 kB / 0.4907 GB, free: 8.93 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.938e-05/0.1245, allocations: 27.8 kB / 0.4907 GB, free: 8.902 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.124e-05/0.1245, allocations: 8 kB / 0.4907 GB, free: 8.895 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.963e-05/0.1246, allocations: 27.98 kB / 0.4907 GB, free: 8.867 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.315e-05/0.1247, allocations: 23.91 kB / 0.4907 GB, free: 8.844 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.853e-05/0.1248, allocations: 39.69 kB / 0.4908 GB, free: 8.805 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00021/0.125, allocations: 119.6 kB / 0.4909 GB, free: 8.688 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.125, allocations: 0 / 0.4909 GB, free: 8.688 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.125, allocations: 0 / 0.4909 GB, free: 8.688 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.448e-06/0.125, allocations: 0 / 0.4909 GB, free: 8.688 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.0005829/0.1256, allocations: 442.1 kB / 0.4913 GB, free: 8.211 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.486e-05/0.1257, allocations: 11.89 kB / 0.4913 GB, free: 8.199 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.885e-05/0.1257, allocations: 16.84 kB / 0.4913 GB, free: 8.184 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003428/0.1261, allocations: 215.7 kB / 0.4916 GB, free: 7.934 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.416e-05/0.1261, allocations: 384 / 0.4916 GB, free: 7.934 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.443e-05/0.1261, allocations: 8.125 kB / 0.4916 GB, free: 7.926 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001595/0.1263, allocations: 53.66 kB / 0.4916 GB, free: 7.867 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.256e-06/0.1263, allocations: 0 / 0.4916 GB, free: 7.867 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.087e-05/0.1263, allocations: 0 / 0.4916 GB, free: 7.867 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.613e-06/0.1263, allocations: 4 kB / 0.4916 GB, free: 7.863 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.542e-05/0.1264, allocations: 15.98 kB / 0.4916 GB, free: 7.848 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002179/0.1266, allocations: 193.6 kB / 0.4918 GB, free: 7.609 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001693/0.1268, allocations: 50.62 kB / 0.4919 GB, free: 7.551 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.688e-05/0.1269, allocations: 24.78 kB / 0.4919 GB, free: 7.523 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.333e-05/0.1269, allocations: 0 / 0.4919 GB, free: 7.523 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001462/0.1271, allocations: 75.23 kB / 0.492 GB, free: 7.438 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.182e-06/0.1271, allocations: 0 / 0.492 GB, free: 7.438 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002669/0.1273, allocations: 93.52 kB / 0.4921 GB, free: 7.34 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.765e-05/0.1274, allocations: 55.41 kB / 0.4921 GB, free: 7.273 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002412/0.1276, allocations: 258.5 kB / 0.4924 GB, free: 7.004 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.636e-05/0.1277, allocations: 29.7 kB / 0.4924 GB, free: 6.969 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.988e-05/0.1277, allocations: 112.1 kB / 0.4925 GB, free: 6.855 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.553e-05/0.1278, allocations: 15.69 kB / 0.4925 GB, free: 6.84 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.74e-05/0.1278, allocations: 29.7 kB / 0.4925 GB, free: 6.805 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001185/0.128, allocations: 326.8 kB / 0.4928 GB, free: 6.477 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.939e-05/0.128, allocations: 12 kB / 0.4929 GB, free: 6.465 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.132e-05/0.1281, allocations: 25.7 kB / 0.4929 GB, free: 6.434 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001042/0.1282, allocations: 53.89 kB / 0.4929 GB, free: 6.375 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.1282, allocations: 0 / 0.4929 GB, free: 6.375 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000152/0.1284, allocations: 85.44 kB / 0.493 GB, free: 6.285 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.1284, allocations: 11.94 kB / 0.493 GB, free: 6.273 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.1284, allocations: 0 / 0.493 GB, free: 6.273 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.1284, allocations: 0 / 0.493 GB, free: 6.273 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.452e-05/0.1285, allocations: 11.98 kB / 0.493 GB, free: 6.262 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/0.1285, allocations: 4 kB / 0.493 GB, free: 6.258 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.472e-05/0.1285, allocations: 4 kB / 0.493 GB, free: 6.254 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.494e-06/0.1286, allocations: 4 kB / 0.493 GB, free: 6.25 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.0001059/0.1287, allocations: 137.7 kB / 0.4932 GB, free: 6.105 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.224e-05/0.1287, allocations: 15.81 kB / 0.4932 GB, free: 6.09 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.568e-05/0.1288, allocations: 20.98 kB / 0.4932 GB, free: 6.066 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.1288, allocations: 0 / 0.4932 GB, free: 6.066 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.1288, allocations: 0 / 0.4932 GB, free: 6.066 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.1288, allocations: 0 / 0.4932 GB, free: 6.066 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001533/0.1289, allocations: 197.6 kB / 0.4934 GB, free: 5.824 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.1289, allocations: 0 / 0.4934 GB, free: 5.824 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.974e-05/0.129, allocations: 4 kB / 0.4934 GB, free: 5.82 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.129, allocations: 0 / 0.4934 GB, free: 5.82 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.247e-05/0.129, allocations: 4 kB / 0.4934 GB, free: 5.816 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.129, allocations: 8.094 kB / 0.4934 GB, free: 5.809 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.129, allocations: 0 / 0.4934 GB, free: 5.809 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001843/0.1292, allocations: 116.9 kB / 0.4935 GB, free: 5.676 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.609e-05/0.1292, allocations: 88.95 kB / 0.4936 GB, free: 5.57 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.726e-05/0.1293, allocations: 8.109 kB / 0.4936 GB, free: 5.562 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.83e-05/0.1293, allocations: 4 kB / 0.4936 GB, free: 5.559 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.043e-05/0.1294, allocations: 4 kB / 0.4936 GB, free: 5.555 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.509e-05/0.1294, allocations: 8 kB / 0.4936 GB, free: 5.547 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001962/0.1296, allocations: 196.5 kB / 0.4938 GB, free: 5.355 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1296, allocations: 0 / 0.4938 GB, free: 5.355 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002171/0.1298, allocations: 16 kB / 0.4938 GB, free: 5.34 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (5): * Single equations (assignments): 3 * 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.0009622/0.1308, allocations: 415.3 kB / 0.4942 GB, free: 4.965 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001714/0.131, allocations: 43.92 kB / 0.4943 GB, free: 4.922 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.131, allocations: 0 / 0.4943 GB, free: 4.922 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.132e-05/0.1311, allocations: 24.05 kB / 0.4943 GB, free: 4.898 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002672/0.1313, allocations: 35.31 kB / 0.4943 GB, free: 4.867 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005001/0.1318, allocations: 274.5 kB / 0.4946 GB, free: 4.574 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004015/0.1322, allocations: 0.708 MB / 0.4953 GB, free: 3.84 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.056e-05/0.1323, allocations: 12.55 kB / 0.4953 GB, free: 3.828 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.74e-05/0.1324, allocations: 19.44 kB / 0.4953 GB, free: 3.809 MB / 382.1 MB Notification: Performance of SimCode: time 1.823e-06/0.1324, allocations: 0 / 0.4953 GB, free: 3.809 MB / 382.1 MB Notification: Performance of Templates: time 0.005366/0.1377, allocations: 1.502 MB / 0.4968 GB, free: 2.305 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test64/Test64.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches