Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001457/0.001457, allocations: 117.8 kB / 17.79 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001897/0.001897, allocations: 203.8 kB / 18.74 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.537/1.537, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2269/0.2269, allocations: 46.1 MB / 344.3 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001523/0.001523, allocations: 79.81 kB / 481.3 MB, free: 4.07 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4345/0.436, allocations: 62.43 MB / 0.531 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test1): time 0.003399/0.4395, allocations: 1.667 MB / 0.5326 GB, free: 12.31 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001127/0.4406, allocations: 0.587 MB / 0.5332 GB, free: 11.86 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001015/0.4408, allocations: 1.375 kB / 0.5332 GB, free: 11.86 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006419/0.4414, allocations: 457 kB / 0.5337 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008127/0.4423, allocations: 287.6 kB / 0.5339 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007528/0.443, allocations: 182 kB / 0.5341 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006282/0.4437, allocations: 179.2 kB / 0.5343 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001956/0.4439, allocations: 23.53 kB / 0.5343 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003562/0.4443, allocations: 114 kB / 0.5344 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004073/0.4447, allocations: 212.7 kB / 0.5346 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.388e-05/0.4447, allocations: 2.875 kB / 0.5346 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001878/0.4449, allocations: 57.52 kB / 0.5347 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001673/0.4451, allocations: 86.98 kB / 0.5348 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001299/0.4452, allocations: 108.1 kB / 0.5349 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005678/0.4458, allocations: 272.1 kB / 0.5351 GB, free: 10.86 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/0.4458, allocations: 4 kB / 0.5351 GB, free: 10.85 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.4458, allocations: 0 / 0.5351 GB, free: 10.85 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.474e-05/0.4458, allocations: 0 / 0.5351 GB, free: 10.85 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.001075/0.4469, allocations: 0.6539 MB / 0.5358 GB, free: 10.25 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.825e-05/0.447, allocations: 8.844 kB / 0.5358 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.743e-05/0.4471, allocations: 51.66 kB / 0.5358 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000376/0.4475, allocations: 300 kB / 0.5361 GB, free: 9.922 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.236e-05/0.4475, allocations: 5.594 kB / 0.5361 GB, free: 9.918 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.004e-05/0.4475, allocations: 3.812 kB / 0.5361 GB, free: 9.918 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001871/0.4477, allocations: 66.23 kB / 0.5362 GB, free: 9.863 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.708e-05/0.4477, allocations: 0 / 0.5362 GB, free: 9.863 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.166e-05/0.4478, allocations: 5.094 kB / 0.5362 GB, free: 9.859 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.4478, allocations: 0.9062 kB / 0.5362 GB, free: 9.859 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001236/0.4479, allocations: 34.62 kB / 0.5362 GB, free: 9.844 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006811/0.4486, allocations: 408.9 kB / 0.5366 GB, free: 9.473 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001195/0.4487, allocations: 45 kB / 0.5366 GB, free: 9.438 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.811e-05/0.4488, allocations: 20.78 kB / 0.5367 GB, free: 9.422 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.512e-05/0.4488, allocations: 1.125 kB / 0.5367 GB, free: 9.422 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.712e-05/0.4489, allocations: 34.56 kB / 0.5367 GB, free: 9.379 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.412e-06/0.4489, allocations: 0.9688 kB / 0.5367 GB, free: 9.379 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.001164/0.45, allocations: 324.1 kB / 0.537 GB, free: 9.191 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.409e-05/0.4501, allocations: 56.75 kB / 0.5371 GB, free: 9.125 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001036/0.4511, allocations: 0.8696 MB / 0.5379 GB, free: 8.703 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.189e-05/0.4512, allocations: 26.73 kB / 0.5379 GB, free: 8.672 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001739/0.4513, allocations: 225.3 kB / 0.5382 GB, free: 8.477 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.471e-05/0.4514, allocations: 35.64 kB / 0.5382 GB, free: 8.445 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.656e-05/0.4515, allocations: 20.19 kB / 0.5382 GB, free: 8.426 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001542/0.4516, allocations: 363.7 kB / 0.5386 GB, free: 8.078 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001002/0.4517, allocations: 33.12 kB / 0.5386 GB, free: 8.062 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.42e-05/0.4518, allocations: 32.86 kB / 0.5386 GB, free: 8.047 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001779/0.452, allocations: 75.69 kB / 0.5387 GB, free: 8.008 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.133e-06/0.452, allocations: 0 / 0.5387 GB, free: 8.008 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003117/0.4523, allocations: 143.9 kB / 0.5388 GB, free: 7.922 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.158e-05/0.4524, allocations: 5.719 kB / 0.5388 GB, free: 7.922 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.4524, allocations: 3.938 kB / 0.5388 GB, free: 7.918 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.4524, allocations: 0 / 0.5388 GB, free: 7.918 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001209/0.4525, allocations: 25.77 kB / 0.5389 GB, free: 7.906 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.157e-05/0.4525, allocations: 5.688 kB / 0.5389 GB, free: 7.902 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.15e-05/0.4526, allocations: 6.906 kB / 0.5389 GB, free: 7.898 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.468e-06/0.4526, allocations: 1.781 kB / 0.5389 GB, free: 7.898 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 (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.0002355/0.4529, allocations: 219.6 kB / 0.5391 GB, free: 7.742 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.443e-05/0.453, allocations: 38.91 kB / 0.5391 GB, free: 7.723 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003979/0.4534, allocations: 178 kB / 0.5393 GB, free: 7.609 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.4534, allocations: 9.344 kB / 0.5393 GB, free: 7.602 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.127e-06/0.4534, allocations: 5.406 kB / 0.5393 GB, free: 7.598 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.4534, allocations: 0 / 0.5393 GB, free: 7.598 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008868/0.4543, allocations: 0.5149 MB / 0.5398 GB, free: 7.152 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.916e-06/0.4543, allocations: 9.031 kB / 0.5398 GB, free: 7.145 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001025/0.4544, allocations: 18.05 kB / 0.5398 GB, free: 7.141 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.631e-06/0.4545, allocations: 5.219 kB / 0.5398 GB, free: 7.137 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.363e-05/0.4545, allocations: 1.094 kB / 0.5398 GB, free: 7.137 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.926e-06/0.4545, allocations: 1.125 kB / 0.5398 GB, free: 7.137 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.4545, allocations: 0.9375 kB / 0.5398 GB, free: 7.137 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005192/0.455, allocations: 246.5 kB / 0.5401 GB, free: 6.938 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001154/0.4551, allocations: 115 kB / 0.5402 GB, free: 6.816 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.905e-05/0.4552, allocations: 9.438 kB / 0.5402 GB, free: 6.809 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.614e-05/0.4553, allocations: 3.656 kB / 0.5402 GB, free: 6.809 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.636e-05/0.4554, allocations: 6.734 kB / 0.5402 GB, free: 6.805 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.015e-05/0.4554, allocations: 2.469 kB / 0.5402 GB, free: 6.805 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0009004/0.4563, allocations: 0.6584 MB / 0.5408 GB, free: 6.484 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4563, allocations: 0 / 0.5408 GB, free: 6.484 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003062/0.4566, allocations: 31.06 kB / 0.5409 GB, free: 6.477 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.001168/0.4578, allocations: 460.1 kB / 0.5413 GB, free: 6.242 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000265/0.4581, allocations: 79.19 kB / 0.5414 GB, free: 6.207 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.411e-06/0.4581, allocations: 5.5 kB / 0.5414 GB, free: 6.203 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001053/0.4582, allocations: 39.91 kB / 0.5414 GB, free: 6.188 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004919/0.4587, allocations: 36.31 kB / 0.5415 GB, free: 6.168 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001506/0.4602, allocations: 0.8239 MB / 0.5423 GB, free: 5.73 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006155/0.4608, allocations: 0.8293 MB / 0.5431 GB, free: 4.965 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.803e-05/0.4609, allocations: 25.75 kB / 0.5431 GB, free: 4.953 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.436e-05/0.461, allocations: 14 kB / 0.5431 GB, free: 4.945 MB / 398.1 MB Notification: Performance of SimCode: time 7.82e-07/0.461, allocations: 0 / 0.5431 GB, free: 4.945 MB / 398.1 MB Notification: Performance of Templates: time 0.006184/0.4672, allocations: 1.787 MB / 0.5449 GB, free: 3.34 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test1/Test1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches