Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27.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.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001636/0.001636, allocations: 112.4 kB / 18.45 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00208/0.00208, allocations: 208 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.405/1.405, allocations: 227.4 MB / 247.6 MB, free: 10.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2274/0.2274, allocations: 46.11 MB / 345 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001558/0.001558, allocations: 72.09 kB / 482 MB, free: 4.031 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3863/0.3878, allocations: 62.44 MB / 0.5317 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test27): time 0.00499/0.3929, allocations: 1.684 MB / 0.5333 GB, free: 12.27 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001487/0.3944, allocations: 0.5785 MB / 0.5339 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001393/0.3946, allocations: 1.375 kB / 0.5339 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004072/0.395, allocations: 60.48 kB / 0.534 GB, free: 11.79 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005085/0.3956, allocations: 93.97 kB / 0.534 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006997/0.3963, allocations: 181.8 kB / 0.5342 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003452/0.3967, allocations: 94.23 kB / 0.5343 GB, free: 11.56 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001892/0.3969, allocations: 19.23 kB / 0.5343 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00012/0.397, allocations: 42.95 kB / 0.5344 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001656/0.3972, allocations: 47.2 kB / 0.5344 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.401e-05/0.3972, allocations: 4.125 kB / 0.5344 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002025/0.3974, allocations: 52.84 kB / 0.5345 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001218/0.3975, allocations: 25.23 kB / 0.5345 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.513e-05/0.3976, allocations: 38.08 kB / 0.5345 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003313/0.3979, allocations: 110.2 kB / 0.5346 GB, free: 11.36 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.398, allocations: 1.406 kB / 0.5346 GB, free: 11.36 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.398, allocations: 0 / 0.5346 GB, free: 11.36 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.967e-06/0.398, allocations: 4 kB / 0.5346 GB, free: 11.36 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.000818/0.3988, allocations: 421 kB / 0.535 GB, free: 10.93 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.904e-05/0.3989, allocations: 8.469 kB / 0.5351 GB, free: 10.93 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.032e-05/0.399, allocations: 18.3 kB / 0.5351 GB, free: 10.92 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003161/0.3993, allocations: 203.6 kB / 0.5353 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.659e-05/0.3993, allocations: 1.656 kB / 0.5353 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.493e-05/0.3994, allocations: 4.188 kB / 0.5353 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002374/0.3996, allocations: 68.92 kB / 0.5353 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.593e-05/0.3996, allocations: 4 kB / 0.5353 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.369e-05/0.3997, allocations: 1.312 kB / 0.5353 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/0.3997, allocations: 0.9688 kB / 0.5353 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001688/0.3998, allocations: 48.95 kB / 0.5354 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006323/0.4005, allocations: 315.7 kB / 0.5357 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003295/0.4008, allocations: 64.67 kB / 0.5357 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.71e-05/0.4009, allocations: 30.25 kB / 0.5358 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.121e-05/0.401, allocations: 5.141 kB / 0.5358 GB, free: 10.22 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.354e-05/0.401, allocations: 31.62 kB / 0.5358 GB, free: 10.18 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.593e-06/0.401, allocations: 3.938 kB / 0.5358 GB, free: 10.18 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001662/0.4027, allocations: 421.6 kB / 0.5362 GB, free: 9.973 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.304e-05/0.4028, allocations: 56.75 kB / 0.5363 GB, free: 9.906 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002806/0.403, allocations: 187.3 kB / 0.5365 GB, free: 9.766 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.101e-05/0.4031, allocations: 26.86 kB / 0.5365 GB, free: 9.734 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001004/0.4032, allocations: 113.4 kB / 0.5366 GB, free: 9.625 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.423e-05/0.4033, allocations: 35.3 kB / 0.5366 GB, free: 9.594 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.236e-05/0.4033, allocations: 26.84 kB / 0.5366 GB, free: 9.57 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001712/0.4035, allocations: 326.9 kB / 0.537 GB, free: 9.246 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001479/0.4037, allocations: 52.39 kB / 0.537 GB, free: 9.223 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000145/0.4038, allocations: 56.95 kB / 0.5371 GB, free: 9.195 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003355/0.4042, allocations: 131.4 kB / 0.5372 GB, free: 9.125 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.548e-06/0.4042, allocations: 5.094 kB / 0.5372 GB, free: 9.121 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004056/0.4046, allocations: 160.3 kB / 0.5373 GB, free: 9.031 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.177e-05/0.4046, allocations: 5.062 kB / 0.5373 GB, free: 9.031 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.177e-06/0.4046, allocations: 5.078 kB / 0.5374 GB, free: 9.027 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.017e-05/0.4047, allocations: 3.984 kB / 0.5374 GB, free: 9.023 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001243/0.4048, allocations: 36.8 kB / 0.5374 GB, free: 9.008 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.666e-06/0.4048, allocations: 1.688 kB / 0.5374 GB, free: 9.008 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.824e-05/0.4049, allocations: 9.359 kB / 0.5374 GB, free: 9.004 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.61e-05/0.4049, allocations: 10.31 kB / 0.5374 GB, free: 8.996 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 (11): * Single equations (assignments): 11 * 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.0001333/0.405, allocations: 128.9 kB / 0.5375 GB, free: 8.871 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.855e-05/0.4051, allocations: 13.22 kB / 0.5375 GB, free: 8.863 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004836/0.4056, allocations: 186.6 kB / 0.5377 GB, free: 8.754 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.414e-06/0.4056, allocations: 4.938 kB / 0.5377 GB, free: 8.75 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.135e-06/0.4056, allocations: 1.156 kB / 0.5377 GB, free: 8.75 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.538e-06/0.4056, allocations: 3.984 kB / 0.5377 GB, free: 8.746 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008767/0.4065, allocations: 0.4969 MB / 0.5382 GB, free: 8.297 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.479e-06/0.4065, allocations: 0.75 kB / 0.5382 GB, free: 8.297 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001149/0.4067, allocations: 28.95 kB / 0.5382 GB, free: 8.289 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.991e-06/0.4067, allocations: 1.219 kB / 0.5383 GB, free: 8.289 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.142e-05/0.4067, allocations: 5.984 kB / 0.5383 GB, free: 8.285 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.368e-06/0.4067, allocations: 1.188 kB / 0.5383 GB, free: 8.285 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.4067, allocations: 0.9062 kB / 0.5383 GB, free: 8.285 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000468/0.4072, allocations: 293 kB / 0.5385 GB, free: 8.051 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.989e-05/0.4073, allocations: 84.11 kB / 0.5386 GB, free: 7.953 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.338e-05/0.4073, allocations: 2.031 kB / 0.5386 GB, free: 7.953 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.902e-05/0.4074, allocations: 9.953 kB / 0.5386 GB, free: 7.949 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.23e-05/0.4075, allocations: 12.36 kB / 0.5386 GB, free: 7.941 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.077e-05/0.4075, allocations: 7.594 kB / 0.5386 GB, free: 7.938 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001615/0.4076, allocations: 144.7 kB / 0.5388 GB, free: 7.836 MB / 398.1 MB Notification: Performance of sort global known variables: time 3.1e-07/0.4077, allocations: 0 / 0.5388 GB, free: 7.836 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003008/0.408, allocations: 27.27 kB / 0.5388 GB, free: 7.828 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001177/0.4091, allocations: 459.4 kB / 0.5393 GB, free: 7.59 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003648/0.4095, allocations: 128.1 kB / 0.5394 GB, free: 7.535 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.594e-06/0.4095, allocations: 0 / 0.5394 GB, free: 7.535 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000159/0.4097, allocations: 72.33 kB / 0.5394 GB, free: 7.504 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003882/0.4101, allocations: 22.78 kB / 0.5395 GB, free: 7.492 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006909/0.4108, allocations: 342.1 kB / 0.5398 GB, free: 7.227 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000309/0.4111, allocations: 0.7153 MB / 0.5405 GB, free: 6.512 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.501e-05/0.4112, allocations: 19.95 kB / 0.5405 GB, free: 6.5 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4112, allocations: 0 / 0.5405 GB, free: 6.5 MB / 398.1 MB Notification: Performance of Templates: time 0.004726/0.4159, allocations: 2.074 MB / 0.5425 GB, free: 5.426 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test27/Test27.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches