Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.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.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28") 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: 104.7 kB / 18.45 MB, free: 4.598 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.0009733/0.0009733, allocations: 183.1 kB / 19.38 MB, free: 3.68 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.215/1.215, 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.18/0.18, allocations: 44.18 MB / 337.4 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001156/0.001156, allocations: 71.88 kB / 471.2 MB, free: 13.15 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2903/0.2915, allocations: 60.82 MB / 0.5196 GB, free: 3.629 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test28): time 0.002527/0.2941, allocations: 1.588 MB / 0.5211 GB, free: 2.527 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006068/0.2947, allocations: 406.7 kB / 0.5215 GB, free: 2.262 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.274e-05/0.2948, allocations: 1.156 kB / 0.5215 GB, free: 2.262 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002683/0.2951, allocations: 106.2 kB / 0.5216 GB, free: 2.242 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001898/0.2953, allocations: 76.98 kB / 0.5217 GB, free: 2.219 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002351/0.2955, allocations: 89.5 kB / 0.5218 GB, free: 2.172 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001641/0.2957, allocations: 79.56 kB / 0.5219 GB, free: 2.145 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.819e-05/0.2958, allocations: 18.08 kB / 0.5219 GB, free: 2.137 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.222e-05/0.2958, allocations: 38.09 kB / 0.5219 GB, free: 2.125 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001106/0.296, allocations: 73.72 kB / 0.522 GB, free: 2.102 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.637e-05/0.296, allocations: 2.438 kB / 0.522 GB, free: 2.102 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.639e-05/0.2961, allocations: 44 kB / 0.522 GB, free: 2.09 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.746e-05/0.2961, allocations: 25.28 kB / 0.5221 GB, free: 2.078 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.307e-05/0.2962, allocations: 30.91 kB / 0.5221 GB, free: 2.055 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001642/0.2964, allocations: 107.7 kB / 0.5222 GB, free: 2.008 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.2964, allocations: 5.188 kB / 0.5222 GB, free: 2.004 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.2964, allocations: 0 / 0.5222 GB, free: 2.004 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.06e-06/0.2964, allocations: 0 / 0.5222 GB, free: 2.004 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003635/0.2967, allocations: 422.2 kB / 0.5226 GB, free: 1.594 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.139e-05/0.2968, allocations: 9.281 kB / 0.5226 GB, free: 1.594 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.938e-05/0.2968, allocations: 11.25 kB / 0.5226 GB, free: 1.59 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001276/0.297, allocations: 207 kB / 0.5228 GB, free: 1.367 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.022e-05/0.297, allocations: 2.156 kB / 0.5228 GB, free: 1.367 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.819e-05/0.297, allocations: 2.469 kB / 0.5228 GB, free: 1.367 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001223/0.2971, allocations: 61.12 kB / 0.5229 GB, free: 1.32 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.879e-06/0.2971, allocations: 0 / 0.5229 GB, free: 1.32 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.077e-06/0.2972, allocations: 1.156 kB / 0.5229 GB, free: 1.32 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.409e-06/0.2972, allocations: 4.641 kB / 0.5229 GB, free: 1.316 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.154e-05/0.2973, allocations: 29.39 kB / 0.5229 GB, free: 1.309 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002757/0.2976, allocations: 300.4 kB / 0.5232 GB, free: 1.012 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.324e-05/0.2977, allocations: 47.25 kB / 0.5232 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.589e-05/0.2977, allocations: 18.39 kB / 0.5233 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.359e-05/0.2977, allocations: 2.109 kB / 0.5233 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.571e-05/0.2978, allocations: 36.7 kB / 0.5233 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.2978, allocations: 0 / 0.5233 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007881/0.2986, allocations: 219.6 kB / 0.5235 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.35e-05/0.2986, allocations: 57.09 kB / 0.5236 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000194/0.2988, allocations: 243.5 kB / 0.5238 GB, free: 0.625 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.775e-06/0.2988, allocations: 25.7 kB / 0.5238 GB, free: 0.5938 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.804e-05/0.2989, allocations: 110.2 kB / 0.5239 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.357e-05/0.2989, allocations: 29.84 kB / 0.5239 GB, free: 480 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.165e-05/0.2989, allocations: 20.48 kB / 0.524 GB, free: 460 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.186e-05/0.299, allocations: 323.1 kB / 0.5243 GB, free: 136 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.399e-05/0.299, allocations: 33.86 kB / 0.5243 GB, free: 120 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.281e-05/0.2991, allocations: 27.59 kB / 0.5243 GB, free: 112 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000125/0.2992, allocations: 59.3 kB / 0.5244 GB, free: 88 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.2993, allocations: 0 / 0.5244 GB, free: 88 kB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001814/0.2994, allocations: 106.6 kB / 0.5245 GB, free: 28 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/0.2995, allocations: 4.594 kB / 0.5245 GB, free: 28 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.2995, allocations: 1.922 kB / 0.5245 GB, free: 28 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.2995, allocations: 4 kB / 0.5245 GB, free: 24 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.783e-05/0.2996, allocations: 20.88 kB / 0.5245 GB, free: 20 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.543e-06/0.2996, allocations: 4.688 kB / 0.5245 GB, free: 16 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.881e-05/0.2996, allocations: 5.016 kB / 0.5245 GB, free: 16 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.883e-06/0.2996, allocations: 2.375 kB / 0.5245 GB, free: 16 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 (8): * Single equations (assignments): 8 * 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 0.0001158/0.2998, allocations: 130.6 kB / 0.5247 GB, free: 15.89 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.627e-05/0.2998, allocations: 16.3 kB / 0.5247 GB, free: 15.89 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00025/0.3001, allocations: 123.2 kB / 0.5248 GB, free: 15.81 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.3001, allocations: 1.469 kB / 0.5248 GB, free: 15.81 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.3001, allocations: 3.938 kB / 0.5248 GB, free: 15.81 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.3001, allocations: 4.641 kB / 0.5248 GB, free: 15.8 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000466/0.3006, allocations: 408.2 kB / 0.5252 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.3006, allocations: 1.094 kB / 0.5252 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.823e-05/0.3007, allocations: 21.25 kB / 0.5252 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.3007, allocations: 5.188 kB / 0.5252 GB, free: 15.44 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.099e-05/0.3007, allocations: 5.188 kB / 0.5252 GB, free: 15.44 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.205e-06/0.3007, allocations: 1.031 kB / 0.5252 GB, free: 15.44 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.3007, allocations: 1.312 kB / 0.5252 GB, free: 15.44 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002285/0.3009, allocations: 204 kB / 0.5254 GB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.119e-05/0.301, allocations: 100.3 kB / 0.5255 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.865e-05/0.301, allocations: 1.703 kB / 0.5255 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.958e-05/0.3011, allocations: 4.844 kB / 0.5255 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.825e-05/0.3011, allocations: 10.17 kB / 0.5255 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.542e-06/0.3011, allocations: 2.906 kB / 0.5255 GB, free: 15.16 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001437/0.3013, allocations: 183.9 kB / 0.5257 GB, free: 15.05 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3013, allocations: 0 / 0.5257 GB, free: 15.05 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002566/0.3016, allocations: 20.94 kB / 0.5257 GB, free: 15.05 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.0009827/0.3025, allocations: 465.5 kB / 0.5262 GB, free: 14.83 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002111/0.3028, allocations: 64.58 kB / 0.5262 GB, free: 14.82 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.3028, allocations: 4 kB / 0.5262 GB, free: 14.81 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.311e-05/0.3029, allocations: 31.08 kB / 0.5263 GB, free: 14.81 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003399/0.3032, allocations: 24.89 kB / 0.5263 GB, free: 14.8 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004507/0.3037, allocations: 309.2 kB / 0.5266 GB, free: 14.58 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002451/0.3039, allocations: 0.7117 MB / 0.5273 GB, free: 13.88 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.583e-05/0.304, allocations: 23.3 kB / 0.5273 GB, free: 13.87 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.304, allocations: 0 / 0.5273 GB, free: 13.87 MB / 398.1 MB Notification: Performance of Templates: time 0.003476/0.3075, allocations: 1.778 MB / 0.529 GB, free: 13.22 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test28/Test28.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches