Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test12.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.CombiTable1D.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test12") translateModel(ModelicaTest.Tables.CombiTable1D.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00109/0.00109, allocations: 110.9 kB / 17.04 MB, free: 6.07 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.0009808/0.0009808, allocations: 196 kB / 17.97 MB, free: 5.156 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.583/1.583, allocations: 205.1 MB / 223.8 MB, free: 12.29 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.2239/0.2239, allocations: 43.51 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.001538/0.001538, allocations: 65.81 kB / 384.2 MB, free: 56.47 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1391/0.1406, allocations: 57.78 MB / 442 MB, free: 6.164 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test12): time 0.002846/0.1435, allocations: 1.552 MB / 443.5 MB, free: 4.598 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005628/0.1441, allocations: 327.5 kB / 443.8 MB, free: 4.273 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.759e-05/0.1442, allocations: 0 / 443.8 MB, free: 4.273 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002345/0.1444, allocations: 35.83 kB / 443.9 MB, free: 4.238 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001717/0.1446, allocations: 31.86 kB / 443.9 MB, free: 4.207 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002468/0.1449, allocations: 99.67 kB / 444 MB, free: 4.109 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001233/0.145, allocations: 47.91 kB / 444 MB, free: 4.062 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000127/0.1451, allocations: 23.86 kB / 444.1 MB, free: 4.039 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.527e-05/0.1452, allocations: 23.92 kB / 444.1 MB, free: 4.016 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.175e-05/0.1453, allocations: 15.92 kB / 444.1 MB, free: 4 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.756e-05/0.1453, allocations: 4 kB / 444.1 MB, free: 3.996 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.176e-05/0.1454, allocations: 35.92 kB / 444.1 MB, free: 3.961 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.917e-05/0.1454, allocations: 11.94 kB / 444.2 MB, free: 3.949 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.892e-05/0.1455, allocations: 27.78 kB / 444.2 MB, free: 3.922 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001494/0.1456, allocations: 71.8 kB / 444.3 MB, free: 3.852 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.1456, allocations: 0 / 444.3 MB, free: 3.852 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1456, allocations: 3.938 kB / 444.3 MB, free: 3.848 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.45e-06/0.1456, allocations: 0 / 444.3 MB, free: 3.848 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004365/0.1461, allocations: 396.5 kB / 444.6 MB, free: 3.414 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/0.1461, allocations: 11.89 kB / 444.7 MB, free: 3.402 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.501e-05/0.1462, allocations: 8.844 kB / 444.7 MB, free: 3.395 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001717/0.1464, allocations: 188.1 kB / 444.8 MB, free: 3.172 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.436e-05/0.1464, allocations: 8.359 kB / 444.9 MB, free: 3.164 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.299e-05/0.1464, allocations: 4.375 kB / 444.9 MB, free: 3.16 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001379/0.1465, allocations: 45.81 kB / 444.9 MB, free: 3.109 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.295e-05/0.1466, allocations: 4 kB / 444.9 MB, free: 3.105 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.03e-05/0.1466, allocations: 0 / 444.9 MB, free: 3.105 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.1466, allocations: 7.938 kB / 444.9 MB, free: 3.098 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.061e-05/0.1467, allocations: 19.98 kB / 444.9 MB, free: 3.078 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003526/0.147, allocations: 296.7 kB / 445.2 MB, free: 2.738 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001982/0.1473, allocations: 42.56 kB / 445.3 MB, free: 2.688 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.58e-05/0.1473, allocations: 20.94 kB / 445.3 MB, free: 2.664 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.463e-05/0.1473, allocations: 4 kB / 445.3 MB, free: 2.66 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.843e-05/0.1474, allocations: 30.56 kB / 445.3 MB, free: 2.621 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.1474, allocations: 0 / 445.3 MB, free: 2.621 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005209/0.1479, allocations: 149.3 kB / 445.5 MB, free: 2.469 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.315e-05/0.1479, allocations: 51.41 kB / 445.5 MB, free: 2.406 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001265/0.1481, allocations: 172.9 kB / 445.7 MB, free: 2.23 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.167e-06/0.1481, allocations: 25.7 kB / 445.7 MB, free: 2.199 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.481e-05/0.1481, allocations: 92.14 kB / 445.8 MB, free: 2.105 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.495e-05/0.1482, allocations: 23.73 kB / 445.8 MB, free: 2.082 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.232e-05/0.1482, allocations: 21.66 kB / 445.8 MB, free: 2.055 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.416e-05/0.1483, allocations: 326.8 kB / 446.2 MB, free: 1.727 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.287e-05/0.1483, allocations: 19.98 kB / 446.2 MB, free: 1.707 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.165e-05/0.1484, allocations: 27.92 kB / 446.2 MB, free: 1.68 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001069/0.1485, allocations: 49.02 kB / 446.3 MB, free: 1.629 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.1485, allocations: 4 kB / 446.3 MB, free: 1.625 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001445/0.1487, allocations: 85.56 kB / 446.3 MB, free: 1.535 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.1487, allocations: 5.25 kB / 446.4 MB, free: 1.531 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.1487, allocations: 0 / 446.4 MB, free: 1.531 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.8e-05/0.1487, allocations: 0 / 446.4 MB, free: 1.531 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.625e-05/0.1488, allocations: 19.98 kB / 446.4 MB, free: 1.512 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.1488, allocations: 0 / 446.4 MB, free: 1.512 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.413e-05/0.1488, allocations: 8 kB / 446.4 MB, free: 1.504 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.143e-06/0.1489, allocations: 0 / 446.4 MB, free: 1.504 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 6.949e-05/0.1489, allocations: 133.6 kB / 446.5 MB, free: 1.363 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.819e-05/0.149, allocations: 7.906 kB / 446.5 MB, free: 1.355 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002165/0.1492, allocations: 89.97 kB / 446.6 MB, free: 1.266 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.047e-06/0.1492, allocations: 8 kB / 446.6 MB, free: 1.258 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.072e-06/0.1492, allocations: 0 / 446.6 MB, free: 1.258 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.1492, allocations: 0 / 446.6 MB, free: 1.258 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003538/0.1496, allocations: 358.3 kB / 447 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.1496, allocations: 0 / 447 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.859e-05/0.1497, allocations: 15.98 kB / 447 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.1497, allocations: 0 / 447 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.073e-05/0.1497, allocations: 0 / 447 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.1497, allocations: 3.938 kB / 447 MB, free: 0.832 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.1497, allocations: 4 kB / 447 MB, free: 0.8281 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001953/0.1499, allocations: 191.5 kB / 447.2 MB, free: 0.625 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.262e-05/0.1499, allocations: 85.05 kB / 447.3 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.559e-05/0.15, allocations: 0 / 447.3 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.263e-05/0.15, allocations: 12.2 kB / 447.3 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.632e-05/0.1501, allocations: 0 / 447.3 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.757e-06/0.1501, allocations: 4 kB / 447.3 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.438e-05/0.1502, allocations: 127.2 kB / 447.4 MB, free: 392 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1502, allocations: 0 / 447.4 MB, free: 392 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002397/0.1504, allocations: 23.89 kB / 447.4 MB, free: 368 kB / 318.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.0009581/0.1514, allocations: 399 kB / 447.8 MB, free: 48 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002138/0.1516, allocations: 56.02 kB / 447.9 MB, free: 15.99 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.1516, allocations: 4 kB / 447.9 MB, free: 15.98 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.422e-05/0.1517, allocations: 31.86 kB / 447.9 MB, free: 15.96 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003801/0.1521, allocations: 19.52 kB / 447.9 MB, free: 15.94 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000418/0.1525, allocations: 190.2 kB / 448.1 MB, free: 15.73 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000317/0.1528, allocations: 0.6963 MB / 448.8 MB, free: 15.01 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.849e-05/0.1529, allocations: 15.98 kB / 448.8 MB, free: 14.99 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.115e-05/0.1529, allocations: 15.42 kB / 448.8 MB, free: 14.98 MB / 334.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1529, allocations: 0 / 448.8 MB, free: 14.98 MB / 334.1 MB Notification: Performance of Templates: time 0.00406/0.157, allocations: 1.113 MB / 449.9 MB, free: 13.88 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test12.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test12.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test12.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test12.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test12 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches