Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.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.Test84,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.Test84") translateModel(ModelicaTest.Tables.CombiTimeTable.Test84,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.Test84") 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: 112.1 kB / 16.41 MB, free: 6.492 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.001202/0.001202, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.784/1.784, 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.2454/0.2454, 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.001476/0.001476, allocations: 69.47 kB / 441.9 MB, free: 5.594 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1288/0.1302, allocations: 57.79 MB / 499.7 MB, free: 11.73 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test84): time 0.003814/0.1341, allocations: 1.685 MB / 0.4896 GB, free: 10.03 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002661/0.1368, allocations: 1.414 MB / 0.491 GB, free: 8.602 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.54e-05/0.1369, allocations: 0 / 0.491 GB, free: 8.602 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003689/0.1373, allocations: 43.77 kB / 0.491 GB, free: 8.559 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002614/0.1376, allocations: 55.7 kB / 0.4911 GB, free: 8.504 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003142/0.1379, allocations: 95.69 kB / 0.4912 GB, free: 8.41 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000184/0.1381, allocations: 91.77 kB / 0.4913 GB, free: 8.32 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001144/0.1382, allocations: 16.22 kB / 0.4913 GB, free: 8.305 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001087/0.1384, allocations: 47.77 kB / 0.4913 GB, free: 8.258 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001729/0.1385, allocations: 43.83 kB / 0.4914 GB, free: 8.215 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.405e-05/0.1386, allocations: 4 kB / 0.4914 GB, free: 8.211 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001511/0.1387, allocations: 59.92 kB / 0.4914 GB, free: 8.152 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.395e-05/0.1388, allocations: 15.92 kB / 0.4914 GB, free: 8.137 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.524e-05/0.1389, allocations: 31.8 kB / 0.4915 GB, free: 8.105 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002687/0.1391, allocations: 119.7 kB / 0.4916 GB, free: 7.988 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.1392, allocations: 0 / 0.4916 GB, free: 7.988 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1392, allocations: 4 kB / 0.4916 GB, free: 7.984 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.15e-06/0.1392, allocations: 0 / 0.4916 GB, free: 7.984 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.0007238/0.1399, allocations: 407 kB / 0.492 GB, free: 7.539 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/0.14, allocations: 11.89 kB / 0.492 GB, free: 7.527 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.031e-05/0.14, allocations: 8.844 kB / 0.492 GB, free: 7.52 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003149/0.1403, allocations: 208.1 kB / 0.4922 GB, free: 7.277 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.33e-05/0.1404, allocations: 384 / 0.4922 GB, free: 7.277 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.794e-05/0.1404, allocations: 12.12 kB / 0.4922 GB, free: 7.266 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001887/0.1406, allocations: 67.39 kB / 0.4923 GB, free: 7.188 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.831e-05/0.1406, allocations: 4 kB / 0.4923 GB, free: 7.184 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.284e-05/0.1407, allocations: 0 / 0.4923 GB, free: 7.184 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.1407, allocations: 0 / 0.4923 GB, free: 7.184 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.543e-05/0.1408, allocations: 23.92 kB / 0.4923 GB, free: 7.16 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004925/0.1413, allocations: 292.7 kB / 0.4926 GB, free: 6.824 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001851/0.1415, allocations: 62.67 kB / 0.4926 GB, free: 6.754 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.123e-05/0.1415, allocations: 16.86 kB / 0.4926 GB, free: 6.734 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.311e-05/0.1416, allocations: 4 kB / 0.4927 GB, free: 6.73 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001452/0.1417, allocations: 71.31 kB / 0.4927 GB, free: 6.648 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.353e-06/0.1417, allocations: 0 / 0.4927 GB, free: 6.648 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005295/0.1423, allocations: 169.3 kB / 0.4929 GB, free: 6.477 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.397e-05/0.1423, allocations: 77.11 kB / 0.493 GB, free: 6.383 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001325/0.1425, allocations: 153.8 kB / 0.4931 GB, free: 6.223 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.655e-05/0.1425, allocations: 29.7 kB / 0.4931 GB, free: 6.188 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.619e-05/0.1425, allocations: 96.12 kB / 0.4932 GB, free: 6.09 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.83e-05/0.1426, allocations: 23.66 kB / 0.4932 GB, free: 6.066 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.252e-05/0.1426, allocations: 25.7 kB / 0.4933 GB, free: 6.035 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001272/0.1428, allocations: 322.8 kB / 0.4936 GB, free: 5.711 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.442e-05/0.1428, allocations: 23.98 kB / 0.4936 GB, free: 5.688 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.669e-05/0.1429, allocations: 42.56 kB / 0.4936 GB, free: 5.637 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001062/0.143, allocations: 61.64 kB / 0.4937 GB, free: 5.57 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.143, allocations: 4 kB / 0.4937 GB, free: 5.566 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001701/0.1432, allocations: 93.58 kB / 0.4938 GB, free: 5.469 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.1432, allocations: 8.062 kB / 0.4938 GB, free: 5.461 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.1432, allocations: 0 / 0.4938 GB, free: 5.461 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.1432, allocations: 4 kB / 0.4938 GB, free: 5.457 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.165e-05/0.1433, allocations: 19.92 kB / 0.4938 GB, free: 5.438 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.1433, allocations: 0 / 0.4938 GB, free: 5.438 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.598e-05/0.1434, allocations: 11.94 kB / 0.4938 GB, free: 5.426 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.893e-06/0.1434, allocations: 0 / 0.4938 GB, free: 5.426 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 8.65e-05/0.1435, allocations: 129.4 kB / 0.494 GB, free: 5.293 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.611e-05/0.1436, allocations: 11.81 kB / 0.494 GB, free: 5.281 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.827e-05/0.1436, allocations: 20.66 kB / 0.494 GB, free: 5.258 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.1436, allocations: 0 / 0.494 GB, free: 5.258 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.1436, allocations: 0 / 0.494 GB, free: 5.258 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.1436, allocations: 11.92 kB / 0.494 GB, free: 5.246 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003967/0.144, allocations: 383.3 kB / 0.4944 GB, free: 4.812 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.144, allocations: 4 kB / 0.4944 GB, free: 4.809 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.131e-05/0.1441, allocations: 12.31 kB / 0.4944 GB, free: 4.797 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.1441, allocations: 0 / 0.4944 GB, free: 4.797 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.758e-06/0.1441, allocations: 3.938 kB / 0.4944 GB, free: 4.793 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.496e-06/0.1441, allocations: 8.031 kB / 0.4944 GB, free: 4.785 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.1441, allocations: 7.984 kB / 0.4944 GB, free: 4.777 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002089/0.1443, allocations: 196.3 kB / 0.4946 GB, free: 4.566 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.189e-05/0.1444, allocations: 81.02 kB / 0.4947 GB, free: 4.469 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.677e-05/0.1444, allocations: 11.94 kB / 0.4947 GB, free: 4.457 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.823e-05/0.1445, allocations: 0 / 0.4947 GB, free: 4.457 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.302e-05/0.1445, allocations: 11.98 kB / 0.4947 GB, free: 4.445 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.567e-05/0.1446, allocations: 8.172 kB / 0.4947 GB, free: 4.438 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.41e-05/0.1446, allocations: 118.5 kB / 0.4948 GB, free: 4.324 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1446, allocations: 3.938 kB / 0.4948 GB, free: 4.32 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002575/0.1449, allocations: 28 kB / 0.4948 GB, free: 4.293 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.001081/0.146, allocations: 0.4982 MB / 0.4953 GB, free: 3.84 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001821/0.1462, allocations: 55.97 kB / 0.4954 GB, free: 3.785 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.1462, allocations: 3.938 kB / 0.4954 GB, free: 3.781 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.668e-05/0.1463, allocations: 32.05 kB / 0.4954 GB, free: 3.75 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003717/0.1467, allocations: 39.7 kB / 0.4955 GB, free: 3.711 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003729/0.147, allocations: 182.8 kB / 0.4956 GB, free: 3.504 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002627/0.1473, allocations: 0.7079 MB / 0.4963 GB, free: 2.77 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.68e-05/0.1474, allocations: 21.23 kB / 0.4963 GB, free: 2.746 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.814e-05/0.1474, allocations: 15.44 kB / 0.4964 GB, free: 2.73 MB / 382.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1474, allocations: 0 / 0.4964 GB, free: 2.73 MB / 382.1 MB Notification: Performance of Templates: time 0.00509/0.1525, allocations: 1.96 MB / 0.4983 GB, free: 0.7734 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test84/Test84.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches