Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.CombiTable1Ds.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001079/0.001079, allocations: 94.62 kB / 17 MB, free: 6.105 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.001199/0.001199, allocations: 182.1 kB / 17.89 MB, free: 5.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.487/1.487, allocations: 223.3 MB / 241.9 MB, free: 280 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2395/0.2395, allocations: 44.25 MB / 337.3 MB, free: 2.766 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003327/0.0003328, allocations: 13.02 kB / 409.7 MB, free: 27.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.138/0.1383, allocations: 61.94 MB / 471.6 MB, free: 13.69 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test23): time 0.001885/0.1403, allocations: 1.247 MB / 472.9 MB, free: 12.43 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001377/0.1417, allocations: 0.957 MB / 473.8 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.251e-05/0.1417, allocations: 4 kB / 473.8 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002123/0.142, allocations: 11.92 kB / 473.8 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001572/0.1421, allocations: 39.84 kB / 473.9 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002321/0.1424, allocations: 75.84 kB / 473.9 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001171/0.1425, allocations: 43.84 kB / 474 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.436e-05/0.1426, allocations: 19.98 kB / 474 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.218e-05/0.1427, allocations: 11.94 kB / 474 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001184/0.1428, allocations: 23.84 kB / 474 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.439e-05/0.1428, allocations: 4 kB / 474 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.582e-05/0.1429, allocations: 43.92 kB / 474.1 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.406e-05/0.1429, allocations: 7.984 kB / 474.1 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.753e-05/0.143, allocations: 33.64 kB / 474.1 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001341/0.1431, allocations: 71.83 kB / 474.2 MB, free: 11.08 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.1431, allocations: 0 / 474.2 MB, free: 11.08 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.724e-06/0.1432, allocations: 0 / 474.2 MB, free: 11.08 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.258e-06/0.1432, allocations: 0 / 474.2 MB, free: 11.08 MB / 350.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.0004416/0.1436, allocations: 367.4 kB / 474.5 MB, free: 10.67 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/0.1437, allocations: 8.562 kB / 474.6 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.468e-05/0.1437, allocations: 4 kB / 474.6 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002101/0.1439, allocations: 190.8 kB / 474.7 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.999e-06/0.1439, allocations: 0 / 474.7 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.239e-05/0.144, allocations: 7.953 kB / 474.8 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001607/0.1441, allocations: 67.39 kB / 474.8 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.1441, allocations: 0 / 474.8 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.13e-05/0.1442, allocations: 0 / 474.8 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.05e-05/0.1442, allocations: 0 / 474.8 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.08e-05/0.1443, allocations: 27.97 kB / 474.8 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003376/0.1446, allocations: 280.9 kB / 475.1 MB, free: 9.996 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001929/0.1448, allocations: 42.56 kB / 475.2 MB, free: 9.945 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.694e-05/0.1449, allocations: 12.86 kB / 475.2 MB, free: 9.93 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.024e-05/0.1449, allocations: 4.078 kB / 475.2 MB, free: 9.926 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.109e-05/0.1449, allocations: 34.56 kB / 475.2 MB, free: 9.883 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.1449, allocations: 7.938 kB / 475.2 MB, free: 9.875 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004905/0.1454, allocations: 161.3 kB / 475.4 MB, free: 9.711 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.891e-05/0.1455, allocations: 81.11 kB / 475.5 MB, free: 9.613 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001243/0.1456, allocations: 141.3 kB / 475.6 MB, free: 9.469 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.366e-05/0.1456, allocations: 25.7 kB / 475.6 MB, free: 9.438 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.25e-05/0.1457, allocations: 88.14 kB / 475.7 MB, free: 9.348 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.929e-05/0.1457, allocations: 19.73 kB / 475.7 MB, free: 9.328 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.227e-06/0.1457, allocations: 0 / 475.7 MB, free: 9.328 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001118/0.1458, allocations: 322.8 kB / 476 MB, free: 9.004 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.674e-05/0.1459, allocations: 27.92 kB / 476.1 MB, free: 8.977 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.511e-05/0.146, allocations: 33.7 kB / 476.1 MB, free: 8.938 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.529e-05/0.1461, allocations: 23.98 kB / 476.1 MB, free: 8.914 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.1461, allocations: 0 / 476.1 MB, free: 8.914 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001668/0.1462, allocations: 85.61 kB / 476.2 MB, free: 8.824 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.1463, allocations: 8 kB / 476.2 MB, free: 8.816 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.686e-06/0.1463, allocations: 0 / 476.2 MB, free: 8.816 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.05e-05/0.1463, allocations: 3.984 kB / 476.2 MB, free: 8.812 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.864e-05/0.1463, allocations: 12 kB / 476.2 MB, free: 8.801 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.1464, allocations: 0 / 476.2 MB, free: 8.801 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.133e-05/0.1464, allocations: 23.86 kB / 476.3 MB, free: 8.777 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.464e-06/0.1464, allocations: 4 kB / 476.3 MB, free: 8.773 MB / 350.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.29e-05/0.1465, allocations: 117.8 kB / 476.4 MB, free: 8.648 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.752e-05/0.1465, allocations: 3.906 kB / 476.4 MB, free: 8.645 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002241/0.1468, allocations: 97.62 kB / 476.5 MB, free: 8.543 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.1468, allocations: 0 / 476.5 MB, free: 8.543 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.1468, allocations: 0 / 476.5 MB, free: 8.543 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.1468, allocations: 0 / 476.5 MB, free: 8.543 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000383/0.1472, allocations: 358.5 kB / 476.8 MB, free: 8.137 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.1472, allocations: 4 kB / 476.8 MB, free: 8.133 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.075e-05/0.1473, allocations: 11.98 kB / 476.8 MB, free: 8.121 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.1473, allocations: 4 kB / 476.8 MB, free: 8.117 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.603e-06/0.1473, allocations: 384 / 476.8 MB, free: 8.117 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.1473, allocations: 0 / 476.8 MB, free: 8.117 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.1473, allocations: 0 / 476.8 MB, free: 8.117 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002162/0.1475, allocations: 195.3 kB / 477 MB, free: 7.91 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.103e-05/0.1476, allocations: 88.94 kB / 477.1 MB, free: 7.805 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.119e-05/0.1476, allocations: 8 kB / 477.1 MB, free: 7.797 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.567e-05/0.1477, allocations: 4 kB / 477.1 MB, free: 7.793 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.544e-05/0.1477, allocations: 3.984 kB / 477.1 MB, free: 7.789 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.497e-06/0.1477, allocations: 4 kB / 477.1 MB, free: 7.785 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.048e-05/0.1478, allocations: 103.3 kB / 477.2 MB, free: 7.684 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1478, allocations: 0 / 477.2 MB, free: 7.684 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002521/0.1481, allocations: 27.98 kB / 477.3 MB, free: 7.656 MB / 350.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009683/0.149, allocations: 447.3 kB / 477.7 MB, free: 7.383 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001752/0.1492, allocations: 55.97 kB / 477.8 MB, free: 7.328 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.1492, allocations: 0 / 477.8 MB, free: 7.328 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.831e-05/0.1493, allocations: 31.92 kB / 477.8 MB, free: 7.297 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002888/0.1496, allocations: 23.94 kB / 477.8 MB, free: 7.273 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000314/0.1499, allocations: 160.8 kB / 478 MB, free: 7.09 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002413/0.1502, allocations: 0.6926 MB / 478.7 MB, free: 6.371 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.709e-05/0.1502, allocations: 15.98 kB / 478.7 MB, free: 6.355 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.039e-05/0.1503, allocations: 11.44 kB / 478.7 MB, free: 6.344 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1503, allocations: 0 / 478.7 MB, free: 6.344 MB / 350.1 MB Notification: Performance of Templates: time 0.003408/0.1537, allocations: 1.28 MB / 480 MB, free: 5.074 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test23/Test23.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches