Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.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.Test51,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51") translateModel(ModelicaTest.Tables.CombiTimeTable.Test51,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001352/0.001352, allocations: 107 kB / 16.41 MB, free: 6.508 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.001448/0.001448, allocations: 189.5 kB / 17.34 MB, free: 5.742 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.446/1.446, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.2066/0.2066, allocations: 43.52 MB / 314.1 MB, free: 444 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.001294/0.001294, allocations: 69.47 kB / 441.9 MB, free: 5.57 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1213/0.1226, allocations: 57.79 MB / 499.7 MB, free: 11.71 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test51): time 0.002887/0.1255, allocations: 1.7 MB / 0.4896 GB, free: 9.996 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001268/0.1268, allocations: 0.8078 MB / 0.4904 GB, free: 9.18 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.556e-05/0.1269, allocations: 0 / 0.4904 GB, free: 9.18 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002906/0.1272, allocations: 43.83 kB / 0.4904 GB, free: 9.137 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002055/0.1274, allocations: 63.69 kB / 0.4905 GB, free: 9.074 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002501/0.1277, allocations: 91.7 kB / 0.4906 GB, free: 8.984 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001605/0.1279, allocations: 95.69 kB / 0.4907 GB, free: 8.891 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.87e-05/0.128, allocations: 20.19 kB / 0.4907 GB, free: 8.871 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.32e-05/0.1281, allocations: 39.8 kB / 0.4907 GB, free: 8.832 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.048e-05/0.1281, allocations: 27.84 kB / 0.4908 GB, free: 8.805 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.694e-05/0.1282, allocations: 8 kB / 0.4908 GB, free: 8.797 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.425e-05/0.1283, allocations: 47.92 kB / 0.4908 GB, free: 8.75 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.241e-05/0.1283, allocations: 23.92 kB / 0.4908 GB, free: 8.727 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.329e-05/0.1284, allocations: 47.66 kB / 0.4909 GB, free: 8.68 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001963/0.1286, allocations: 111.7 kB / 0.491 GB, free: 8.57 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.269e-06/0.1286, allocations: 4 kB / 0.491 GB, free: 8.566 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1286, allocations: 0 / 0.491 GB, free: 8.566 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.1286, allocations: 0 / 0.491 GB, free: 8.566 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000565/0.1292, allocations: 430.7 kB / 0.4914 GB, free: 8.098 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.1292, allocations: 11.89 kB / 0.4914 GB, free: 8.086 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.028e-05/0.1293, allocations: 12.84 kB / 0.4914 GB, free: 8.074 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000289/0.1296, allocations: 219.9 kB / 0.4916 GB, free: 7.82 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.341e-05/0.1296, allocations: 384 / 0.4916 GB, free: 7.82 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.359e-05/0.1296, allocations: 8.125 kB / 0.4916 GB, free: 7.812 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001565/0.1298, allocations: 53.67 kB / 0.4917 GB, free: 7.754 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.1298, allocations: 0 / 0.4917 GB, free: 7.754 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.828e-06/0.1298, allocations: 0 / 0.4917 GB, free: 7.754 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.1298, allocations: 0 / 0.4917 GB, free: 7.754 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.534e-05/0.1299, allocations: 19.98 kB / 0.4917 GB, free: 7.734 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003793/0.1303, allocations: 304.8 kB / 0.492 GB, free: 7.387 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000153/0.1305, allocations: 46.69 kB / 0.4921 GB, free: 7.332 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.395e-05/0.1305, allocations: 24.84 kB / 0.4921 GB, free: 7.305 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.175e-05/0.1306, allocations: 0 / 0.4921 GB, free: 7.305 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001412/0.1307, allocations: 71.33 kB / 0.4921 GB, free: 7.223 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.192e-06/0.1307, allocations: 0 / 0.4921 GB, free: 7.223 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005136/0.1312, allocations: 181.2 kB / 0.4923 GB, free: 7.039 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.94e-05/0.1313, allocations: 55.34 kB / 0.4924 GB, free: 6.973 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001973/0.1315, allocations: 222.7 kB / 0.4926 GB, free: 6.742 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.56e-05/0.1315, allocations: 29.7 kB / 0.4926 GB, free: 6.707 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.811e-05/0.1316, allocations: 108.1 kB / 0.4927 GB, free: 6.598 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.617e-05/0.1316, allocations: 23.72 kB / 0.4927 GB, free: 6.574 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.849e-05/0.1317, allocations: 25.72 kB / 0.4928 GB, free: 6.543 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001187/0.1318, allocations: 330.8 kB / 0.4931 GB, free: 6.211 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.603e-05/0.1318, allocations: 20 kB / 0.4931 GB, free: 6.191 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.944e-05/0.1319, allocations: 37.64 kB / 0.4931 GB, free: 6.148 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001068/0.132, allocations: 65.62 kB / 0.4932 GB, free: 6.078 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.132, allocations: 0 / 0.4932 GB, free: 6.078 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001759/0.1322, allocations: 105.4 kB / 0.4933 GB, free: 5.969 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.1322, allocations: 4 kB / 0.4933 GB, free: 5.965 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.1322, allocations: 7.984 kB / 0.4933 GB, free: 5.957 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.1323, allocations: 0 / 0.4933 GB, free: 5.957 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.656e-05/0.1323, allocations: 15.94 kB / 0.4933 GB, free: 5.941 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.05e-06/0.1324, allocations: 0 / 0.4933 GB, free: 5.941 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.528e-05/0.1324, allocations: 7.938 kB / 0.4933 GB, free: 5.934 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.345e-05/0.1324, allocations: 11.98 kB / 0.4933 GB, free: 5.922 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 (10): * Single equations (assignments): 10 * 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.571e-05/0.1325, allocations: 129.8 kB / 0.4935 GB, free: 5.785 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.98e-05/0.1326, allocations: 7.906 kB / 0.4935 GB, free: 5.777 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.609e-05/0.1326, allocations: 25.39 kB / 0.4935 GB, free: 5.746 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.1326, allocations: 0 / 0.4935 GB, free: 5.746 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.1326, allocations: 0 / 0.4935 GB, free: 5.746 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.1326, allocations: 3.938 kB / 0.4935 GB, free: 5.742 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004044/0.133, allocations: 403.2 kB / 0.4939 GB, free: 5.289 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.1331, allocations: 8.031 kB / 0.4939 GB, free: 5.281 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.09e-05/0.1331, allocations: 4 kB / 0.4939 GB, free: 5.277 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.1331, allocations: 4 kB / 0.4939 GB, free: 5.273 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.939e-06/0.1331, allocations: 3.938 kB / 0.4939 GB, free: 5.27 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.1331, allocations: 0 / 0.4939 GB, free: 5.27 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.1331, allocations: 7.938 kB / 0.4939 GB, free: 5.262 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002117/0.1334, allocations: 196.3 kB / 0.4941 GB, free: 5.051 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.301e-05/0.1334, allocations: 96.91 kB / 0.4942 GB, free: 4.938 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.107e-05/0.1334, allocations: 3.938 kB / 0.4942 GB, free: 4.934 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.63e-05/0.1335, allocations: 4 kB / 0.4942 GB, free: 4.93 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.369e-05/0.1335, allocations: 8.359 kB / 0.4942 GB, free: 4.922 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.492e-05/0.1336, allocations: 4 kB / 0.4942 GB, free: 4.918 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000136/0.1337, allocations: 167.2 kB / 0.4944 GB, free: 4.754 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1337, allocations: 0 / 0.4944 GB, free: 4.754 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002524/0.134, allocations: 23.98 kB / 0.4944 GB, free: 4.73 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.0009941/0.135, allocations: 479.6 kB / 0.4949 GB, free: 4.301 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001711/0.1351, allocations: 51.98 kB / 0.4949 GB, free: 4.25 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.542e-06/0.1352, allocations: 0 / 0.4949 GB, free: 4.25 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.002e-05/0.1352, allocations: 35.98 kB / 0.4949 GB, free: 4.215 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003141/0.1356, allocations: 39.02 kB / 0.495 GB, free: 4.18 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004325/0.136, allocations: 258.9 kB / 0.4952 GB, free: 3.898 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002725/0.1363, allocations: 0.7041 MB / 0.4959 GB, free: 3.168 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.616e-05/0.1363, allocations: 16.94 kB / 0.4959 GB, free: 3.152 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.461e-05/0.1364, allocations: 19.42 kB / 0.4959 GB, free: 3.133 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1364, allocations: 0 / 0.4959 GB, free: 3.133 MB / 382.1 MB Notification: Performance of Templates: time 0.004199/0.1406, allocations: 1.721 MB / 0.4976 GB, free: 1.418 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test51/Test51.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches