Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001119/0.00112, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.253/1.253, allocations: 226.7 MB / 245.5 MB, free: 6.984 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009317/0.000932, allocations: 114.8 kB / 296.7 MB, free: 6.469 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3812/0.3812, allocations: 44.83 MB / 392.7 MB, free: 34.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001109/0.001109, allocations: 59.91 kB / 465.5 MB, free: 12.11 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3159/0.317, allocations: 62.02 MB / 0.5151 GB, free: 37.87 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test4): time 0.002646/0.3197, allocations: 1.702 MB / 0.5168 GB, free: 36.69 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008384/0.3206, allocations: 0.573 MB / 0.5174 GB, free: 36.31 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.815e-05/0.3206, allocations: 0 / 0.5174 GB, free: 36.31 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004914/0.3211, allocations: 455.4 kB / 0.5178 GB, free: 36.29 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003123/0.3215, allocations: 272.6 kB / 0.5181 GB, free: 36.25 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003409/0.3218, allocations: 170.1 kB / 0.5182 GB, free: 36.16 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001963/0.322, allocations: 171.5 kB / 0.5184 GB, free: 36.13 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001028/0.3221, allocations: 15.92 kB / 0.5184 GB, free: 36.12 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.604e-05/0.3222, allocations: 105.4 kB / 0.5185 GB, free: 36.11 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001781/0.3224, allocations: 205.1 kB / 0.5187 GB, free: 36.09 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.016e-05/0.3224, allocations: 2.906 kB / 0.5187 GB, free: 36.09 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.413e-05/0.3225, allocations: 31.44 kB / 0.5187 GB, free: 36.08 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000111/0.3226, allocations: 87.83 kB / 0.5188 GB, free: 36.05 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.894e-05/0.3227, allocations: 102.8 kB / 0.5189 GB, free: 35.96 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000239/0.323, allocations: 252.2 kB / 0.5192 GB, free: 35.85 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.323, allocations: 3.188 kB / 0.5192 GB, free: 35.85 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.323, allocations: 4 kB / 0.5192 GB, free: 35.85 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.279e-06/0.323, allocations: 0 / 0.5192 GB, free: 35.85 MB / 378.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.0005898/0.3236, allocations: 0.6309 MB / 0.5198 GB, free: 35.29 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.269e-05/0.3236, allocations: 14.45 kB / 0.5198 GB, free: 35.29 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.882e-05/0.3237, allocations: 37.72 kB / 0.5198 GB, free: 35.27 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002347/0.3239, allocations: 305.2 kB / 0.5201 GB, free: 34.98 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.37e-05/0.3239, allocations: 3.25 kB / 0.5201 GB, free: 34.98 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.641e-05/0.324, allocations: 4.375 kB / 0.5201 GB, free: 34.98 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001422/0.3241, allocations: 66.08 kB / 0.5202 GB, free: 34.93 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.3241, allocations: 0 / 0.5202 GB, free: 34.93 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.859e-06/0.3242, allocations: 4 kB / 0.5202 GB, free: 34.93 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.3242, allocations: 2.875 kB / 0.5202 GB, free: 34.93 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.002e-05/0.3243, allocations: 27.08 kB / 0.5202 GB, free: 34.92 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004073/0.3247, allocations: 393.9 kB / 0.5206 GB, free: 34.6 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001972/0.3249, allocations: 50.38 kB / 0.5206 GB, free: 34.57 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.785e-05/0.3249, allocations: 13.48 kB / 0.5207 GB, free: 34.56 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.101e-05/0.325, allocations: 11.17 kB / 0.5207 GB, free: 34.55 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.241e-05/0.325, allocations: 30.56 kB / 0.5207 GB, free: 34.51 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.262e-06/0.325, allocations: 2.875 kB / 0.5207 GB, free: 34.51 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005646/0.3256, allocations: 234.1 kB / 0.5209 GB, free: 34.38 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.572e-05/0.3256, allocations: 54.69 kB / 0.521 GB, free: 34.32 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007057/0.3263, allocations: 0.8633 MB / 0.5218 GB, free: 34 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.117e-06/0.3263, allocations: 28.27 kB / 0.5218 GB, free: 33.97 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001304/0.3265, allocations: 221.5 kB / 0.5221 GB, free: 33.79 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.225e-05/0.3265, allocations: 22.17 kB / 0.5221 GB, free: 33.78 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.452e-05/0.3265, allocations: 23.91 kB / 0.5221 GB, free: 33.75 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.888e-05/0.3266, allocations: 368.2 kB / 0.5225 GB, free: 33.41 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.98e-05/0.3267, allocations: 23.05 kB / 0.5225 GB, free: 33.41 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.765e-05/0.3268, allocations: 20.83 kB / 0.5225 GB, free: 33.41 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001274/0.3269, allocations: 52.33 kB / 0.5225 GB, free: 33.39 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.3269, allocations: 0 / 0.5225 GB, free: 33.39 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002292/0.3272, allocations: 124.2 kB / 0.5227 GB, free: 33.32 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.3272, allocations: 9.125 kB / 0.5227 GB, free: 33.31 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.3272, allocations: 0 / 0.5227 GB, free: 33.31 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.3272, allocations: 0 / 0.5227 GB, free: 33.31 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.181e-05/0.3273, allocations: 17.78 kB / 0.5227 GB, free: 33.31 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.3273, allocations: 0 / 0.5227 GB, free: 33.31 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.249e-05/0.3274, allocations: 8.875 kB / 0.5227 GB, free: 33.3 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.052e-06/0.3274, allocations: 0 / 0.5227 GB, free: 33.3 MB / 378.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 (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 0.0001588/0.3275, allocations: 218.1 kB / 0.5229 GB, free: 33.17 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.072e-05/0.3276, allocations: 49.84 kB / 0.523 GB, free: 33.14 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002541/0.3279, allocations: 138.5 kB / 0.5231 GB, free: 33.08 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.3279, allocations: 0 / 0.5231 GB, free: 33.08 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.3279, allocations: 0 / 0.5231 GB, free: 33.08 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.3279, allocations: 3.938 kB / 0.5231 GB, free: 33.07 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004485/0.3283, allocations: 468.8 kB / 0.5235 GB, free: 32.72 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.3284, allocations: 4 kB / 0.5235 GB, free: 32.71 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.009e-05/0.3284, allocations: 11.8 kB / 0.5236 GB, free: 32.71 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.3284, allocations: 0 / 0.5236 GB, free: 32.71 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.634e-06/0.3284, allocations: 6.688 kB / 0.5236 GB, free: 32.71 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.3284, allocations: 0 / 0.5236 GB, free: 32.71 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.3284, allocations: 3.938 kB / 0.5236 GB, free: 32.71 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004682/0.3289, allocations: 0.8807 MB / 0.5244 GB, free: 31.91 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.908e-05/0.329, allocations: 115.3 kB / 0.5245 GB, free: 31.79 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.244e-05/0.329, allocations: 0 / 0.5245 GB, free: 31.79 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.612e-05/0.3291, allocations: 2.594 kB / 0.5245 GB, free: 31.79 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.311e-05/0.3291, allocations: 13.92 kB / 0.5245 GB, free: 31.78 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.56e-06/0.3292, allocations: 2.625 kB / 0.5246 GB, free: 31.78 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005023/0.3297, allocations: 0.6559 MB / 0.5252 GB, free: 31.54 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3297, allocations: 4 kB / 0.5252 GB, free: 31.53 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003393/0.33, allocations: 25.47 kB / 0.5252 GB, free: 31.52 MB / 378.7 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.0008516/0.3309, allocations: 396.1 kB / 0.5256 GB, free: 31.33 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001967/0.3311, allocations: 51.73 kB / 0.5256 GB, free: 31.32 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.3311, allocations: 0 / 0.5256 GB, free: 31.32 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.205e-05/0.3312, allocations: 29.16 kB / 0.5257 GB, free: 31.31 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004004/0.3316, allocations: 32.44 kB / 0.5257 GB, free: 31.29 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009783/0.3326, allocations: 1.001 MB / 0.5267 GB, free: 30.72 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002537/0.3328, allocations: 0.8254 MB / 0.5275 GB, free: 30.01 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.035e-05/0.3329, allocations: 23.41 kB / 0.5275 GB, free: 30 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.551e-05/0.3329, allocations: 16.39 kB / 0.5275 GB, free: 29.99 MB / 378.7 MB Notification: Performance of SimCode: time 3.41e-07/0.3329, allocations: 0 / 0.5275 GB, free: 29.99 MB / 378.7 MB Notification: Performance of Templates: time 0.004373/0.3373, allocations: 1.453 MB / 0.5289 GB, free: 29.81 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test4/Test4.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches