Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.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.Test3,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.Test3") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test3,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.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001244/0.001244, allocations: 118.4 kB / 17.78 MB, free: 5.258 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.001281/0.001281, allocations: 183.8 kB / 18.72 MB, free: 4.332 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.266/1.266, allocations: 222.9 MB / 242.4 MB, free: 15.05 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.1859/0.1859, allocations: 44.18 MB / 336.7 MB, free: 2.637 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001205/0.001205, allocations: 67.84 kB / 470.6 MB, free: 13.11 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3339/0.3351, allocations: 60.82 MB / 0.5189 GB, free: 3.625 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test3): time 0.003903/0.3391, allocations: 1.595 MB / 0.5205 GB, free: 2.52 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009042/0.34, allocations: 405.3 kB / 0.5209 GB, free: 2.254 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.025e-05/0.3401, allocations: 5 kB / 0.5209 GB, free: 2.25 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003158/0.3404, allocations: 64.55 kB / 0.5209 GB, free: 2.238 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002918/0.3408, allocations: 66.41 kB / 0.521 GB, free: 2.211 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003911/0.3412, allocations: 83.77 kB / 0.5211 GB, free: 2.168 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002067/0.3414, allocations: 71.8 kB / 0.5211 GB, free: 2.141 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001251/0.3415, allocations: 18.34 kB / 0.5212 GB, free: 2.133 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.547e-05/0.3416, allocations: 35.52 kB / 0.5212 GB, free: 2.117 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001253/0.3418, allocations: 47.72 kB / 0.5212 GB, free: 2.102 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.281e-05/0.3418, allocations: 3.438 kB / 0.5212 GB, free: 2.102 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001396/0.342, allocations: 47.42 kB / 0.5213 GB, free: 2.086 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.24e-05/0.342, allocations: 13.78 kB / 0.5213 GB, free: 2.082 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.494e-05/0.3421, allocations: 30.44 kB / 0.5213 GB, free: 2.059 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002563/0.3423, allocations: 98.09 kB / 0.5214 GB, free: 2.02 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.3424, allocations: 4 kB / 0.5214 GB, free: 2.016 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3424, allocations: 4 kB / 0.5214 GB, free: 2.012 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.294e-06/0.3424, allocations: 1.703 kB / 0.5214 GB, free: 2.012 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.0005142/0.3429, allocations: 396.8 kB / 0.5218 GB, free: 1.613 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.343, allocations: 9.812 kB / 0.5218 GB, free: 1.613 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.16e-05/0.343, allocations: 13.09 kB / 0.5218 GB, free: 1.605 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001634/0.3432, allocations: 197.7 kB / 0.522 GB, free: 1.391 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.059e-05/0.3432, allocations: 1.875 kB / 0.522 GB, free: 1.391 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.469e-05/0.3432, allocations: 11.25 kB / 0.522 GB, free: 1.383 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001548/0.3434, allocations: 60.27 kB / 0.5221 GB, free: 1.336 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.31e-05/0.3434, allocations: 0 / 0.5221 GB, free: 1.336 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.758e-06/0.3434, allocations: 0.8438 kB / 0.5221 GB, free: 1.336 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.3435, allocations: 1 kB / 0.5221 GB, free: 1.336 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001171/0.3436, allocations: 28.83 kB / 0.5221 GB, free: 1.328 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003611/0.344, allocations: 285.2 kB / 0.5224 GB, free: 1.043 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001147/0.3441, allocations: 46.5 kB / 0.5224 GB, free: 1.008 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.856e-05/0.3442, allocations: 18.95 kB / 0.5225 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.599e-05/0.3442, allocations: 1.672 kB / 0.5225 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.842e-05/0.3442, allocations: 31.66 kB / 0.5225 GB, free: 0.957 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.382e-06/0.3442, allocations: 0 / 0.5225 GB, free: 0.957 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.001021/0.3452, allocations: 226.9 kB / 0.5227 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.189e-05/0.3453, allocations: 53.17 kB / 0.5228 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002097/0.3455, allocations: 194.7 kB / 0.5229 GB, free: 0.6719 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.048e-05/0.3455, allocations: 26.8 kB / 0.523 GB, free: 0.6406 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.322e-05/0.3456, allocations: 99.48 kB / 0.5231 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.244e-05/0.3456, allocations: 29.44 kB / 0.5231 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.639e-05/0.3457, allocations: 25.05 kB / 0.5231 GB, free: 0.5 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.055e-05/0.3457, allocations: 322.5 kB / 0.5234 GB, free: 188 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.411e-05/0.3458, allocations: 21.98 kB / 0.5234 GB, free: 184 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.964e-05/0.3459, allocations: 31.09 kB / 0.5235 GB, free: 172 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001771/0.3461, allocations: 63.64 kB / 0.5235 GB, free: 144 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.3461, allocations: 0 / 0.5235 GB, free: 144 kB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002469/0.3464, allocations: 100.8 kB / 0.5236 GB, free: 88 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.3464, allocations: 4.438 kB / 0.5236 GB, free: 88 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/0.3464, allocations: 5.359 kB / 0.5236 GB, free: 84 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.723e-05/0.3465, allocations: 0.7031 kB / 0.5236 GB, free: 84 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001283/0.3466, allocations: 25.25 kB / 0.5237 GB, free: 76 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.049e-05/0.3466, allocations: 4.688 kB / 0.5237 GB, free: 72 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.663e-05/0.3467, allocations: 13 kB / 0.5237 GB, free: 64 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.107e-05/0.3467, allocations: 2 kB / 0.5237 GB, free: 64 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.0001338/0.3469, allocations: 133.4 kB / 0.5238 GB, free: 15.93 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.867e-05/0.3469, allocations: 12.81 kB / 0.5238 GB, free: 15.93 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003353/0.3473, allocations: 110.1 kB / 0.5239 GB, free: 15.87 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.157e-06/0.3473, allocations: 1.219 kB / 0.5239 GB, free: 15.87 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.968e-06/0.3473, allocations: 4.688 kB / 0.5239 GB, free: 15.87 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.3473, allocations: 0 / 0.5239 GB, free: 15.87 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004901/0.3478, allocations: 402.7 kB / 0.5243 GB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.3478, allocations: 1.125 kB / 0.5243 GB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.051e-05/0.3479, allocations: 24.84 kB / 0.5243 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.3479, allocations: 1.062 kB / 0.5243 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.046e-05/0.3479, allocations: 1.719 kB / 0.5243 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.3479, allocations: 1.25 kB / 0.5243 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.045e-06/0.3479, allocations: 1.75 kB / 0.5244 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002345/0.3482, allocations: 206.5 kB / 0.5245 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.256e-05/0.3482, allocations: 87.41 kB / 0.5246 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.705e-05/0.3482, allocations: 2.031 kB / 0.5246 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.957e-05/0.3483, allocations: 6.266 kB / 0.5246 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.616e-05/0.3484, allocations: 14.02 kB / 0.5247 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.922e-06/0.3484, allocations: 2.531 kB / 0.5247 GB, free: 15.23 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001166/0.3485, allocations: 147.4 kB / 0.5248 GB, free: 15.14 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3485, allocations: 4 kB / 0.5248 GB, free: 15.13 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002514/0.3488, allocations: 21.56 kB / 0.5248 GB, free: 15.12 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.0009669/0.3497, allocations: 457.3 kB / 0.5253 GB, free: 14.91 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002251/0.35, allocations: 63.14 kB / 0.5253 GB, free: 14.89 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.35, allocations: 1.5 kB / 0.5253 GB, free: 14.89 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.82e-05/0.3501, allocations: 34.27 kB / 0.5254 GB, free: 14.89 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003541/0.3504, allocations: 37.3 kB / 0.5254 GB, free: 14.87 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004548/0.3509, allocations: 238.5 kB / 0.5256 GB, free: 14.69 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002997/0.3512, allocations: 0.7008 MB / 0.5263 GB, free: 13.99 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.127e-05/0.3513, allocations: 13.47 kB / 0.5263 GB, free: 13.98 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.951e-05/0.3513, allocations: 18.3 kB / 0.5263 GB, free: 13.97 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3513, allocations: 0 / 0.5263 GB, free: 13.97 MB / 398.1 MB Notification: Performance of Templates: time 0.004069/0.3554, allocations: 1.329 MB / 0.5276 GB, free: 13.61 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test3/Test3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches