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.001301/0.001301, allocations: 115.1 kB / 17.04 MB, free: 6.129 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.001209/0.001209, allocations: 193.7 kB / 17.98 MB, free: 5.227 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.858/1.858, allocations: 205.1 MB / 223.8 MB, free: 12.27 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.2379/0.2379, allocations: 43.52 MB / 314.7 MB, free: 492 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.001383/0.001383, allocations: 73.84 kB / 442.5 MB, free: 5.637 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1258/0.1272, allocations: 57.79 MB / 0.4886 GB, free: 11.77 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test61): time 0.003796/0.1311, allocations: 1.651 MB / 0.4902 GB, free: 10.11 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001294/0.1324, allocations: 0.7883 MB / 0.4909 GB, free: 9.316 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.082e-05/0.1325, allocations: 3.938 kB / 0.4909 GB, free: 9.312 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003093/0.1328, allocations: 51.81 kB / 0.491 GB, free: 9.262 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002255/0.1331, allocations: 63.69 kB / 0.491 GB, free: 9.199 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002486/0.1333, allocations: 83.77 kB / 0.4911 GB, free: 9.117 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001642/0.1335, allocations: 91.7 kB / 0.4912 GB, free: 9.027 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.442e-05/0.1335, allocations: 11.97 kB / 0.4912 GB, free: 9.016 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.708e-05/0.1336, allocations: 35.8 kB / 0.4913 GB, free: 8.98 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.642e-05/0.1337, allocations: 27.84 kB / 0.4913 GB, free: 8.953 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.797e-05/0.1337, allocations: 4 kB / 0.4913 GB, free: 8.949 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.399e-05/0.1338, allocations: 35.98 kB / 0.4913 GB, free: 8.914 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.855e-05/0.1339, allocations: 19.92 kB / 0.4913 GB, free: 8.895 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.219e-05/0.134, allocations: 39.67 kB / 0.4914 GB, free: 8.855 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001946/0.1342, allocations: 119.6 kB / 0.4915 GB, free: 8.738 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.1342, allocations: 3.938 kB / 0.4915 GB, free: 8.734 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1342, allocations: 0 / 0.4915 GB, free: 8.734 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.869e-06/0.1342, allocations: 0 / 0.4915 GB, free: 8.734 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.0005503/0.1347, allocations: 438.1 kB / 0.4919 GB, free: 8.262 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.1348, allocations: 11.89 kB / 0.4919 GB, free: 8.25 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.276e-05/0.1349, allocations: 20.83 kB / 0.4919 GB, free: 8.23 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002635/0.1351, allocations: 215.8 kB / 0.4922 GB, free: 7.98 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.27e-05/0.1351, allocations: 384 / 0.4922 GB, free: 7.98 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.564e-05/0.1352, allocations: 12.11 kB / 0.4922 GB, free: 7.969 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001376/0.1353, allocations: 45.62 kB / 0.4922 GB, free: 7.918 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.1353, allocations: 0 / 0.4922 GB, free: 7.918 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.977e-06/0.1353, allocations: 0 / 0.4922 GB, free: 7.918 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.1353, allocations: 0 / 0.4922 GB, free: 7.918 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.84e-05/0.1354, allocations: 15.98 kB / 0.4922 GB, free: 7.902 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001958/0.1356, allocations: 197.7 kB / 0.4924 GB, free: 7.66 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000159/0.1358, allocations: 46.62 kB / 0.4925 GB, free: 7.605 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.551e-05/0.1359, allocations: 24.78 kB / 0.4925 GB, free: 7.578 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.048e-05/0.1359, allocations: 3.984 kB / 0.4925 GB, free: 7.574 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001453/0.136, allocations: 79.23 kB / 0.4926 GB, free: 7.484 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.282e-06/0.1361, allocations: 0 / 0.4926 GB, free: 7.484 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002694/0.1363, allocations: 89.58 kB / 0.4926 GB, free: 7.391 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.736e-05/0.1364, allocations: 55.41 kB / 0.4927 GB, free: 7.324 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002289/0.1366, allocations: 262.5 kB / 0.493 GB, free: 7.051 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.494e-05/0.1366, allocations: 25.7 kB / 0.493 GB, free: 7.02 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.419e-05/0.1367, allocations: 116.1 kB / 0.4931 GB, free: 6.902 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.586e-05/0.1368, allocations: 19.73 kB / 0.4931 GB, free: 6.883 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.059e-05/0.1368, allocations: 25.66 kB / 0.4931 GB, free: 6.852 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001196/0.1369, allocations: 326.8 kB / 0.4934 GB, free: 6.523 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.106e-05/0.137, allocations: 15.98 kB / 0.4935 GB, free: 6.508 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.268e-05/0.137, allocations: 25.72 kB / 0.4935 GB, free: 6.477 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.411e-05/0.1371, allocations: 45.95 kB / 0.4935 GB, free: 6.426 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.1371, allocations: 0 / 0.4935 GB, free: 6.426 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000151/0.1373, allocations: 93.38 kB / 0.4936 GB, free: 6.328 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.1373, allocations: 11.98 kB / 0.4936 GB, free: 6.316 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.1373, allocations: 0 / 0.4936 GB, free: 6.316 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.1374, allocations: 0 / 0.4936 GB, free: 6.316 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.614e-05/0.1374, allocations: 8 kB / 0.4936 GB, free: 6.309 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.1375, allocations: 0 / 0.4936 GB, free: 6.309 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.257e-05/0.1375, allocations: 4 kB / 0.4936 GB, free: 6.305 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.817e-06/0.1375, allocations: 4 kB / 0.4936 GB, free: 6.301 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.0001031/0.1376, allocations: 145.7 kB / 0.4938 GB, free: 6.148 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.48e-05/0.1377, allocations: 15.81 kB / 0.4938 GB, free: 6.133 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.059e-05/0.1377, allocations: 20.98 kB / 0.4938 GB, free: 6.109 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.1377, allocations: 0 / 0.4938 GB, free: 6.109 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.1377, allocations: 0 / 0.4938 GB, free: 6.109 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.1377, allocations: 0 / 0.4938 GB, free: 6.109 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001548/0.1379, allocations: 197.6 kB / 0.494 GB, free: 5.867 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.1379, allocations: 0 / 0.494 GB, free: 5.867 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.034e-05/0.1379, allocations: 4 kB / 0.494 GB, free: 5.863 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.1379, allocations: 0 / 0.494 GB, free: 5.863 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.122e-05/0.1379, allocations: 7.984 kB / 0.494 GB, free: 5.855 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.138, allocations: 4 kB / 0.494 GB, free: 5.852 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.138, allocations: 0 / 0.494 GB, free: 5.852 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000187/0.1382, allocations: 108.9 kB / 0.4941 GB, free: 5.727 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.66e-05/0.1382, allocations: 96.98 kB / 0.4942 GB, free: 5.613 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.094e-05/0.1382, allocations: 128 / 0.4942 GB, free: 5.613 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.451e-05/0.1383, allocations: 11.94 kB / 0.4942 GB, free: 5.602 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.06e-05/0.1383, allocations: 0 / 0.4942 GB, free: 5.602 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.586e-05/0.1383, allocations: 11.92 kB / 0.4942 GB, free: 5.59 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000162/0.1385, allocations: 200.5 kB / 0.4944 GB, free: 5.395 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1385, allocations: 0 / 0.4944 GB, free: 5.395 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002051/0.1387, allocations: 12 kB / 0.4944 GB, free: 5.383 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.0009159/0.1396, allocations: 412.7 kB / 0.4948 GB, free: 5.012 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000159/0.1398, allocations: 39.97 kB / 0.4949 GB, free: 4.973 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.1398, allocations: 0 / 0.4949 GB, free: 4.973 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.248e-05/0.1399, allocations: 24 kB / 0.4949 GB, free: 4.949 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002687/0.1402, allocations: 40.16 kB / 0.4949 GB, free: 4.91 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005072/0.1407, allocations: 292.3 kB / 0.4952 GB, free: 4.594 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003404/0.141, allocations: 0.708 MB / 0.4959 GB, free: 3.859 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.932e-05/0.1411, allocations: 23.42 kB / 0.4959 GB, free: 3.836 MB / 382.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1411, allocations: 0 / 0.4959 GB, free: 3.836 MB / 382.1 MB Notification: Performance of Templates: time 0.003941/0.145, allocations: 1.827 MB / 0.4977 GB, free: 2.012 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