Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.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.Test11,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.Test11") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test11,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.Test11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001434/0.001434, allocations: 109.3 kB / 18.39 MB, free: 4.629 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.001589/0.001589, allocations: 184.1 kB / 19.33 MB, free: 3.699 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.503/1.503, allocations: 222.9 MB / 243 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2196/0.2196, allocations: 44.18 MB / 337.4 MB, free: 2.691 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 63.94 kB / 409.9 MB, free: 26.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1194/0.1207, allocations: 60.83 MB / 470.7 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test11): time 0.002707/0.1234, allocations: 1.556 MB / 472.3 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006751/0.1241, allocations: 399.2 kB / 472.6 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.67e-05/0.1241, allocations: 4 kB / 472.6 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000174/0.1243, allocations: 19.86 kB / 472.7 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001728/0.1245, allocations: 43.83 kB / 472.7 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002235/0.1247, allocations: 91.47 kB / 472.8 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001197/0.1249, allocations: 59.81 kB / 472.9 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.644e-05/0.125, allocations: 12 kB / 472.9 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.935e-05/0.125, allocations: 19.92 kB / 472.9 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.842e-05/0.1251, allocations: 23.8 kB / 472.9 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.394e-05/0.1251, allocations: 4 kB / 472.9 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.974e-05/0.1252, allocations: 27.98 kB / 472.9 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.631e-05/0.1252, allocations: 19.92 kB / 473 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.455e-05/0.1253, allocations: 15.88 kB / 473 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001363/0.1254, allocations: 79.73 kB / 473.1 MB, free: 11.28 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.1254, allocations: 0 / 473.1 MB, free: 11.28 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1254, allocations: 0 / 473.1 MB, free: 11.28 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.988e-06/0.1254, allocations: 0 / 473.1 MB, free: 11.28 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.0004238/0.1259, allocations: 383.1 kB / 473.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.41e-05/0.1259, allocations: 12.03 kB / 473.4 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.624e-05/0.1259, allocations: 16.78 kB / 473.5 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001685/0.1261, allocations: 196.2 kB / 473.7 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.016e-05/0.1261, allocations: 4.375 kB / 473.7 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.633e-05/0.1262, allocations: 384 / 473.7 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001215/0.1263, allocations: 49.81 kB / 473.7 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.826e-06/0.1263, allocations: 3.938 kB / 473.7 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.795e-06/0.1263, allocations: 0 / 473.7 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-06/0.1263, allocations: 0 / 473.7 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.667e-05/0.1264, allocations: 27.97 kB / 473.7 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003217/0.1268, allocations: 284.8 kB / 474 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001808/0.127, allocations: 46.56 kB / 474.1 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.473e-05/0.127, allocations: 12.8 kB / 474.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.61e-05/0.127, allocations: 0 / 474.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.161e-05/0.1271, allocations: 34.56 kB / 474.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 8.92e-07/0.1271, allocations: 0 / 474.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004789/0.1275, allocations: 141.4 kB / 474.2 MB, free: 9.922 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.137e-05/0.1276, allocations: 59.39 kB / 474.3 MB, free: 9.852 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001389/0.1277, allocations: 160.4 kB / 474.5 MB, free: 9.688 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.276e-05/0.1278, allocations: 29.69 kB / 474.5 MB, free: 9.652 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.556e-05/0.1278, allocations: 92.14 kB / 474.6 MB, free: 9.559 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.181e-05/0.1278, allocations: 23.64 kB / 474.6 MB, free: 9.535 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.381e-05/0.1279, allocations: 29.64 kB / 474.6 MB, free: 9.5 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.98e-05/0.128, allocations: 322.8 kB / 474.9 MB, free: 9.176 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.293e-05/0.1281, allocations: 15.98 kB / 475 MB, free: 9.16 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.176e-05/0.1281, allocations: 15.98 kB / 475 MB, free: 9.145 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001122/0.1282, allocations: 48.83 kB / 475 MB, free: 9.094 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/0.1282, allocations: 0 / 475 MB, free: 9.094 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000167/0.1284, allocations: 81.58 kB / 475.1 MB, free: 9.008 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.217e-05/0.1284, allocations: 4 kB / 475.1 MB, free: 9.004 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.1284, allocations: 3.984 kB / 475.1 MB, free: 9 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.081e-05/0.1285, allocations: 0 / 475.1 MB, free: 9 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.943e-05/0.1285, allocations: 15.94 kB / 475.1 MB, free: 8.984 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.1285, allocations: 0 / 475.1 MB, free: 8.984 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.679e-05/0.1286, allocations: 8.234 kB / 475.1 MB, free: 8.977 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.193e-06/0.1286, allocations: 4 kB / 475.1 MB, free: 8.973 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.313e-05/0.1287, allocations: 129.8 kB / 475.3 MB, free: 8.836 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.049e-05/0.1287, allocations: 7.906 kB / 475.3 MB, free: 8.828 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002032/0.1289, allocations: 85.97 kB / 475.4 MB, free: 8.738 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.1289, allocations: 3.984 kB / 475.4 MB, free: 8.734 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.129, allocations: 0 / 475.4 MB, free: 8.734 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-06/0.129, allocations: 3.938 kB / 475.4 MB, free: 8.73 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003775/0.1293, allocations: 350.5 kB / 475.7 MB, free: 8.332 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.1294, allocations: 0 / 475.7 MB, free: 8.332 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.368e-05/0.1294, allocations: 15.98 kB / 475.7 MB, free: 8.316 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.1294, allocations: 0 / 475.7 MB, free: 8.316 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.322e-06/0.1294, allocations: 0 / 475.7 MB, free: 8.316 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.846e-06/0.1294, allocations: 3.938 kB / 475.7 MB, free: 8.312 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.1294, allocations: 0 / 475.7 MB, free: 8.312 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002011/0.1296, allocations: 179.4 kB / 475.9 MB, free: 8.121 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.799e-05/0.1297, allocations: 85.3 kB / 476 MB, free: 8.02 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.532e-05/0.1297, allocations: 3.984 kB / 476 MB, free: 8.016 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.631e-05/0.1298, allocations: 7.938 kB / 476 MB, free: 8.008 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.192e-05/0.1298, allocations: 7.984 kB / 476 MB, free: 8 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.362e-06/0.1298, allocations: 11.92 kB / 476 MB, free: 7.988 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.098e-05/0.1299, allocations: 123.2 kB / 476.1 MB, free: 7.867 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1299, allocations: 0 / 476.1 MB, free: 7.867 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002343/0.1302, allocations: 20 kB / 476.2 MB, free: 7.848 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 (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.0008372/0.131, allocations: 398.7 kB / 476.5 MB, free: 7.605 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001753/0.1312, allocations: 51.84 kB / 476.6 MB, free: 7.555 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.1312, allocations: 0 / 476.6 MB, free: 7.555 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.64e-05/0.1313, allocations: 23.98 kB / 476.6 MB, free: 7.531 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002939/0.1316, allocations: 19.3 kB / 476.6 MB, free: 7.52 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003715/0.132, allocations: 186.1 kB / 476.8 MB, free: 7.309 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002677/0.1323, allocations: 0.7001 MB / 477.5 MB, free: 6.582 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.677e-05/0.1323, allocations: 7.984 kB / 477.5 MB, free: 6.574 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.75e-05/0.1323, allocations: 15.44 kB / 477.5 MB, free: 6.559 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1323, allocations: 0 / 477.5 MB, free: 6.559 MB / 350.1 MB Notification: Performance of Templates: time 0.003482/0.1358, allocations: 1.089 MB / 478.6 MB, free: 5.477 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test11/Test11.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches