Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.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.Test1,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.Test1") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test1,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.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001221/0.001221, allocations: 112.7 kB / 18.45 MB, free: 4.621 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.001211/0.001211, allocations: 185.2 kB / 19.38 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.224/1.224, allocations: 222.9 MB / 243.1 MB, free: 15.05 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.1882/0.1882, allocations: 44.18 MB / 337.4 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001185/0.001185, allocations: 63.91 kB / 471.2 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2931/0.2943, allocations: 60.82 MB / 0.5196 GB, free: 3.602 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test1): time 0.002494/0.2969, allocations: 1.552 MB / 0.5211 GB, free: 2.531 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000599/0.2975, allocations: 408.3 kB / 0.5215 GB, free: 2.262 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.571e-05/0.2975, allocations: 0 / 0.5215 GB, free: 2.262 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001719/0.2977, allocations: 16.7 kB / 0.5215 GB, free: 2.254 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001645/0.2979, allocations: 42.45 kB / 0.5215 GB, free: 2.227 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000211/0.2981, allocations: 80.84 kB / 0.5216 GB, free: 2.188 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001167/0.2982, allocations: 63.7 kB / 0.5217 GB, free: 2.156 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.898e-05/0.2983, allocations: 11.66 kB / 0.5217 GB, free: 2.152 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.77e-05/0.2984, allocations: 18.52 kB / 0.5217 GB, free: 2.145 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.868e-05/0.2984, allocations: 20.12 kB / 0.5217 GB, free: 2.133 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.37e-05/0.2985, allocations: 1.375 kB / 0.5217 GB, free: 2.133 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.682e-05/0.2985, allocations: 34.22 kB / 0.5218 GB, free: 2.121 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.831e-05/0.2986, allocations: 13.05 kB / 0.5218 GB, free: 2.113 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.933e-05/0.2986, allocations: 22.03 kB / 0.5218 GB, free: 2.098 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001413/0.2988, allocations: 71.7 kB / 0.5219 GB, free: 2.066 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.2988, allocations: 1 kB / 0.5219 GB, free: 2.066 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.2988, allocations: 0 / 0.5219 GB, free: 2.066 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.699e-06/0.2988, allocations: 0 / 0.5219 GB, free: 2.066 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.0003223/0.2991, allocations: 377.4 kB / 0.5222 GB, free: 1.684 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.059e-05/0.2991, allocations: 9.906 kB / 0.5222 GB, free: 1.684 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.905e-05/0.2992, allocations: 11.92 kB / 0.5222 GB, free: 1.676 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001142/0.2993, allocations: 187.6 kB / 0.5224 GB, free: 1.469 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.781e-06/0.2993, allocations: 5.625 kB / 0.5224 GB, free: 1.465 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.123e-05/0.2993, allocations: 3.375 kB / 0.5224 GB, free: 1.465 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001108/0.2995, allocations: 52.08 kB / 0.5225 GB, free: 1.422 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.2995, allocations: 5.688 kB / 0.5225 GB, free: 1.418 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.725e-06/0.2995, allocations: 4 kB / 0.5225 GB, free: 1.414 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.617e-06/0.2995, allocations: 1.188 kB / 0.5225 GB, free: 1.414 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.239e-05/0.2996, allocations: 22 kB / 0.5225 GB, free: 1.41 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002447/0.2998, allocations: 272.1 kB / 0.5228 GB, free: 1.125 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000165/0.3, allocations: 44.58 kB / 0.5228 GB, free: 1.094 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.492e-05/0.3001, allocations: 21.23 kB / 0.5228 GB, free: 1.078 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.558e-05/0.3001, allocations: 1.75 kB / 0.5228 GB, free: 1.078 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.067e-05/0.3001, allocations: 35.53 kB / 0.5229 GB, free: 1.035 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.3001, allocations: 0 / 0.5229 GB, free: 1.035 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004685/0.3006, allocations: 130.7 kB / 0.523 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.885e-05/0.3006, allocations: 53.16 kB / 0.523 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001036/0.3007, allocations: 147.7 kB / 0.5232 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.174e-06/0.3007, allocations: 29.7 kB / 0.5232 GB, free: 0.7617 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.148e-05/0.3008, allocations: 97.45 kB / 0.5233 GB, free: 0.668 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.764e-05/0.3008, allocations: 15.25 kB / 0.5233 GB, free: 0.6562 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.879e-05/0.3008, allocations: 18.45 kB / 0.5233 GB, free: 0.6367 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.978e-05/0.3009, allocations: 319.1 kB / 0.5236 GB, free: 328 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.582e-05/0.3009, allocations: 18.67 kB / 0.5237 GB, free: 324 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.553e-05/0.301, allocations: 27.62 kB / 0.5237 GB, free: 312 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000113/0.3011, allocations: 42.11 kB / 0.5237 GB, free: 296 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.41e-07/0.3011, allocations: 1.156 kB / 0.5237 GB, free: 296 kB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001586/0.3013, allocations: 84.38 kB / 0.5238 GB, free: 244 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.191e-05/0.3013, allocations: 4.406 kB / 0.5238 GB, free: 244 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.3013, allocations: 1.844 kB / 0.5238 GB, free: 244 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.157e-05/0.3013, allocations: 3.938 kB / 0.5238 GB, free: 240 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.775e-05/0.3014, allocations: 16.86 kB / 0.5238 GB, free: 236 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.3014, allocations: 3.984 kB / 0.5238 GB, free: 232 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.635e-05/0.3015, allocations: 5.875 kB / 0.5238 GB, free: 232 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.139e-06/0.3015, allocations: 1.312 kB / 0.5238 GB, free: 232 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 4.757e-05/0.3015, allocations: 118.6 kB / 0.524 GB, free: 108 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.005e-05/0.3015, allocations: 8.219 kB / 0.524 GB, free: 104 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000195/0.3017, allocations: 96.97 kB / 0.5241 GB, free: 36 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.3018, allocations: 1.688 kB / 0.5241 GB, free: 36 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.965e-06/0.3018, allocations: 0 / 0.5241 GB, free: 36 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.085e-06/0.3018, allocations: 0.7969 kB / 0.5241 GB, free: 36 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000384/0.3022, allocations: 340.7 kB / 0.5244 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.3022, allocations: 1.156 kB / 0.5244 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.434e-05/0.3022, allocations: 16.11 kB / 0.5244 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.3022, allocations: 1.25 kB / 0.5244 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.554e-06/0.3023, allocations: 8.797 kB / 0.5244 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.3023, allocations: 5.281 kB / 0.5244 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.3023, allocations: 0 / 0.5244 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001944/0.3025, allocations: 173 kB / 0.5246 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.948e-05/0.3025, allocations: 79.34 kB / 0.5247 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.639e-05/0.3025, allocations: 6.188 kB / 0.5247 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.445e-05/0.3026, allocations: 8.297 kB / 0.5247 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.06e-05/0.3026, allocations: 6.859 kB / 0.5247 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.747e-06/0.3026, allocations: 2.094 kB / 0.5247 GB, free: 15.45 MB / 398.1 MB Notification: Performance of sorting global known variables: time 6.776e-05/0.3027, allocations: 109.4 kB / 0.5248 GB, free: 15.36 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3027, allocations: 3.938 kB / 0.5248 GB, free: 15.36 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002333/0.303, allocations: 15.7 kB / 0.5248 GB, free: 15.36 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.0008383/0.3038, allocations: 411.4 kB / 0.5252 GB, free: 15.16 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001762/0.304, allocations: 47.5 kB / 0.5252 GB, free: 15.14 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.304, allocations: 0 / 0.5252 GB, free: 15.14 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.043e-05/0.3041, allocations: 24.55 kB / 0.5253 GB, free: 15.14 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002856/0.3044, allocations: 22.03 kB / 0.5253 GB, free: 15.13 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003108/0.3047, allocations: 186.8 kB / 0.5255 GB, free: 14.96 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000214/0.3049, allocations: 0.6937 MB / 0.5261 GB, free: 14.27 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.843e-05/0.305, allocations: 16.78 kB / 0.5262 GB, free: 14.26 MB / 398.1 MB Notification: Performance of SimCode: time 2.4e-07/0.305, allocations: 3.938 kB / 0.5262 GB, free: 14.25 MB / 398.1 MB Notification: Performance of Templates: time 0.002744/0.3077, allocations: 1.369 MB / 0.5275 GB, free: 13.99 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches