Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.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.Test21,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.Test21") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test21,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.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001314/0.001314, 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.00138/0.001381, 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.239/1.239, allocations: 222.9 MB / 243.1 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.1941/0.1941, allocations: 44.17 MB / 337.4 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001189/0.001189, allocations: 63.91 kB / 471.2 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3038/0.305, allocations: 60.82 MB / 0.5196 GB, free: 3.621 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test21): time 0.002596/0.3076, allocations: 1.567 MB / 0.5211 GB, free: 2.539 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001269/0.3089, allocations: 1.02 MB / 0.5221 GB, free: 1.816 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.703e-05/0.309, allocations: 5 kB / 0.5221 GB, free: 1.812 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002006/0.3092, allocations: 19.75 kB / 0.5221 GB, free: 1.801 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001991/0.3094, allocations: 41.53 kB / 0.5222 GB, free: 1.777 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00024/0.3097, allocations: 88.34 kB / 0.5222 GB, free: 1.73 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001321/0.3098, allocations: 50.77 kB / 0.5223 GB, free: 1.711 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.885e-05/0.3099, allocations: 16.36 kB / 0.5223 GB, free: 1.703 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.63e-05/0.31, allocations: 26.69 kB / 0.5223 GB, free: 1.688 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000156/0.3101, allocations: 25.91 kB / 0.5224 GB, free: 1.676 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.823e-05/0.3101, allocations: 3.062 kB / 0.5224 GB, free: 1.676 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001096/0.3103, allocations: 53.5 kB / 0.5224 GB, free: 1.656 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.162e-05/0.3103, allocations: 13.3 kB / 0.5224 GB, free: 1.648 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.2e-05/0.3103, allocations: 18.09 kB / 0.5224 GB, free: 1.637 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001794/0.3105, allocations: 89.89 kB / 0.5225 GB, free: 1.598 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.3105, allocations: 0 / 0.5225 GB, free: 1.598 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3105, allocations: 0 / 0.5225 GB, free: 1.598 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.19e-06/0.3106, allocations: 4 kB / 0.5225 GB, free: 1.594 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.000375/0.3109, allocations: 377.8 kB / 0.5229 GB, free: 1.211 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.578e-05/0.311, allocations: 10.41 kB / 0.5229 GB, free: 1.211 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.029e-05/0.311, allocations: 11.88 kB / 0.5229 GB, free: 1.203 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001453/0.3112, allocations: 183.9 kB / 0.5231 GB, free: 1 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.658e-06/0.3112, allocations: 1.469 kB / 0.5231 GB, free: 1 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.961e-05/0.3112, allocations: 7.094 kB / 0.5231 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000134/0.3114, allocations: 65.3 kB / 0.5232 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/0.3114, allocations: 3.938 kB / 0.5232 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.778e-06/0.3114, allocations: 1.094 kB / 0.5232 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.3114, allocations: 0.8438 kB / 0.5232 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.65e-05/0.3115, allocations: 25.62 kB / 0.5232 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002803/0.3118, allocations: 269.5 kB / 0.5234 GB, free: 0.6445 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001817/0.312, allocations: 43.56 kB / 0.5235 GB, free: 0.6133 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.758e-05/0.312, allocations: 22.92 kB / 0.5235 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.852e-05/0.3121, allocations: 3.984 kB / 0.5235 GB, free: 0.5938 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.799e-05/0.3121, allocations: 32.31 kB / 0.5235 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.3121, allocations: 0 / 0.5235 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004971/0.3126, allocations: 147.5 kB / 0.5237 GB, free: 492 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.273e-05/0.3126, allocations: 81.11 kB / 0.5238 GB, free: 392 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000103/0.3127, allocations: 132.2 kB / 0.5239 GB, free: 284 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.07e-05/0.3128, allocations: 31.23 kB / 0.5239 GB, free: 248 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.865e-05/0.3128, allocations: 89.05 kB / 0.524 GB, free: 160 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.805e-05/0.3128, allocations: 18.48 kB / 0.524 GB, free: 144 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.923e-05/0.3128, allocations: 14.5 kB / 0.524 GB, free: 128 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000104/0.313, allocations: 323.3 kB / 0.5243 GB, free: 15.8 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.005e-05/0.313, allocations: 22.61 kB / 0.5244 GB, free: 15.8 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.279e-05/0.3131, allocations: 31.16 kB / 0.5244 GB, free: 15.78 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001371/0.3133, allocations: 50.53 kB / 0.5244 GB, free: 15.75 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.3133, allocations: 0.7188 kB / 0.5244 GB, free: 15.75 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001774/0.3135, allocations: 80.42 kB / 0.5245 GB, free: 15.71 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.3135, allocations: 12.34 kB / 0.5245 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.3135, allocations: 0 / 0.5245 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.3135, allocations: 1.875 kB / 0.5245 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.01e-05/0.3136, allocations: 12.17 kB / 0.5245 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5e-06/0.3136, allocations: 0.6094 kB / 0.5245 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.367e-05/0.3136, allocations: 4.672 kB / 0.5246 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.373e-06/0.3136, allocations: 6.688 kB / 0.5246 GB, free: 15.7 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 7.816e-05/0.3137, allocations: 117.5 kB / 0.5247 GB, free: 15.58 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.353e-05/0.3138, allocations: 11.88 kB / 0.5247 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002268/0.314, allocations: 95.41 kB / 0.5248 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.314, allocations: 1.922 kB / 0.5248 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.314, allocations: 1.281 kB / 0.5248 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.055e-06/0.314, allocations: 0 / 0.5248 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000396/0.3144, allocations: 338.4 kB / 0.5251 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.3144, allocations: 0 / 0.5251 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.597e-05/0.3145, allocations: 25.05 kB / 0.5251 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.3145, allocations: 0.7969 kB / 0.5251 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.053e-06/0.3145, allocations: 1.312 kB / 0.5251 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.247e-06/0.3145, allocations: 4.125 kB / 0.5251 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.3145, allocations: 9.312 kB / 0.5251 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000205/0.3147, allocations: 171.9 kB / 0.5253 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.938e-05/0.3148, allocations: 84.72 kB / 0.5254 GB, free: 14.92 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.662e-05/0.3148, allocations: 0.5625 kB / 0.5254 GB, free: 14.92 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.984e-05/0.3149, allocations: 9.312 kB / 0.5254 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.367e-05/0.3149, allocations: 3.312 kB / 0.5254 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.729e-06/0.3149, allocations: 1.703 kB / 0.5254 GB, free: 14.91 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.278e-05/0.315, allocations: 104.2 kB / 0.5255 GB, free: 14.83 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3151, allocations: 0 / 0.5255 GB, free: 14.83 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002666/0.3153, allocations: 24 kB / 0.5255 GB, free: 14.82 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.001002/0.3163, allocations: 456.6 kB / 0.526 GB, free: 14.61 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002083/0.3165, allocations: 45.69 kB / 0.526 GB, free: 14.6 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.3166, allocations: 0 / 0.526 GB, free: 14.6 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.246e-05/0.3166, allocations: 27.67 kB / 0.526 GB, free: 14.59 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003397/0.317, allocations: 20.73 kB / 0.526 GB, free: 14.59 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003809/0.3174, allocations: 183.9 kB / 0.5262 GB, free: 14.42 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002821/0.3177, allocations: 0.6902 MB / 0.5269 GB, free: 13.72 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.877e-05/0.3177, allocations: 15.86 kB / 0.5269 GB, free: 13.71 MB / 398.1 MB Notification: Performance of SimCode: time 3.51e-07/0.3177, allocations: 0 / 0.5269 GB, free: 13.71 MB / 398.1 MB Notification: Performance of Templates: time 0.003544/0.3213, allocations: 1.558 MB / 0.5284 GB, free: 13.31 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches