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.001574/0.001574, allocations: 105.9 kB / 16.4 MB, free: 6.398 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.001466/0.001466, allocations: 195.2 kB / 17.34 MB, free: 5.691 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.7/1.7, allocations: 205.1 MB / 223.2 MB, free: 12.2 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.2232/0.2232, allocations: 43.53 MB / 314.1 MB, free: 448 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.001384/0.001384, allocations: 70.03 kB / 441.9 MB, free: 5.586 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1196/0.1209, allocations: 57.8 MB / 499.7 MB, free: 11.71 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test11): time 0.003369/0.1244, allocations: 1.901 MB / 0.4898 GB, free: 9.793 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001431/0.1258, allocations: 0.839 MB / 0.4906 GB, free: 8.945 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001073/0.1259, allocations: 0 / 0.4906 GB, free: 8.945 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003026/0.1263, allocations: 43.7 kB / 0.4907 GB, free: 8.902 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002369/0.1265, allocations: 67.62 kB / 0.4907 GB, free: 8.836 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003221/0.1269, allocations: 103.7 kB / 0.4908 GB, free: 8.734 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002082/0.1271, allocations: 131.6 kB / 0.491 GB, free: 8.605 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001173/0.1272, allocations: 33.47 kB / 0.491 GB, free: 8.566 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001038/0.1273, allocations: 59.7 kB / 0.491 GB, free: 8.508 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.234e-05/0.1274, allocations: 55.64 kB / 0.4911 GB, free: 8.453 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.487e-05/0.1274, allocations: 7.938 kB / 0.4911 GB, free: 8.445 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001194/0.1276, allocations: 47.98 kB / 0.4912 GB, free: 8.398 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.806e-05/0.1276, allocations: 23.92 kB / 0.4912 GB, free: 8.375 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.645e-05/0.1277, allocations: 55.62 kB / 0.4912 GB, free: 8.32 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002588/0.128, allocations: 151.3 kB / 0.4914 GB, free: 8.172 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.128, allocations: 0 / 0.4914 GB, free: 8.172 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.128, allocations: 3.938 kB / 0.4914 GB, free: 8.168 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.382e-06/0.128, allocations: 0 / 0.4914 GB, free: 8.168 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.000625/0.1286, allocations: 484.2 kB / 0.4918 GB, free: 7.641 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.955e-05/0.1287, allocations: 11.89 kB / 0.4919 GB, free: 7.629 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.43e-05/0.1287, allocations: 16.84 kB / 0.4919 GB, free: 7.613 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000264/0.129, allocations: 224.2 kB / 0.4921 GB, free: 7.355 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.609e-05/0.129, allocations: 4.375 kB / 0.4921 GB, free: 7.352 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.496e-05/0.1291, allocations: 20.02 kB / 0.4921 GB, free: 7.332 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002288/0.1293, allocations: 108 kB / 0.4922 GB, free: 7.215 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.1293, allocations: 0 / 0.4922 GB, free: 7.215 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.241e-05/0.1293, allocations: 0 / 0.4922 GB, free: 7.215 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.1294, allocations: 8 kB / 0.4922 GB, free: 7.207 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001442/0.1295, allocations: 51.89 kB / 0.4923 GB, free: 7.156 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005512/0.1301, allocations: 0.5049 MB / 0.4928 GB, free: 6.594 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002995/0.1304, allocations: 90.59 kB / 0.4928 GB, free: 6.496 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.89e-05/0.1305, allocations: 36.84 kB / 0.4929 GB, free: 6.457 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.822e-05/0.1305, allocations: 0 / 0.4929 GB, free: 6.457 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001829/0.1307, allocations: 91.31 kB / 0.493 GB, free: 6.355 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 2.615e-06/0.1307, allocations: 7.984 kB / 0.493 GB, free: 6.348 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003603/0.1311, allocations: 141.5 kB / 0.4931 GB, free: 6.203 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.023e-05/0.1311, allocations: 55.34 kB / 0.4932 GB, free: 6.137 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001585/0.1313, allocations: 187.8 kB / 0.4933 GB, free: 5.941 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.864e-05/0.1313, allocations: 33.69 kB / 0.4934 GB, free: 5.902 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.298e-05/0.1314, allocations: 108.1 kB / 0.4935 GB, free: 5.793 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.667e-05/0.1314, allocations: 31.73 kB / 0.4935 GB, free: 5.762 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.888e-05/0.1315, allocations: 41.64 kB / 0.4935 GB, free: 5.715 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.585e-05/0.1316, allocations: 322.8 kB / 0.4939 GB, free: 5.391 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.159e-05/0.1317, allocations: 27.98 kB / 0.4939 GB, free: 5.363 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.108e-05/0.1318, allocations: 64.27 kB / 0.4939 GB, free: 5.285 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001766/0.1319, allocations: 100.2 kB / 0.494 GB, free: 5.172 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.132, allocations: 0 / 0.494 GB, free: 5.172 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002526/0.1322, allocations: 133.4 kB / 0.4942 GB, free: 5.035 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.1322, allocations: 8.109 kB / 0.4942 GB, free: 5.027 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.042e-06/0.1323, allocations: 8 kB / 0.4942 GB, free: 5.02 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/0.1323, allocations: 3.938 kB / 0.4942 GB, free: 5.016 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.458e-05/0.1324, allocations: 27.94 kB / 0.4942 GB, free: 4.988 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.273e-06/0.1324, allocations: 3.984 kB / 0.4942 GB, free: 4.984 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.808e-05/0.1325, allocations: 15.89 kB / 0.4942 GB, free: 4.969 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.797e-06/0.1325, allocations: 4 kB / 0.4942 GB, free: 4.965 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.429e-05/0.1326, allocations: 133.7 kB / 0.4944 GB, free: 4.824 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.678e-05/0.1326, allocations: 15.91 kB / 0.4944 GB, free: 4.809 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.819e-05/0.1327, allocations: 21.41 kB / 0.4944 GB, free: 4.781 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.1327, allocations: 3.938 kB / 0.4944 GB, free: 4.777 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.1327, allocations: 0 / 0.4944 GB, free: 4.777 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.1327, allocations: 0 / 0.4944 GB, free: 4.777 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001922/0.1329, allocations: 201.6 kB / 0.4946 GB, free: 4.531 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.1329, allocations: 0 / 0.4946 GB, free: 4.531 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.298e-05/0.133, allocations: 15.98 kB / 0.4946 GB, free: 4.516 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.133, allocations: 0 / 0.4946 GB, free: 4.516 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.339e-05/0.133, allocations: 4 kB / 0.4946 GB, free: 4.512 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.133, allocations: 3.938 kB / 0.4946 GB, free: 4.508 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.133, allocations: 96 / 0.4946 GB, free: 4.508 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003478/0.1334, allocations: 188.8 kB / 0.4948 GB, free: 4.305 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.056e-05/0.1334, allocations: 92.98 kB / 0.4949 GB, free: 4.195 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.426e-05/0.1335, allocations: 4 kB / 0.4949 GB, free: 4.191 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.104e-05/0.1335, allocations: 15.92 kB / 0.4949 GB, free: 4.176 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.182e-05/0.1336, allocations: 3.938 kB / 0.4949 GB, free: 4.172 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.346e-05/0.1336, allocations: 8.062 kB / 0.4949 GB, free: 4.164 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001084/0.1337, allocations: 141.2 kB / 0.495 GB, free: 4.027 MB / 382.1 MB Notification: Performance of sort global known variables: time 4.11e-07/0.1337, allocations: 0 / 0.495 GB, free: 4.027 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002268/0.1339, allocations: 27.98 kB / 0.4951 GB, free: 4 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.0009325/0.1349, allocations: 420.2 kB / 0.4955 GB, free: 3.621 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002524/0.1351, allocations: 75.91 kB / 0.4955 GB, free: 3.547 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.1352, allocations: 4.25 kB / 0.4956 GB, free: 3.543 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001123/0.1353, allocations: 43.91 kB / 0.4956 GB, free: 3.5 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003591/0.1357, allocations: 42.95 kB / 0.4956 GB, free: 3.465 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000534/0.1362, allocations: 267.7 kB / 0.4959 GB, free: 3.176 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002935/0.1365, allocations: 0.7162 MB / 0.4966 GB, free: 2.434 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.906e-05/0.1366, allocations: 21.42 kB / 0.4966 GB, free: 2.414 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.981e-05/0.1366, allocations: 15.44 kB / 0.4966 GB, free: 2.398 MB / 382.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1366, allocations: 3.938 kB / 0.4966 GB, free: 2.395 MB / 382.1 MB Notification: Performance of Templates: time 0.005259/0.1419, allocations: 1.882 MB / 0.4985 GB, free: 0.5117 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