Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.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.Test20,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.Test20") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test20,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.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001231/0.001231, allocations: 113.3 kB / 18.45 MB, free: 4.602 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.001144/0.001144, allocations: 181.1 kB / 19.38 MB, free: 3.684 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.257/1.257, 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.1795/0.1795, allocations: 44.18 MB / 337.4 MB, free: 2.645 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001143/0.001143, allocations: 67.84 kB / 471.2 MB, free: 13.13 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2834/0.2845, allocations: 60.81 MB / 0.5196 GB, free: 3.605 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test20): time 0.002501/0.2871, allocations: 1.573 MB / 0.5211 GB, free: 2.516 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001162/0.2882, allocations: 1.031 MB / 0.5221 GB, free: 1.781 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.416e-05/0.2883, allocations: 1.188 kB / 0.5221 GB, free: 1.781 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001806/0.2885, allocations: 15.48 kB / 0.5221 GB, free: 1.773 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001676/0.2887, allocations: 41.7 kB / 0.5222 GB, free: 1.75 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00022/0.2889, allocations: 88.41 kB / 0.5223 GB, free: 1.703 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001268/0.289, allocations: 55.58 kB / 0.5223 GB, free: 1.68 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.651e-05/0.2891, allocations: 7.766 kB / 0.5223 GB, free: 1.68 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.07e-05/0.2892, allocations: 31.47 kB / 0.5223 GB, free: 1.66 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001384/0.2893, allocations: 29.19 kB / 0.5224 GB, free: 1.645 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.726e-05/0.2893, allocations: 2.562 kB / 0.5224 GB, free: 1.645 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.418e-05/0.2894, allocations: 47.28 kB / 0.5224 GB, free: 1.633 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.899e-05/0.2895, allocations: 15.42 kB / 0.5224 GB, free: 1.621 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.7e-05/0.2895, allocations: 17.61 kB / 0.5225 GB, free: 1.609 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000171/0.2897, allocations: 89.69 kB / 0.5225 GB, free: 1.57 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.828e-06/0.2897, allocations: 1.5 kB / 0.5225 GB, free: 1.57 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.2897, allocations: 0.75 kB / 0.5225 GB, free: 1.57 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.2897, allocations: 0 / 0.5225 GB, free: 1.57 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.0003309/0.2901, allocations: 381.8 kB / 0.5229 GB, free: 1.184 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.998e-05/0.2901, allocations: 13.22 kB / 0.5229 GB, free: 1.18 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.669e-05/0.2901, allocations: 7.625 kB / 0.5229 GB, free: 1.176 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001219/0.2903, allocations: 184.9 kB / 0.5231 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.006e-05/0.2903, allocations: 5.656 kB / 0.5231 GB, free: 0.9688 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.706e-05/0.2903, allocations: 2.062 kB / 0.5231 GB, free: 0.9688 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001233/0.2904, allocations: 60.95 kB / 0.5232 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.2904, allocations: 1.891 kB / 0.5232 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.09e-05/0.2905, allocations: 8 kB / 0.5232 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.2905, allocations: 5.031 kB / 0.5232 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.319e-05/0.2906, allocations: 17.3 kB / 0.5232 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002453/0.2908, allocations: 268.8 kB / 0.5235 GB, free: 0.6211 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001742/0.291, allocations: 48.45 kB / 0.5235 GB, free: 0.5859 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.44e-05/0.2911, allocations: 21.02 kB / 0.5235 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.066e-05/0.2911, allocations: 1.656 kB / 0.5235 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.374e-05/0.2911, allocations: 32.48 kB / 0.5236 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.2911, allocations: 3.938 kB / 0.5236 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004797/0.2916, allocations: 142.5 kB / 0.5237 GB, free: 468 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.191e-05/0.2916, allocations: 82.75 kB / 0.5238 GB, free: 368 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001016/0.2917, allocations: 135.1 kB / 0.5239 GB, free: 256 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.165e-06/0.2918, allocations: 26.92 kB / 0.5239 GB, free: 224 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.656e-05/0.2918, allocations: 88.58 kB / 0.524 GB, free: 136 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.88e-05/0.2918, allocations: 19.41 kB / 0.524 GB, free: 120 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.968e-05/0.2918, allocations: 19.53 kB / 0.5241 GB, free: 100 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001026/0.2919, allocations: 318.9 kB / 0.5244 GB, free: 15.78 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.504e-05/0.292, allocations: 17.92 kB / 0.5244 GB, free: 15.78 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.911e-05/0.2921, allocations: 35.53 kB / 0.5244 GB, free: 15.75 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001257/0.2922, allocations: 46.86 kB / 0.5244 GB, free: 15.73 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.2922, allocations: 0 / 0.5244 GB, free: 15.73 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000174/0.2924, allocations: 84.97 kB / 0.5245 GB, free: 15.68 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.2924, allocations: 5.719 kB / 0.5245 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.2924, allocations: 0.8281 kB / 0.5245 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.063e-05/0.2925, allocations: 4 kB / 0.5245 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.732e-05/0.2925, allocations: 12.67 kB / 0.5246 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.2925, allocations: 0.7031 kB / 0.5246 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.918e-05/0.2926, allocations: 8.688 kB / 0.5246 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.945e-06/0.2926, allocations: 6.031 kB / 0.5246 GB, free: 15.67 MB / 398.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 6.623e-05/0.2927, allocations: 114.7 kB / 0.5247 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.421e-05/0.2927, allocations: 11.5 kB / 0.5247 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002108/0.2929, allocations: 92.34 kB / 0.5248 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.2929, allocations: 1.562 kB / 0.5248 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.2929, allocations: 0 / 0.5248 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.2929, allocations: 0.7031 kB / 0.5248 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003679/0.2933, allocations: 346 kB / 0.5251 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.2933, allocations: 1.281 kB / 0.5251 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.415e-05/0.2934, allocations: 16.06 kB / 0.5251 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.2934, allocations: 4 kB / 0.5251 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.713e-06/0.2934, allocations: 1.703 kB / 0.5251 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.2934, allocations: 5.094 kB / 0.5251 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.2934, allocations: 0 / 0.5251 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001966/0.2936, allocations: 173.4 kB / 0.5253 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.075e-05/0.2937, allocations: 79.28 kB / 0.5254 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.765e-05/0.2937, allocations: 2.422 kB / 0.5254 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.845e-05/0.2938, allocations: 12.28 kB / 0.5254 GB, free: 14.9 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.275e-05/0.2938, allocations: 11.69 kB / 0.5254 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.018e-06/0.2938, allocations: 1.406 kB / 0.5254 GB, free: 14.89 MB / 398.1 MB Notification: Performance of sorting global known variables: time 6.695e-05/0.2939, allocations: 104.1 kB / 0.5255 GB, free: 14.81 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2939, allocations: 0 / 0.5255 GB, free: 14.81 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002411/0.2941, allocations: 23.36 kB / 0.5255 GB, free: 14.8 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.0009175/0.2951, allocations: 455.5 kB / 0.526 GB, free: 14.59 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000196/0.2953, allocations: 45.75 kB / 0.526 GB, free: 14.58 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.2953, allocations: 0 / 0.526 GB, free: 14.58 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.37e-05/0.2954, allocations: 23.56 kB / 0.526 GB, free: 14.57 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003042/0.2957, allocations: 17.86 kB / 0.526 GB, free: 14.57 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003298/0.296, allocations: 184.3 kB / 0.5262 GB, free: 14.4 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002057/0.2962, allocations: 0.6909 MB / 0.5269 GB, free: 13.7 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.719e-05/0.2963, allocations: 16.62 kB / 0.5269 GB, free: 13.7 MB / 398.1 MB Notification: Performance of SimCode: time 3.61e-07/0.2963, allocations: 0 / 0.5269 GB, free: 13.7 MB / 398.1 MB Notification: Performance of Templates: time 0.003432/0.2997, allocations: 1.559 MB / 0.5284 GB, free: 13.29 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches