Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.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.Test19,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.Test19") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test19,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.Test19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001179/0.001179, allocations: 94.38 kB / 18 MB, free: 5.734 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.001427/0.001427, allocations: 179.1 kB / 18.91 MB, free: 4.871 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.37/1.37, allocations: 223.3 MB / 243 MB, free: 14.46 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.1976/0.1976, allocations: 44.25 MB / 338.3 MB, free: 2.418 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00053/0.00053, allocations: 8.719 kB / 411 MB, free: 27.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1193/0.1199, allocations: 61.92 MB / 472.9 MB, free: 13.31 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test19): time 0.001887/0.1218, allocations: 1.278 MB / 474.2 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001432/0.1233, allocations: 0.9804 MB / 475.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.708e-05/0.1233, allocations: 4 kB / 475.2 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001929/0.1235, allocations: 15.94 kB / 475.2 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001596/0.1237, allocations: 35.91 kB / 475.2 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000242/0.124, allocations: 75.83 kB / 475.3 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001287/0.1241, allocations: 55.78 kB / 475.4 MB, free: 10.85 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.811e-05/0.1242, allocations: 11.98 kB / 475.4 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.994e-05/0.1243, allocations: 23.91 kB / 475.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001531/0.1244, allocations: 23.86 kB / 475.4 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.512e-05/0.1244, allocations: 0 / 475.4 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001196/0.1246, allocations: 55.91 kB / 475.5 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.873e-05/0.1246, allocations: 3.938 kB / 475.5 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.598e-05/0.1247, allocations: 45.56 kB / 475.5 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001407/0.1248, allocations: 63.91 kB / 475.6 MB, free: 10.62 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.1248, allocations: 0 / 475.6 MB, free: 10.62 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1248, allocations: 0 / 475.6 MB, free: 10.62 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.978e-06/0.1249, allocations: 0 / 475.6 MB, free: 10.62 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.0004386/0.1253, allocations: 385.8 kB / 476 MB, free: 10.2 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.39e-05/0.1253, allocations: 8.031 kB / 476 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.6e-05/0.1254, allocations: 8.922 kB / 476 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001797/0.1256, allocations: 187.3 kB / 476.2 MB, free: 9.965 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.386e-06/0.1256, allocations: 384 / 476.2 MB, free: 9.965 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.27e-05/0.1256, allocations: 384 / 476.2 MB, free: 9.965 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001527/0.1258, allocations: 79.45 kB / 476.2 MB, free: 9.875 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.447e-06/0.1258, allocations: 4 kB / 476.2 MB, free: 9.871 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.014e-05/0.1258, allocations: 3.938 kB / 476.2 MB, free: 9.867 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.1258, allocations: 0 / 476.2 MB, free: 9.867 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.673e-05/0.1259, allocations: 23.98 kB / 476.3 MB, free: 9.844 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003521/0.1263, allocations: 276.8 kB / 476.5 MB, free: 9.523 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001908/0.1265, allocations: 46.5 kB / 476.6 MB, free: 9.469 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.67e-05/0.1266, allocations: 20.94 kB / 476.6 MB, free: 9.445 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.157e-05/0.1266, allocations: 4 kB / 476.6 MB, free: 9.441 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.355e-05/0.1266, allocations: 30.56 kB / 476.6 MB, free: 9.402 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.233e-06/0.1266, allocations: 0 / 476.6 MB, free: 9.402 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005615/0.1272, allocations: 149.4 kB / 476.8 MB, free: 9.25 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.838e-05/0.1272, allocations: 81.11 kB / 476.9 MB, free: 9.152 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001371/0.1274, allocations: 137.8 kB / 477 MB, free: 9.008 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.473e-05/0.1274, allocations: 25.7 kB / 477 MB, free: 8.977 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.472e-05/0.1275, allocations: 92.14 kB / 477.1 MB, free: 8.883 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.238e-05/0.1275, allocations: 19.64 kB / 477.1 MB, free: 8.863 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.671e-05/0.1275, allocations: 17.72 kB / 477.1 MB, free: 8.84 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001034/0.1276, allocations: 318.8 kB / 477.5 MB, free: 8.52 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.431e-05/0.1277, allocations: 19.98 kB / 477.5 MB, free: 8.5 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.109e-05/0.1278, allocations: 45.62 kB / 477.5 MB, free: 8.449 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001432/0.128, allocations: 52.84 kB / 477.6 MB, free: 8.395 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.128, allocations: 0 / 477.6 MB, free: 8.395 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001887/0.1282, allocations: 81.7 kB / 477.7 MB, free: 8.309 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/0.1282, allocations: 10.48 kB / 477.7 MB, free: 8.301 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.1282, allocations: 3.938 kB / 477.7 MB, free: 8.297 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.1282, allocations: 4 kB / 477.7 MB, free: 8.293 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.435e-05/0.1283, allocations: 8 kB / 477.7 MB, free: 8.285 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.092e-06/0.1283, allocations: 4 kB / 477.7 MB, free: 8.281 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.791e-05/0.1284, allocations: 15.98 kB / 477.7 MB, free: 8.266 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.265e-06/0.1284, allocations: 3.984 kB / 477.7 MB, free: 8.262 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.609e-05/0.1285, allocations: 122.2 kB / 477.8 MB, free: 8.133 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.107e-05/0.1285, allocations: 7.906 kB / 477.8 MB, free: 8.125 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002318/0.1288, allocations: 93.62 kB / 477.9 MB, free: 8.027 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.1288, allocations: 4 kB / 477.9 MB, free: 8.023 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.1288, allocations: 320 / 477.9 MB, free: 8.023 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.574e-06/0.1288, allocations: 0 / 477.9 MB, free: 8.023 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004295/0.1292, allocations: 366.3 kB / 478.3 MB, free: 7.609 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.1292, allocations: 4 kB / 478.3 MB, free: 7.605 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.596e-05/0.1293, allocations: 15.98 kB / 478.3 MB, free: 7.59 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.1293, allocations: 0 / 478.3 MB, free: 7.59 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.396e-06/0.1293, allocations: 4 kB / 478.3 MB, free: 7.586 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.1293, allocations: 3.938 kB / 478.3 MB, free: 7.582 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.1293, allocations: 0 / 478.3 MB, free: 7.582 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002287/0.1296, allocations: 187.7 kB / 478.5 MB, free: 7.383 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.437e-05/0.1296, allocations: 89 kB / 478.6 MB, free: 7.277 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.573e-05/0.1296, allocations: 0 / 478.6 MB, free: 7.277 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.365e-05/0.1297, allocations: 11.94 kB / 478.6 MB, free: 7.266 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.351e-05/0.1298, allocations: 7.969 kB / 478.6 MB, free: 7.258 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.691e-06/0.1298, allocations: 4 kB / 478.6 MB, free: 7.254 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.648e-05/0.1299, allocations: 103.3 kB / 478.7 MB, free: 7.152 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1299, allocations: 0 / 478.7 MB, free: 7.152 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002636/0.1301, allocations: 27.98 kB / 478.7 MB, free: 7.125 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.001003/0.1312, allocations: 431.5 kB / 479.2 MB, free: 6.863 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002005/0.1314, allocations: 51.97 kB / 479.2 MB, free: 6.812 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.1314, allocations: 0 / 479.2 MB, free: 6.812 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.013e-05/0.1315, allocations: 31.92 kB / 479.2 MB, free: 6.781 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003229/0.1318, allocations: 23.08 kB / 479.3 MB, free: 6.762 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003686/0.1322, allocations: 194.3 kB / 479.4 MB, free: 6.539 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002705/0.1325, allocations: 0.6887 MB / 480.1 MB, free: 5.824 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.089e-05/0.1325, allocations: 15.42 kB / 480.2 MB, free: 5.809 MB / 350.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1325, allocations: 4 kB / 480.2 MB, free: 5.805 MB / 350.1 MB Notification: Performance of Templates: time 0.00333/0.1359, allocations: 1.536 MB / 481.7 MB, free: 4.273 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test19/Test19.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches