Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.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.CombiTable2Ds.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|ramp.y|ramp1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|ramp.y|ramp1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001356/0.001356, 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.001494/0.001494, 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.336/1.336, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2119/0.2119, allocations: 46.09 MB / 344.9 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001532/0.001532, allocations: 80.14 kB / 482 MB, free: 4.047 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2916/0.2932, allocations: 62.43 MB / 0.5317 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab): time 0.002851/0.2961, allocations: 1.704 MB / 0.5333 GB, free: 12.29 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009436/0.297, allocations: 0.5656 MB / 0.5339 GB, free: 11.85 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.365e-05/0.2971, allocations: 1.438 kB / 0.5339 GB, free: 11.85 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001724/0.2973, allocations: 28.33 kB / 0.5339 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002835/0.2976, allocations: 79.83 kB / 0.534 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003147/0.2979, allocations: 136.7 kB / 0.5341 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001519/0.2981, allocations: 92.81 kB / 0.5342 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.309e-05/0.2982, allocations: 20.23 kB / 0.5342 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.31e-05/0.2982, allocations: 36.23 kB / 0.5343 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.83e-05/0.2983, allocations: 48.12 kB / 0.5343 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.678e-05/0.2984, allocations: 6.875 kB / 0.5343 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001647/0.2985, allocations: 106.9 kB / 0.5344 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.465e-05/0.2986, allocations: 25.36 kB / 0.5344 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.216e-05/0.2986, allocations: 38.66 kB / 0.5345 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002581/0.2989, allocations: 161.2 kB / 0.5346 GB, free: 11.36 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.2989, allocations: 0 / 0.5346 GB, free: 11.36 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.2989, allocations: 4 kB / 0.5346 GB, free: 11.35 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.302e-06/0.2989, allocations: 0 / 0.5346 GB, free: 11.35 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006005/0.2996, allocations: 430.2 kB / 0.5351 GB, free: 10.93 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.168e-05/0.2996, allocations: 16.17 kB / 0.5351 GB, free: 10.92 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.598e-05/0.2996, allocations: 14.25 kB / 0.5351 GB, free: 10.91 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002138/0.2999, allocations: 201.8 kB / 0.5353 GB, free: 10.69 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.097e-06/0.2999, allocations: 1.75 kB / 0.5353 GB, free: 10.69 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.28e-05/0.2999, allocations: 6.688 kB / 0.5353 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002696/0.3002, allocations: 93.48 kB / 0.5354 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.3002, allocations: 3.938 kB / 0.5354 GB, free: 10.6 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.069e-05/0.3002, allocations: 1.375 kB / 0.5354 GB, free: 10.6 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.3002, allocations: 1.375 kB / 0.5354 GB, free: 10.6 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003164/0.3005, allocations: 69.05 kB / 0.5354 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000417/0.301, allocations: 311.6 kB / 0.5357 GB, free: 10.24 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002379/0.3012, allocations: 76.17 kB / 0.5358 GB, free: 10.19 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001807/0.3014, allocations: 51.84 kB / 0.5359 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.989e-05/0.3014, allocations: 1.125 kB / 0.5359 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.393e-05/0.3015, allocations: 31.62 kB / 0.5359 GB, free: 10.12 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.172e-06/0.3015, allocations: 0 / 0.5359 GB, free: 10.12 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.001674/0.3032, allocations: 377.6 kB / 0.5363 GB, free: 9.922 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.853e-05/0.3032, allocations: 87.28 kB / 0.5363 GB, free: 9.82 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000157/0.3034, allocations: 150.8 kB / 0.5365 GB, free: 9.688 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.783e-05/0.3034, allocations: 26.77 kB / 0.5365 GB, free: 9.656 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.013e-05/0.3035, allocations: 99.59 kB / 0.5366 GB, free: 9.559 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.836e-05/0.3035, allocations: 35.92 kB / 0.5366 GB, free: 9.527 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.655e-05/0.3035, allocations: 20.59 kB / 0.5367 GB, free: 9.508 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.885e-05/0.3037, allocations: 325.2 kB / 0.537 GB, free: 9.184 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003066/0.304, allocations: 70.2 kB / 0.537 GB, free: 9.152 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003059/0.3043, allocations: 88.27 kB / 0.5371 GB, free: 9.102 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000579/0.3049, allocations: 149.6 kB / 0.5373 GB, free: 9.027 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.3049, allocations: 1.469 kB / 0.5373 GB, free: 9.027 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006519/0.3055, allocations: 195.3 kB / 0.5374 GB, free: 8.918 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.3056, allocations: 6.031 kB / 0.5375 GB, free: 8.918 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.3056, allocations: 3.938 kB / 0.5375 GB, free: 8.914 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.3056, allocations: 1.25 kB / 0.5375 GB, free: 8.914 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002275/0.3058, allocations: 45.8 kB / 0.5375 GB, free: 8.895 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.273e-06/0.3058, allocations: 1.312 kB / 0.5375 GB, free: 8.895 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00016/0.306, allocations: 20.31 kB / 0.5375 GB, free: 8.887 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.125e-05/0.306, allocations: 10.31 kB / 0.5375 GB, free: 8.879 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 (10): * Single equations (assignments): 10 * 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.0001095/0.3061, allocations: 120.3 kB / 0.5376 GB, free: 8.758 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.3e-05/0.3062, allocations: 12.84 kB / 0.5377 GB, free: 8.75 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006774/0.3069, allocations: 206.2 kB / 0.5379 GB, free: 8.625 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.063e-06/0.3069, allocations: 5.016 kB / 0.5379 GB, free: 8.621 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.3069, allocations: 0 / 0.5379 GB, free: 8.621 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.3069, allocations: 0 / 0.5379 GB, free: 8.621 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009163/0.3078, allocations: 498.6 kB / 0.5383 GB, free: 8.188 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.3079, allocations: 0 / 0.5383 GB, free: 8.188 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001893/0.308, allocations: 40.78 kB / 0.5384 GB, free: 8.172 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.3081, allocations: 7.922 kB / 0.5384 GB, free: 8.164 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.494e-05/0.3081, allocations: 4.938 kB / 0.5384 GB, free: 8.16 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.3081, allocations: 1.531 kB / 0.5384 GB, free: 8.16 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.3081, allocations: 0 / 0.5384 GB, free: 8.16 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006978/0.3088, allocations: 285 kB / 0.5387 GB, free: 7.953 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.805e-05/0.3088, allocations: 84.39 kB / 0.5387 GB, free: 7.855 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.854e-05/0.3089, allocations: 9.047 kB / 0.5387 GB, free: 7.848 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001924/0.3091, allocations: 20.69 kB / 0.5388 GB, free: 7.84 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.38e-05/0.3091, allocations: 16.3 kB / 0.5388 GB, free: 7.828 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.632e-06/0.3092, allocations: 2.188 kB / 0.5388 GB, free: 7.828 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.426e-05/0.3093, allocations: 121.8 kB / 0.5389 GB, free: 7.734 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3093, allocations: 0 / 0.5389 GB, free: 7.734 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000324/0.3096, allocations: 51.73 kB / 0.539 GB, free: 7.715 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 (9): * Single equations (assignments): 9 * 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.001187/0.3108, allocations: 0.4931 MB / 0.5394 GB, free: 7.453 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006852/0.3115, allocations: 161.7 kB / 0.5396 GB, free: 7.383 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.3115, allocations: 0 / 0.5396 GB, free: 7.383 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003346/0.3118, allocations: 91.34 kB / 0.5397 GB, free: 7.34 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003639/0.3122, allocations: 26.31 kB / 0.5397 GB, free: 7.328 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005012/0.3127, allocations: 227.7 kB / 0.5399 GB, free: 7.133 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002545/0.313, allocations: 0.6943 MB / 0.5406 GB, free: 6.43 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.343e-05/0.3131, allocations: 23.95 kB / 0.5406 GB, free: 6.414 MB / 398.1 MB Notification: Performance of SimCode: time 6.61e-07/0.3131, allocations: 0 / 0.5406 GB, free: 6.414 MB / 398.1 MB Notification: Performance of Templates: time 0.005465/0.3186, allocations: 2.507 MB / 0.5431 GB, free: 5.113 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test18_usertab/Test18_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches