Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.conf.json 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008727/0.0008727, allocations: 183.8 kB / 17.06 MB, free: 5.074 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.217/1.217, allocations: 223.2 MB / 241 MB, free: 10.12 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007929/0.0007928, allocations: 93.33 kB / 292.2 MB, free: 10.69 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2862/0.2862, allocations: 44.21 MB / 387.5 MB, free: 38.52 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002759/0.0002759, allocations: 12 kB / 459.9 MB, free: 1.523 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3084/0.3086, allocations: 61.89 MB / 0.5096 GB, free: 37.65 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.106/0.4147, allocations: 88.16 MB / 0.5956 GB, free: 6.969 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000219/0.4149, allocations: 75.94 kB / 0.5957 GB, free: 6.898 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01075/0.4257, allocations: 4.411 MB / 0.6 GB, free: 2.488 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.4257, allocations: 3.938 kB / 0.6 GB, free: 2.484 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.198e-05/0.4258, allocations: 4 kB / 0.6 GB, free: 2.48 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004123/0.4262, allocations: 422.8 kB / 0.6004 GB, free: 2.02 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.901e-05/0.4262, allocations: 8.562 kB / 0.6004 GB, free: 2.012 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.326e-05/0.4263, allocations: 11.91 kB / 0.6005 GB, free: 2 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002409/0.4265, allocations: 222.6 kB / 0.6007 GB, free: 1.742 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.304e-05/0.4265, allocations: 7.891 kB / 0.6007 GB, free: 1.734 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.121e-05/0.4266, allocations: 4 kB / 0.6007 GB, free: 1.73 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00014/0.4267, allocations: 49.69 kB / 0.6007 GB, free: 1.676 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.4267, allocations: 0 / 0.6007 GB, free: 1.676 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.789e-06/0.4268, allocations: 0 / 0.6007 GB, free: 1.676 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.4268, allocations: 8 kB / 0.6007 GB, free: 1.668 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.782e-05/0.4269, allocations: 35.97 kB / 0.6008 GB, free: 1.633 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004312/0.4273, allocations: 308.8 kB / 0.6011 GB, free: 1.281 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.882e-05/0.4274, allocations: 46.56 kB / 0.6011 GB, free: 1.227 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.112e-05/0.4275, allocations: 4 kB / 0.6011 GB, free: 1.223 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.276e-05/0.4275, allocations: 34.56 kB / 0.6011 GB, free: 1.18 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 1.813e-06/0.4275, allocations: 0 / 0.6011 GB, free: 1.18 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0009105/0.4284, allocations: 277.6 kB / 0.6014 GB, free: 0.9023 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.525e-05/0.4285, allocations: 55.34 kB / 0.6015 GB, free: 0.8359 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002209/0.4287, allocations: 216.2 kB / 0.6017 GB, free: 0.6133 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.387e-05/0.4287, allocations: 25.7 kB / 0.6017 GB, free: 0.582 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.692e-05/0.4288, allocations: 120 kB / 0.6018 GB, free: 472 kB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.412e-05/0.4288, allocations: 15.7 kB / 0.6018 GB, free: 456 kB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.219e-06/0.4288, allocations: 8 kB / 0.6018 GB, free: 448 kB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001153/0.4289, allocations: 330.8 kB / 0.6021 GB, free: 108 kB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.132e-05/0.429, allocations: 35.92 kB / 0.6022 GB, free: 72 kB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.063e-05/0.4291, allocations: 35.97 kB / 0.6022 GB, free: 36 kB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.776e-05/0.4292, allocations: 31.98 kB / 0.6022 GB, free: 4 kB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.4292, allocations: 4 kB / 0.6022 GB, free: 0 / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002414/0.4294, allocations: 125.5 kB / 0.6024 GB, free: 15.87 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.4295, allocations: 4 kB / 0.6024 GB, free: 15.87 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.4295, allocations: 3.984 kB / 0.6024 GB, free: 15.86 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.4295, allocations: 0 / 0.6024 GB, free: 15.86 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001053/0.4296, allocations: 23.92 kB / 0.6024 GB, free: 15.84 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.201e-06/0.4296, allocations: 4 kB / 0.6024 GB, free: 15.84 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.88e-05/0.4297, allocations: 15.92 kB / 0.6024 GB, free: 15.82 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.029e-05/0.4297, allocations: 0 / 0.6024 GB, free: 15.82 MB / 426.7 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 (8): * Single equations (assignments): 8 * 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 0.0001044/0.4298, allocations: 141.7 kB / 0.6026 GB, free: 15.67 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.702e-05/0.4299, allocations: 11.81 kB / 0.6026 GB, free: 15.66 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002764/0.4301, allocations: 135 kB / 0.6027 GB, free: 15.52 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.4301, allocations: 3.938 kB / 0.6027 GB, free: 15.52 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/0.4302, allocations: 4 kB / 0.6027 GB, free: 15.52 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.668e-06/0.4302, allocations: 3.984 kB / 0.6027 GB, free: 15.51 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005621/0.4307, allocations: 455.2 kB / 0.6031 GB, free: 15.01 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.4308, allocations: 0 / 0.6031 GB, free: 15.01 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.256e-05/0.4308, allocations: 19.98 kB / 0.6032 GB, free: 14.99 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.4308, allocations: 0 / 0.6032 GB, free: 14.99 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.047e-05/0.4309, allocations: 4 kB / 0.6032 GB, free: 14.98 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.4309, allocations: 0 / 0.6032 GB, free: 14.98 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.524e-06/0.4309, allocations: 4.422 kB / 0.6032 GB, free: 14.98 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002648/0.4311, allocations: 237.9 kB / 0.6034 GB, free: 14.72 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.939e-05/0.4312, allocations: 97 kB / 0.6035 GB, free: 14.61 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.254e-05/0.4312, allocations: 4 kB / 0.6035 GB, free: 14.61 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.717e-05/0.4313, allocations: 15.94 kB / 0.6035 GB, free: 14.59 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.956e-05/0.4314, allocations: 8 kB / 0.6035 GB, free: 14.58 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.334e-06/0.4314, allocations: 4 kB / 0.6035 GB, free: 14.58 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001472/0.4315, allocations: 180.3 kB / 0.6037 GB, free: 14.4 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4315, allocations: 0 / 0.6037 GB, free: 14.4 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002473/0.4318, allocations: 31.98 kB / 0.6037 GB, free: 14.37 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.0009285/0.4327, allocations: 472.8 kB / 0.6042 GB, free: 14.09 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002097/0.433, allocations: 83.89 kB / 0.6042 GB, free: 14.01 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.433, allocations: 0 / 0.6042 GB, free: 14.01 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.97e-05/0.4331, allocations: 39.98 kB / 0.6043 GB, free: 13.97 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000206/0.4333, allocations: 20.11 kB / 0.6043 GB, free: 13.95 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005334/0.4338, allocations: 333.6 kB / 0.6046 GB, free: 13.59 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003004/0.4341, allocations: 0.7199 MB / 0.6053 GB, free: 12.84 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 8.258e-05/0.4342, allocations: 24.95 kB / 0.6054 GB, free: 12.82 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.947e-05/0.4343, allocations: 15.44 kB / 0.6054 GB, free: 12.8 MB / 426.7 MB Notification: Performance of SimCode: time 1.834e-06/0.4343, allocations: 0 / 0.6054 GB, free: 12.8 MB / 426.7 MB Notification: Performance of Templates: time 0.003737/0.438, allocations: 1.443 MB / 0.6068 GB, free: 11.37 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test28/Test28.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches