Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.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.CombiTable1Dv.Test2,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.CombiTable1Dv.Test2") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test2,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.CombiTable1Dv.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001091/0.001091, allocations: 118.4 kB / 17.78 MB, free: 5.258 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.001094/0.001094, allocations: 183.8 kB / 18.72 MB, free: 4.332 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.243/1.243, allocations: 222.9 MB / 242.4 MB, free: 15.07 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.1897/0.1897, allocations: 44.19 MB / 336.7 MB, free: 2.645 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00113/0.00113, allocations: 55.91 kB / 470.6 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3228/0.324, allocations: 60.82 MB / 0.5189 GB, free: 3.621 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test2): time 0.002673/0.3267, allocations: 1.575 MB / 0.5205 GB, free: 2.531 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007444/0.3274, allocations: 400.6 kB / 0.5208 GB, free: 2.273 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.854e-05/0.3275, allocations: 5.188 kB / 0.5208 GB, free: 2.27 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002331/0.3278, allocations: 28.2 kB / 0.5209 GB, free: 2.25 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002453/0.328, allocations: 39.31 kB / 0.5209 GB, free: 2.227 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003143/0.3283, allocations: 110.4 kB / 0.521 GB, free: 2.172 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001481/0.3285, allocations: 55.44 kB / 0.5211 GB, free: 2.148 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001075/0.3286, allocations: 17 kB / 0.5211 GB, free: 2.141 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.633e-05/0.3287, allocations: 18 kB / 0.5211 GB, free: 2.133 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.087e-05/0.3287, allocations: 21.19 kB / 0.5211 GB, free: 2.121 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.667e-05/0.3288, allocations: 1.375 kB / 0.5211 GB, free: 2.121 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.669e-05/0.3288, allocations: 37.66 kB / 0.5212 GB, free: 2.105 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.523e-05/0.3289, allocations: 14.3 kB / 0.5212 GB, free: 2.098 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.964e-05/0.3289, allocations: 16.66 kB / 0.5212 GB, free: 2.086 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001993/0.3292, allocations: 78.3 kB / 0.5213 GB, free: 2.055 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/0.3292, allocations: 0.9688 kB / 0.5213 GB, free: 2.055 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.3292, allocations: 3.938 kB / 0.5213 GB, free: 2.051 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.818e-06/0.3292, allocations: 0 / 0.5213 GB, free: 2.051 MB / 382.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.0004194/0.3296, allocations: 381.5 kB / 0.5216 GB, free: 1.66 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.457e-05/0.3297, allocations: 10.39 kB / 0.5216 GB, free: 1.66 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.615e-05/0.3297, allocations: 7.203 kB / 0.5216 GB, free: 1.656 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001552/0.3299, allocations: 186.5 kB / 0.5218 GB, free: 1.449 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.269e-05/0.3299, allocations: 2.031 kB / 0.5218 GB, free: 1.449 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.604e-05/0.3299, allocations: 1.594 kB / 0.5218 GB, free: 1.449 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001375/0.3301, allocations: 50.08 kB / 0.5219 GB, free: 1.41 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.389e-05/0.3301, allocations: 1.031 kB / 0.5219 GB, free: 1.41 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.568e-06/0.3301, allocations: 8.703 kB / 0.5219 GB, free: 1.402 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.3301, allocations: 1.188 kB / 0.5219 GB, free: 1.402 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.606e-05/0.3302, allocations: 26.98 kB / 0.5219 GB, free: 1.395 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003283/0.3305, allocations: 279.4 kB / 0.5222 GB, free: 1.109 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002101/0.3308, allocations: 42 kB / 0.5222 GB, free: 1.082 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.361e-05/0.3308, allocations: 22.75 kB / 0.5222 GB, free: 1.066 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.674e-05/0.3309, allocations: 5.062 kB / 0.5222 GB, free: 1.062 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.742e-05/0.3309, allocations: 36.67 kB / 0.5223 GB, free: 1.02 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 9.71e-07/0.3309, allocations: 0 / 0.5223 GB, free: 1.02 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005177/0.3314, allocations: 142.3 kB / 0.5224 GB, free: 0.957 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.363e-05/0.3314, allocations: 57.17 kB / 0.5225 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001146/0.3316, allocations: 143 kB / 0.5226 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.111e-05/0.3316, allocations: 26.86 kB / 0.5226 GB, free: 0.7422 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.572e-05/0.3316, allocations: 96.22 kB / 0.5227 GB, free: 0.6484 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.966e-05/0.3316, allocations: 11.5 kB / 0.5227 GB, free: 0.6406 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.309e-05/0.3317, allocations: 19.95 kB / 0.5227 GB, free: 0.6211 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.456e-05/0.3317, allocations: 323.1 kB / 0.5231 GB, free: 308 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.187e-05/0.3318, allocations: 21.3 kB / 0.5231 GB, free: 304 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.346e-05/0.3319, allocations: 24.86 kB / 0.5231 GB, free: 296 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001244/0.332, allocations: 51.11 kB / 0.5231 GB, free: 276 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.332, allocations: 1.031 kB / 0.5232 GB, free: 276 kB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000165/0.3322, allocations: 84.27 kB / 0.5232 GB, free: 228 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/0.3322, allocations: 5.688 kB / 0.5232 GB, free: 228 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.958e-06/0.3322, allocations: 0 / 0.5232 GB, free: 228 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.3323, allocations: 6.047 kB / 0.5232 GB, free: 224 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.736e-05/0.3323, allocations: 14.77 kB / 0.5233 GB, free: 220 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.3323, allocations: 1.828 kB / 0.5233 GB, free: 220 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.593e-05/0.3324, allocations: 11.73 kB / 0.5233 GB, free: 212 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.051e-06/0.3324, allocations: 2.547 kB / 0.5233 GB, free: 212 kB / 382.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 5.348e-05/0.3324, allocations: 119.3 kB / 0.5234 GB, free: 88 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.92e-05/0.3325, allocations: 8.391 kB / 0.5234 GB, free: 84 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002105/0.3327, allocations: 102.8 kB / 0.5235 GB, free: 16 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.3327, allocations: 3.984 kB / 0.5235 GB, free: 12 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.3327, allocations: 1.062 kB / 0.5235 GB, free: 12 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.3327, allocations: 0.5156 kB / 0.5235 GB, free: 12 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004447/0.3332, allocations: 357.8 kB / 0.5238 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.3332, allocations: 0 / 0.5238 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.104e-05/0.3332, allocations: 12.03 kB / 0.5238 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.3332, allocations: 0 / 0.5238 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.693e-06/0.3333, allocations: 9.594 kB / 0.5239 GB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.3333, allocations: 4.594 kB / 0.5239 GB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.3333, allocations: 0 / 0.5239 GB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002458/0.3335, allocations: 177.6 kB / 0.524 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.698e-05/0.3336, allocations: 83.28 kB / 0.5241 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.877e-05/0.3336, allocations: 2.172 kB / 0.5241 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.131e-05/0.3337, allocations: 16.34 kB / 0.5241 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.246e-05/0.3337, allocations: 5.172 kB / 0.5241 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.288e-06/0.3337, allocations: 1.031 kB / 0.5241 GB, free: 15.41 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001241/0.3339, allocations: 115.7 kB / 0.5242 GB, free: 15.33 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3339, allocations: 1.188 kB / 0.5242 GB, free: 15.33 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002387/0.3341, allocations: 14.88 kB / 0.5243 GB, free: 15.32 MB / 398.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.0009058/0.335, allocations: 393.8 kB / 0.5246 GB, free: 15.14 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002122/0.3352, allocations: 57.11 kB / 0.5247 GB, free: 15.12 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.3353, allocations: 0 / 0.5247 GB, free: 15.12 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.654e-05/0.3353, allocations: 30.17 kB / 0.5247 GB, free: 15.11 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003259/0.3357, allocations: 16.73 kB / 0.5247 GB, free: 15.11 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004258/0.3361, allocations: 165.9 kB / 0.5249 GB, free: 14.97 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00035/0.3365, allocations: 0.6992 MB / 0.5256 GB, free: 14.27 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.005e-05/0.3365, allocations: 14.09 kB / 0.5256 GB, free: 14.27 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.726e-05/0.3366, allocations: 12.09 kB / 0.5256 GB, free: 14.26 MB / 398.1 MB Notification: Performance of SimCode: time 2e-07/0.3366, allocations: 0 / 0.5256 GB, free: 14.26 MB / 398.1 MB Notification: Performance of Templates: time 0.003798/0.3404, allocations: 1.118 MB / 0.5267 GB, free: 14.09 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test2/Test2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches