Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.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.Test7,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.Test7") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test7,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.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001141/0.001141, allocations: 111.7 kB / 17.78 MB, free: 5.281 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.0009398/0.0009398, allocations: 179.9 kB / 18.71 MB, free: 4.363 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.239/1.239, 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.184/0.184, allocations: 44.19 MB / 336.7 MB, free: 2.641 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 59.91 kB / 470.5 MB, free: 13.13 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2857/0.2869, allocations: 60.83 MB / 0.5189 GB, free: 3.613 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test7): time 0.002336/0.2893, allocations: 1.568 MB / 0.5204 GB, free: 2.527 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005756/0.2899, allocations: 401 kB / 0.5208 GB, free: 2.266 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.985e-05/0.2899, allocations: 0 / 0.5208 GB, free: 2.266 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001703/0.2901, allocations: 25.3 kB / 0.5209 GB, free: 2.25 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001593/0.2903, allocations: 40.34 kB / 0.5209 GB, free: 2.227 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002154/0.2905, allocations: 85.27 kB / 0.521 GB, free: 2.184 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001125/0.2906, allocations: 54.17 kB / 0.521 GB, free: 2.16 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.244e-05/0.2907, allocations: 15.55 kB / 0.521 GB, free: 2.152 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.035e-05/0.2908, allocations: 17.97 kB / 0.5211 GB, free: 2.145 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.714e-05/0.2908, allocations: 21.27 kB / 0.5211 GB, free: 2.133 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.365e-05/0.2908, allocations: 2.188 kB / 0.5211 GB, free: 2.133 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.651e-05/0.2909, allocations: 33.52 kB / 0.5211 GB, free: 2.121 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.146e-05/0.291, allocations: 14.86 kB / 0.5211 GB, free: 2.113 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.162e-05/0.291, allocations: 21.02 kB / 0.5211 GB, free: 2.098 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001417/0.2911, allocations: 82.08 kB / 0.5212 GB, free: 2.062 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.2912, allocations: 5.25 kB / 0.5212 GB, free: 2.059 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.123e-06/0.2912, allocations: 0 / 0.5212 GB, free: 2.059 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.529e-06/0.2912, allocations: 0 / 0.5212 GB, free: 2.059 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.000314/0.2915, allocations: 378.6 kB / 0.5216 GB, free: 1.672 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.857e-05/0.2915, allocations: 10.7 kB / 0.5216 GB, free: 1.672 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.86e-05/0.2916, allocations: 7.766 kB / 0.5216 GB, free: 1.668 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001241/0.2917, allocations: 191 kB / 0.5218 GB, free: 1.457 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.891e-06/0.2917, allocations: 1.719 kB / 0.5218 GB, free: 1.457 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.925e-05/0.2917, allocations: 2.266 kB / 0.5218 GB, free: 1.457 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001125/0.2918, allocations: 52.28 kB / 0.5218 GB, free: 1.414 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.2919, allocations: 5.469 kB / 0.5219 GB, free: 1.41 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.745e-06/0.2919, allocations: 3.938 kB / 0.5219 GB, free: 1.406 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.2919, allocations: 5.875 kB / 0.5219 GB, free: 1.402 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.349e-05/0.292, allocations: 20.72 kB / 0.5219 GB, free: 1.398 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002483/0.2922, allocations: 269.9 kB / 0.5221 GB, free: 1.117 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001628/0.2924, allocations: 44.2 kB / 0.5222 GB, free: 1.086 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.496e-05/0.2924, allocations: 17.48 kB / 0.5222 GB, free: 1.074 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.586e-05/0.2925, allocations: 1.609 kB / 0.5222 GB, free: 1.074 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.057e-05/0.2925, allocations: 36.22 kB / 0.5222 GB, free: 1.031 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.543e-06/0.2925, allocations: 0 / 0.5222 GB, free: 1.031 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004684/0.293, allocations: 147.7 kB / 0.5224 GB, free: 0.957 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.783e-05/0.293, allocations: 52.47 kB / 0.5224 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001135/0.2931, allocations: 154.8 kB / 0.5226 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.634e-06/0.2931, allocations: 27.47 kB / 0.5226 GB, free: 0.75 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.961e-05/0.2932, allocations: 97.27 kB / 0.5227 GB, free: 0.6562 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.7e-05/0.2932, allocations: 14.84 kB / 0.5227 GB, free: 0.6445 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.969e-05/0.2932, allocations: 19.8 kB / 0.5227 GB, free: 0.625 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.58e-05/0.2933, allocations: 323.8 kB / 0.523 GB, free: 312 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.455e-05/0.2933, allocations: 22.28 kB / 0.5231 GB, free: 304 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.59e-05/0.2934, allocations: 15.05 kB / 0.5231 GB, free: 304 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001141/0.2935, allocations: 50.2 kB / 0.5231 GB, free: 280 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.22e-07/0.2935, allocations: 0 / 0.5231 GB, free: 280 kB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001579/0.2937, allocations: 81.69 kB / 0.5232 GB, free: 232 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.086e-05/0.2937, allocations: 4.828 kB / 0.5232 GB, free: 232 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.2937, allocations: 9.547 kB / 0.5232 GB, free: 224 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.2937, allocations: 0 / 0.5232 GB, free: 224 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.775e-05/0.2938, allocations: 12.45 kB / 0.5232 GB, free: 224 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.797e-06/0.2938, allocations: 0.7031 kB / 0.5232 GB, free: 224 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.799e-05/0.2938, allocations: 8.891 kB / 0.5232 GB, free: 220 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.254e-06/0.2939, allocations: 6.031 kB / 0.5232 GB, free: 216 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.737e-05/0.2939, allocations: 115.8 kB / 0.5233 GB, free: 96 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.805e-05/0.2939, allocations: 8.25 kB / 0.5234 GB, free: 92 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001901/0.2941, allocations: 93.38 kB / 0.5234 GB, free: 28 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.2942, allocations: 1.844 kB / 0.5234 GB, free: 28 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.905e-06/0.2942, allocations: 0 / 0.5234 GB, free: 28 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.2942, allocations: 1.938 kB / 0.5234 GB, free: 28 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003798/0.2946, allocations: 345.4 kB / 0.5238 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.2946, allocations: 1.438 kB / 0.5238 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.398e-05/0.2946, allocations: 19.56 kB / 0.5238 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.2946, allocations: 1.438 kB / 0.5238 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.881e-06/0.2946, allocations: 0 / 0.5238 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/0.2946, allocations: 6.375 kB / 0.5238 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.2947, allocations: 0 / 0.5238 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001903/0.2948, allocations: 176.6 kB / 0.524 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.914e-05/0.2949, allocations: 88.44 kB / 0.5241 GB, free: 15.44 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.373e-05/0.2949, allocations: 7.938 kB / 0.5241 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.771e-05/0.295, allocations: 13.7 kB / 0.5241 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.001e-05/0.295, allocations: 4 kB / 0.5241 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.097e-06/0.295, allocations: 0.9688 kB / 0.5241 GB, free: 15.42 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.097e-05/0.2951, allocations: 119 kB / 0.5242 GB, free: 15.34 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2951, allocations: 0 / 0.5242 GB, free: 15.34 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002333/0.2954, allocations: 14.08 kB / 0.5242 GB, free: 15.34 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.0008057/0.2962, allocations: 397.8 kB / 0.5246 GB, free: 15.15 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001752/0.2964, allocations: 44.72 kB / 0.5246 GB, free: 15.14 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.2964, allocations: 0 / 0.5246 GB, free: 15.14 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.993e-05/0.2964, allocations: 23.62 kB / 0.5247 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.0002665/0.2967, allocations: 24.77 kB / 0.5247 GB, free: 15.12 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003076/0.297, allocations: 182.6 kB / 0.5248 GB, free: 14.98 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002225/0.2973, allocations: 0.7019 MB / 0.5255 GB, free: 14.27 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.424e-05/0.2973, allocations: 10.42 kB / 0.5255 GB, free: 14.27 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.502e-05/0.2974, allocations: 12.53 kB / 0.5256 GB, free: 14.26 MB / 398.1 MB Notification: Performance of SimCode: time 1.603e-06/0.2974, allocations: 0 / 0.5256 GB, free: 14.26 MB / 398.1 MB Notification: Performance of Templates: time 0.003161/0.3005, allocations: 1.1 MB / 0.5266 GB, free: 14.12 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test7/Test7.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches