Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.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.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85") translateModel(ModelicaTest.Tables.CombiTimeTable.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001234/0.001234, allocations: 113.8 kB / 17.08 MB, free: 5.945 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.001255/0.001255, allocations: 194.5 kB / 18.01 MB, free: 5.031 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.3/1.3, allocations: 205.1 MB / 223.9 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.1877/0.1877, allocations: 43.52 MB / 314.8 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.001662/0.001662, allocations: 77.45 kB / 442.6 MB, free: 5.57 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1292/0.1309, allocations: 57.78 MB / 0.4886 GB, free: 11.71 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test85): time 0.003262/0.1342, allocations: 1.651 MB / 0.4902 GB, free: 10.05 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001447/0.1357, allocations: 0.7922 MB / 0.491 GB, free: 9.254 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.778e-05/0.1358, allocations: 0 / 0.491 GB, free: 9.254 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003542/0.1362, allocations: 43.81 kB / 0.491 GB, free: 9.211 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003263/0.1365, allocations: 71.67 kB / 0.4911 GB, free: 9.141 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003184/0.1368, allocations: 83.77 kB / 0.4912 GB, free: 9.059 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002264/0.1371, allocations: 91.69 kB / 0.4913 GB, free: 8.969 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.681e-05/0.1371, allocations: 19.97 kB / 0.4913 GB, free: 8.949 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001158/0.1373, allocations: 39.8 kB / 0.4913 GB, free: 8.91 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001081/0.1374, allocations: 39.83 kB / 0.4914 GB, free: 8.871 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.041e-05/0.1374, allocations: 4 kB / 0.4914 GB, free: 8.867 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.594e-05/0.1375, allocations: 31.98 kB / 0.4914 GB, free: 8.836 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001169/0.1376, allocations: 15.92 kB / 0.4914 GB, free: 8.82 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.323e-05/0.1377, allocations: 31.73 kB / 0.4914 GB, free: 8.789 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002269/0.1379, allocations: 95.72 kB / 0.4915 GB, free: 8.695 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.138, allocations: 0 / 0.4915 GB, free: 8.695 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.138, allocations: 3.938 kB / 0.4915 GB, free: 8.691 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.65e-06/0.138, allocations: 4 kB / 0.4915 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.0005857/0.1386, allocations: 391 kB / 0.4919 GB, free: 8.258 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.498e-05/0.1386, allocations: 19.88 kB / 0.4919 GB, free: 8.238 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.705e-05/0.1387, allocations: 8.844 kB / 0.4919 GB, free: 8.23 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003387/0.139, allocations: 208 kB / 0.4921 GB, free: 7.988 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.467e-05/0.139, allocations: 384 / 0.4921 GB, free: 7.988 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.546e-05/0.1391, allocations: 8.125 kB / 0.4922 GB, free: 7.98 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001613/0.1392, allocations: 53.59 kB / 0.4922 GB, free: 7.922 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.1393, allocations: 4 kB / 0.4922 GB, free: 7.918 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.23e-05/0.1393, allocations: 0 / 0.4922 GB, free: 7.918 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.466e-06/0.1393, allocations: 4 kB / 0.4922 GB, free: 7.914 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.78e-05/0.1394, allocations: 15.98 kB / 0.4922 GB, free: 7.898 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002223/0.1396, allocations: 181.6 kB / 0.4924 GB, free: 7.672 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001715/0.1398, allocations: 50.61 kB / 0.4924 GB, free: 7.613 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.311e-05/0.1398, allocations: 24.8 kB / 0.4925 GB, free: 7.586 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.609e-05/0.1399, allocations: 0 / 0.4925 GB, free: 7.586 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001517/0.14, allocations: 67.33 kB / 0.4925 GB, free: 7.508 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.323e-06/0.14, allocations: 0 / 0.4925 GB, free: 7.508 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003093/0.1404, allocations: 101.6 kB / 0.4926 GB, free: 7.402 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.705e-05/0.1404, allocations: 51.41 kB / 0.4927 GB, free: 7.34 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001666/0.1406, allocations: 170.2 kB / 0.4928 GB, free: 7.164 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.821e-05/0.1406, allocations: 33.64 kB / 0.4929 GB, free: 7.125 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.691e-05/0.1407, allocations: 100.1 kB / 0.493 GB, free: 7.023 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.412e-05/0.1407, allocations: 15.78 kB / 0.493 GB, free: 7.008 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.897e-05/0.1408, allocations: 17.72 kB / 0.493 GB, free: 6.984 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001266/0.1409, allocations: 322.8 kB / 0.4933 GB, free: 6.66 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.217e-05/0.1409, allocations: 15.98 kB / 0.4933 GB, free: 6.645 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.827e-05/0.141, allocations: 29.72 kB / 0.4934 GB, free: 6.609 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.443e-05/0.1411, allocations: 41.7 kB / 0.4934 GB, free: 6.562 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.1411, allocations: 0 / 0.4934 GB, free: 6.562 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000162/0.1413, allocations: 85.38 kB / 0.4935 GB, free: 6.473 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.1413, allocations: 8 kB / 0.4935 GB, free: 6.465 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.1413, allocations: 3.984 kB / 0.4935 GB, free: 6.461 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.1413, allocations: 0 / 0.4935 GB, free: 6.461 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.901e-05/0.1414, allocations: 8 kB / 0.4935 GB, free: 6.453 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.1414, allocations: 8.031 kB / 0.4935 GB, free: 6.445 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.58e-05/0.1415, allocations: 4 kB / 0.4935 GB, free: 6.441 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.767e-06/0.1415, allocations: 4.156 kB / 0.4935 GB, free: 6.438 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.0001/0.1416, allocations: 133.6 kB / 0.4936 GB, free: 6.297 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.176e-05/0.1416, allocations: 7.906 kB / 0.4936 GB, free: 6.289 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.861e-05/0.1417, allocations: 12.31 kB / 0.4937 GB, free: 6.273 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.1417, allocations: 0 / 0.4937 GB, free: 6.273 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.1417, allocations: 0 / 0.4937 GB, free: 6.273 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.1417, allocations: 3.984 kB / 0.4937 GB, free: 6.27 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001607/0.1419, allocations: 193.5 kB / 0.4938 GB, free: 6.031 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.684e-06/0.1419, allocations: 0 / 0.4938 GB, free: 6.031 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.159e-05/0.1419, allocations: 0 / 0.4938 GB, free: 6.031 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.1419, allocations: 4 kB / 0.4938 GB, free: 6.027 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.055e-05/0.1419, allocations: 4 kB / 0.4939 GB, free: 6.023 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.142, allocations: 4.297 kB / 0.4939 GB, free: 6.02 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.532e-06/0.142, allocations: 0 / 0.4939 GB, free: 6.02 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001804/0.1421, allocations: 116.9 kB / 0.494 GB, free: 5.887 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.311e-05/0.1422, allocations: 89.02 kB / 0.4941 GB, free: 5.781 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.236e-05/0.1422, allocations: 7.938 kB / 0.4941 GB, free: 5.773 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.217e-05/0.1423, allocations: 7.984 kB / 0.4941 GB, free: 5.766 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.297e-05/0.1423, allocations: 0 / 0.4941 GB, free: 5.766 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.634e-05/0.1423, allocations: 4 kB / 0.4941 GB, free: 5.762 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.671e-05/0.1424, allocations: 132 kB / 0.4942 GB, free: 5.633 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1424, allocations: 4 kB / 0.4942 GB, free: 5.629 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002155/0.1427, allocations: 20 kB / 0.4942 GB, free: 5.609 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.000977/0.1436, allocations: 412.8 kB / 0.4946 GB, free: 5.242 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001718/0.1438, allocations: 39.98 kB / 0.4947 GB, free: 5.203 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.337e-06/0.1438, allocations: 0 / 0.4947 GB, free: 5.203 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.821e-05/0.1439, allocations: 23.92 kB / 0.4947 GB, free: 5.18 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000277/0.1442, allocations: 28.53 kB / 0.4947 GB, free: 5.152 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004517/0.1447, allocations: 207.6 kB / 0.4949 GB, free: 4.918 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002999/0.145, allocations: 0.7002 MB / 0.4956 GB, free: 4.191 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.669e-05/0.145, allocations: 15.44 kB / 0.4956 GB, free: 4.176 MB / 382.1 MB Notification: Performance of SimCode: time 2.41e-07/0.145, allocations: 0 / 0.4956 GB, free: 4.176 MB / 382.1 MB Notification: Performance of Templates: time 0.003585/0.1486, allocations: 1.66 MB / 0.4972 GB, free: 2.523 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test85/Test85.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches