Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.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.CombiTable1Ds.Test2") translateModel(ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001075/0.001075, allocations: 110.6 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.001114/0.001114, 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.244/1.244, allocations: 222.9 MB / 243.1 MB, free: 15.06 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.1839/0.1839, allocations: 44.19 MB / 337.4 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001175/0.001175, allocations: 67.91 kB / 471.2 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2901/0.2913, allocations: 60.82 MB / 0.5196 GB, free: 3.605 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test2): time 0.002542/0.2939, allocations: 1.564 MB / 0.5211 GB, free: 2.523 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005979/0.2945, allocations: 403.7 kB / 0.5215 GB, free: 2.258 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.367e-05/0.2946, allocations: 5.031 kB / 0.5215 GB, free: 2.254 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001823/0.2948, allocations: 19.48 kB / 0.5215 GB, free: 2.242 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001642/0.2949, allocations: 39.08 kB / 0.5215 GB, free: 2.219 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002214/0.2952, allocations: 85.06 kB / 0.5216 GB, free: 2.176 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001215/0.2953, allocations: 58.72 kB / 0.5217 GB, free: 2.148 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.229e-05/0.2954, allocations: 11.67 kB / 0.5217 GB, free: 2.145 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.906e-05/0.2955, allocations: 26.95 kB / 0.5217 GB, free: 2.129 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.053e-05/0.2955, allocations: 19.75 kB / 0.5217 GB, free: 2.117 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.483e-05/0.2955, allocations: 2.656 kB / 0.5217 GB, free: 2.117 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.799e-05/0.2956, allocations: 29.3 kB / 0.5218 GB, free: 2.109 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.236e-05/0.2957, allocations: 14.05 kB / 0.5218 GB, free: 2.102 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.973e-05/0.2957, allocations: 20.38 kB / 0.5218 GB, free: 2.086 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001382/0.2958, allocations: 73.02 kB / 0.5219 GB, free: 2.055 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.2958, allocations: 1.094 kB / 0.5219 GB, free: 2.055 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.2958, allocations: 3.938 kB / 0.5219 GB, free: 2.051 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.979e-06/0.2959, allocations: 0 / 0.5219 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.0003419/0.2962, allocations: 376.9 kB / 0.5222 GB, free: 1.668 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.373e-05/0.2962, allocations: 9.938 kB / 0.5222 GB, free: 1.668 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.117e-05/0.2963, allocations: 7.844 kB / 0.5223 GB, free: 1.664 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001289/0.2964, allocations: 191.9 kB / 0.5224 GB, free: 1.457 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.933e-06/0.2964, allocations: 5.906 kB / 0.5224 GB, free: 1.453 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.087e-05/0.2965, allocations: 1.625 kB / 0.5224 GB, free: 1.453 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001176/0.2966, allocations: 49.39 kB / 0.5225 GB, free: 1.414 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.2966, allocations: 0 / 0.5225 GB, free: 1.414 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.416e-06/0.2966, allocations: 0 / 0.5225 GB, free: 1.414 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.2966, allocations: 9.188 kB / 0.5225 GB, free: 1.406 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.336e-05/0.2967, allocations: 25.59 kB / 0.5225 GB, free: 1.398 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002699/0.297, allocations: 277.3 kB / 0.5228 GB, free: 1.109 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001712/0.2972, allocations: 40.17 kB / 0.5228 GB, free: 1.082 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.602e-05/0.2972, allocations: 17.02 kB / 0.5228 GB, free: 1.07 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.662e-05/0.2972, allocations: 9.328 kB / 0.5229 GB, free: 1.062 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.251e-05/0.2973, allocations: 36.19 kB / 0.5229 GB, free: 1.02 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.2973, allocations: 0 / 0.5229 GB, free: 1.02 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004852/0.2978, allocations: 131.4 kB / 0.523 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.076e-05/0.2978, allocations: 52.56 kB / 0.5231 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001068/0.2979, allocations: 139.7 kB / 0.5232 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.877e-06/0.2979, allocations: 34.45 kB / 0.5232 GB, free: 0.7461 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.148e-05/0.2979, allocations: 97.17 kB / 0.5233 GB, free: 0.6523 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.957e-05/0.298, allocations: 15.23 kB / 0.5233 GB, free: 0.6406 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.983e-05/0.298, allocations: 19.27 kB / 0.5234 GB, free: 0.6211 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.637e-05/0.2981, allocations: 319.5 kB / 0.5237 GB, free: 312 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.639e-05/0.2981, allocations: 17.95 kB / 0.5237 GB, free: 308 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.634e-05/0.2982, allocations: 18.95 kB / 0.5237 GB, free: 304 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001134/0.2983, allocations: 47.03 kB / 0.5237 GB, free: 284 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.51e-07/0.2983, allocations: 0 / 0.5237 GB, free: 284 kB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001622/0.2985, allocations: 84.31 kB / 0.5238 GB, free: 232 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/0.2985, allocations: 6.141 kB / 0.5238 GB, free: 232 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.2985, allocations: 0 / 0.5238 GB, free: 232 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.2985, allocations: 5.875 kB / 0.5238 GB, free: 228 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.705e-05/0.2986, allocations: 11.81 kB / 0.5238 GB, free: 228 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.568e-06/0.2986, allocations: 4 kB / 0.5238 GB, free: 224 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.755e-05/0.2986, allocations: 5.75 kB / 0.5239 GB, free: 224 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.47e-06/0.2987, allocations: 1.844 kB / 0.5239 GB, free: 224 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.219e-05/0.2987, allocations: 118.4 kB / 0.524 GB, free: 100 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.993e-05/0.2987, allocations: 7.938 kB / 0.524 GB, free: 96 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000202/0.299, allocations: 92.83 kB / 0.5241 GB, free: 32 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.299, allocations: 1.531 kB / 0.5241 GB, free: 32 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.389e-06/0.299, allocations: 4.75 kB / 0.5241 GB, free: 28 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.299, allocations: 0 / 0.5241 GB, free: 28 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004011/0.2994, allocations: 337.9 kB / 0.5244 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/0.2994, allocations: 5.062 kB / 0.5244 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.118e-05/0.2995, allocations: 10.86 kB / 0.5244 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.478e-06/0.2995, allocations: 1.938 kB / 0.5244 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.803e-06/0.2995, allocations: 5.125 kB / 0.5244 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.2995, allocations: 3.938 kB / 0.5244 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.2995, allocations: 5.188 kB / 0.5244 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002045/0.2997, allocations: 173 kB / 0.5246 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.484e-05/0.2997, allocations: 83.92 kB / 0.5247 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.739e-05/0.2998, allocations: 4 kB / 0.5247 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.547e-05/0.2998, allocations: 10.02 kB / 0.5247 GB, free: 15.44 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.419e-05/0.2999, allocations: 6.891 kB / 0.5247 GB, free: 15.44 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.428e-06/0.2999, allocations: 6.031 kB / 0.5247 GB, free: 15.43 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.226e-05/0.3, allocations: 113.6 kB / 0.5248 GB, free: 15.35 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3, allocations: 0 / 0.5248 GB, free: 15.35 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002287/0.3002, allocations: 14.17 kB / 0.5248 GB, free: 15.35 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.00084/0.3011, allocations: 402.9 kB / 0.5252 GB, free: 15.16 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000181/0.3013, allocations: 47.73 kB / 0.5252 GB, free: 15.14 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.3013, allocations: 4 kB / 0.5252 GB, free: 15.14 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.133e-05/0.3013, allocations: 23.77 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.0003026/0.3017, allocations: 21.72 kB / 0.5253 GB, free: 15.12 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003332/0.302, allocations: 191.6 kB / 0.5255 GB, free: 14.96 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002802/0.3023, allocations: 0.6948 MB / 0.5262 GB, free: 14.26 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.076e-05/0.3023, allocations: 13.03 kB / 0.5262 GB, free: 14.25 MB / 398.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3023, allocations: 4 kB / 0.5262 GB, free: 14.25 MB / 398.1 MB Notification: Performance of Templates: time 0.003089/0.3054, allocations: 1.369 MB / 0.5275 GB, free: 13.98 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches