Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test28.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.Test28,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.Test28") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test28,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.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001093/0.001093, allocations: 115.2 kB / 18.45 MB, free: 4.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001645/0.001645, allocations: 210.8 kB / 19.4 MB, free: 3.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.331/1.331, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2073/0.2073, allocations: 46.11 MB / 345 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001363/0.001363, allocations: 80.09 kB / 482 MB, free: 4.047 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3119/0.3133, allocations: 62.43 MB / 0.5317 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test28): time 0.002911/0.3162, allocations: 1.682 MB / 0.5333 GB, free: 12.31 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001014/0.3173, allocations: 0.5763 MB / 0.5339 GB, free: 11.86 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.59e-05/0.3174, allocations: 1.375 kB / 0.5339 GB, free: 11.86 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002427/0.3176, allocations: 63.09 kB / 0.534 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003031/0.3179, allocations: 89.98 kB / 0.534 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004182/0.3184, allocations: 189.5 kB / 0.5342 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001543/0.3185, allocations: 84.94 kB / 0.5343 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001132/0.3186, allocations: 19.22 kB / 0.5343 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.29e-05/0.3187, allocations: 48.28 kB / 0.5344 GB, free: 11.56 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001044/0.3188, allocations: 49.81 kB / 0.5344 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.745e-05/0.3189, allocations: 4.125 kB / 0.5344 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000123/0.319, allocations: 48.98 kB / 0.5345 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.246e-05/0.319, allocations: 21.55 kB / 0.5345 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.019e-05/0.3191, allocations: 37.22 kB / 0.5345 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002043/0.3193, allocations: 128.8 kB / 0.5346 GB, free: 11.39 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.3193, allocations: 0 / 0.5346 GB, free: 11.39 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.3193, allocations: 0 / 0.5346 GB, free: 11.39 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.989e-06/0.3193, allocations: 0 / 0.5346 GB, free: 11.39 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.0005011/0.3199, allocations: 417.7 kB / 0.535 GB, free: 10.97 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.308e-05/0.3199, allocations: 9.625 kB / 0.535 GB, free: 10.97 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.276e-05/0.3199, allocations: 12.88 kB / 0.5351 GB, free: 10.96 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001762/0.3201, allocations: 200.2 kB / 0.5353 GB, free: 10.74 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.56e-05/0.3201, allocations: 3 kB / 0.5353 GB, free: 10.74 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.456e-05/0.3202, allocations: 7.125 kB / 0.5353 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001872/0.3204, allocations: 72.94 kB / 0.5353 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.3204, allocations: 0 / 0.5353 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.227e-05/0.3204, allocations: 12.86 kB / 0.5353 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.3204, allocations: 1.156 kB / 0.5353 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001499/0.3206, allocations: 44.92 kB / 0.5354 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004569/0.3211, allocations: 327.7 kB / 0.5357 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000256/0.3213, allocations: 61.23 kB / 0.5358 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.755e-05/0.3214, allocations: 26.22 kB / 0.5358 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.851e-05/0.3215, allocations: 1 kB / 0.5358 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.76e-05/0.3215, allocations: 31.47 kB / 0.5358 GB, free: 10.21 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.293e-06/0.3215, allocations: 0 / 0.5358 GB, free: 10.21 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001586/0.3231, allocations: 429.8 kB / 0.5362 GB, free: 10 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.328e-05/0.3231, allocations: 57.72 kB / 0.5363 GB, free: 9.934 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002062/0.3233, allocations: 200.4 kB / 0.5365 GB, free: 9.789 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.817e-05/0.3234, allocations: 25.7 kB / 0.5365 GB, free: 9.758 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.035e-05/0.3234, allocations: 105.3 kB / 0.5366 GB, free: 9.656 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.742e-05/0.3235, allocations: 36.16 kB / 0.5366 GB, free: 9.625 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.16e-05/0.3235, allocations: 25.64 kB / 0.5367 GB, free: 9.602 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000107/0.3237, allocations: 327.1 kB / 0.537 GB, free: 9.277 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001552/0.3238, allocations: 56.11 kB / 0.537 GB, free: 9.25 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001427/0.324, allocations: 58.33 kB / 0.5371 GB, free: 9.223 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002972/0.3243, allocations: 132 kB / 0.5372 GB, free: 9.152 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.3243, allocations: 0 / 0.5372 GB, free: 9.152 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000365/0.3247, allocations: 164.6 kB / 0.5374 GB, free: 9.059 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.3247, allocations: 8.406 kB / 0.5374 GB, free: 9.059 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-06/0.3247, allocations: 0 / 0.5374 GB, free: 9.059 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.706e-05/0.3247, allocations: 5.031 kB / 0.5374 GB, free: 9.055 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000125/0.3248, allocations: 35.28 kB / 0.5374 GB, free: 9.039 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.3249, allocations: 1.25 kB / 0.5374 GB, free: 9.039 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.905e-05/0.3249, allocations: 13.48 kB / 0.5374 GB, free: 9.031 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.022e-05/0.325, allocations: 3.188 kB / 0.5374 GB, free: 9.031 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.0001066/0.3251, allocations: 133.6 kB / 0.5375 GB, free: 8.902 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.546e-05/0.3251, allocations: 9.625 kB / 0.5376 GB, free: 8.898 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004513/0.3256, allocations: 182.8 kB / 0.5377 GB, free: 8.785 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.631e-06/0.3256, allocations: 9.156 kB / 0.5377 GB, free: 8.777 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.3256, allocations: 1.25 kB / 0.5377 GB, free: 8.777 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.3256, allocations: 3.984 kB / 0.5377 GB, free: 8.773 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007077/0.3263, allocations: 0.5016 MB / 0.5382 GB, free: 8.32 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.3263, allocations: 1.312 kB / 0.5382 GB, free: 8.32 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000109/0.3264, allocations: 27.64 kB / 0.5383 GB, free: 8.312 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.347e-06/0.3265, allocations: 2.188 kB / 0.5383 GB, free: 8.312 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.482e-05/0.3265, allocations: 6.172 kB / 0.5383 GB, free: 8.309 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.049e-06/0.3265, allocations: 8.844 kB / 0.5383 GB, free: 8.301 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.3265, allocations: 1.344 kB / 0.5383 GB, free: 8.301 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004033/0.3269, allocations: 268.3 kB / 0.5385 GB, free: 8.09 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.163e-05/0.327, allocations: 92.36 kB / 0.5386 GB, free: 7.984 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.449e-05/0.327, allocations: 6.031 kB / 0.5386 GB, free: 7.98 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001045/0.3271, allocations: 14.08 kB / 0.5386 GB, free: 7.973 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.125e-05/0.3272, allocations: 13.02 kB / 0.5387 GB, free: 7.965 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.666e-06/0.3272, allocations: 6.719 kB / 0.5387 GB, free: 7.961 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001326/0.3273, allocations: 147.8 kB / 0.5388 GB, free: 7.859 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3273, allocations: 0.6562 kB / 0.5388 GB, free: 7.859 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002824/0.3276, allocations: 26.7 kB / 0.5388 GB, free: 7.852 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.001053/0.3287, allocations: 455.1 kB / 0.5393 GB, free: 7.613 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003606/0.329, allocations: 132.5 kB / 0.5394 GB, free: 7.555 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.329, allocations: 0 / 0.5394 GB, free: 7.555 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001647/0.3292, allocations: 71.52 kB / 0.5395 GB, free: 7.523 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000384/0.3296, allocations: 26.7 kB / 0.5395 GB, free: 7.512 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006154/0.3302, allocations: 336.1 kB / 0.5398 GB, free: 7.254 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002628/0.3305, allocations: 0.7148 MB / 0.5405 GB, free: 6.539 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.282e-05/0.3306, allocations: 19.69 kB / 0.5405 GB, free: 6.527 MB / 398.1 MB Notification: Performance of SimCode: time 2.71e-07/0.3306, allocations: 9.438 kB / 0.5405 GB, free: 6.52 MB / 398.1 MB Notification: Performance of Templates: time 0.003874/0.3345, allocations: 2.082 MB / 0.5426 GB, free: 5.441 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test28.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test28.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test28 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test28_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test28/Test28.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches